Skip to main content

Getting Claude to Think Step by Step

How to prompt step-by-step reasoning (chain of thought) to improve accuracy on hard problems — how to ask, how to separate reasoning from the answer, and when to skip it.

🌐 This article was machine-translated and may contain inaccuracies. Read the Korean original if in doubt.

On complex problems — arithmetic, logic, or multi-step analysis — accuracy improves when you let Claude work through the intermediate steps instead of jumping straight to an answer. Asking Claude to "think step by step" like this is commonly called chain of thought.

🟢 Current lineup (November 2026): Claude Opus 5.5 / Claude Sonnet 5.5 / Claude Haiku 5.5 (higher tier: Claude Fable 5.1). · model notice · Fable subscription
🔵 Current lineup (November 2026): Claude Opus 5.5 / Claude Sonnet 5.5 / Claude Haiku 5.5 (higher tier: Claude Fable 5.1). Parts of this article may still describe an earlier model.

Fable 5 and 5.1 subscription (updated November 1, 2026): Claude Fable 5.1, released September 1, 2026, is the current Fable model and Fable 5 is now legacy. Plan terms are the same for both — Max, Ultra, and Team Premium plans include Fable at up to 50% of the weekly usage limit; Pro and Team Standard use usage credits ($10/M input, $50/M output tokens). The one-time $100 credit applied only to the Fable 5 transition and is not offered for 5.1. Some coding and debugging requests may be answered by an Opus model due to a security classifier (both models). See the Fable 5.1 guide and the Fable 5 availability guide for details.

⚡ TL;DR
  • For complex problems, having Claude work step by step raises accuracy.
  • The simplest way is "think step by step."
  • You can separate the reasoning from the final answer.
  • For simple questions, it's better to skip it.
Working through steps makes answers more accurate Answer directly Q A Skips the steps Step by step Q 1 2 3 A Reasons, then answers

The simplest approach

Just adding "work through it carefully, step by step" or "write out your reasoning first, then give the answer" at the end of your prompt already helps. Laying out the reasoning before the answer lets Claude catch things it might otherwise have skipped.

Spell out the steps yourself

If you have a specific order of reasoning in mind, telling Claude those steps directly is more reliable. For example, set the sequence to follow:

Solve it in this order.
1) Restate the conditions given in the problem
2) Do the needed calculations or comparisons step by step
3) On the last line, restate only the final answer

Separate the reasoning from the answer

Sometimes you want to see the reasoning but pull out only the final result. Splitting it into sections with XML tags keeps this clean.

Put your reasoning inside <thinking>,
and put only the final answer inside <answer>.

This separates the process from the result, so you can grab just the answer when you need it. If you want that answer in a particular output format, specify the format inside the answer section.

When to use it, and when to skip it

Step-by-step thinking pays off most on problems that need reasoning (math, logic puzzles, multi-step analysis, comparing long materials). For simple factual questions or short transformations it is unnecessary and mostly just makes the answer longer.

Step by step: when to use it Good for · math / calculation · logic puzzles · multi-step analysis · comparing long material Skip it · simple factual Qs · short transformations

One thing to remember: making Claude write out a process does not guarantee the reasoning is correct. For important calculations or decisions, check the steps yourself. Recent models (such as Claude Opus 5) can also reason more deeply on their own when needed, but prompting for the process is still useful on any model when you want to see the reasoning and control the format.

For more, see the official Anthropic documentation.

Frequently asked questions

What is step-by-step thinking?

Having Claude go through intermediate steps instead of jumping to the answer — just ask it to "think step by step."

When should I use it?

It helps accuracy on complex problems: calculations, logical reasoning, and multi-step analysis.

When should I skip it?

For simple factual questions or short answers, the extra steps just add length — skip it then.

Was this helpful?

Keep reading