How to Calculate Chess Variations Against the Best Defense
Compare two legal replies to the same check, identify the move that refutes the attack, and replay the stronger candidate from the same position.
In brief
Calculate a variation as a sequence of decisions for both players. After each candidate, look for the reply that most disrupts your plan. One legal defense can refute a line even if every other reply lets you win.
Would you give check on h7?
Picture 34.Qh7+. List every legal reply for Black. Can White finish the attack after each one? Then look for a first move that leaves the queen guarding h7.
Reveal solution
Black can move to f8 or capture on h7. After 34...Kf8, 35.Qh8# works. After 34...Kxh7, White has lost an undefended queen. Play 34.Re8# from the starting position. The queen on g6 still covers h7, and the rook cuts off f8 and h8.
The analysis board opens with Stockfish enabled, so it will show the answer.

When your attack only works against one reply, look for the move that spoils it. Replay three short lines from one composed position.
- Picture your candidate on the board. If it gives check, consider whether the opponent can take the checking piece, move the king, or block the line. If it gives no check, look for captures, counterchecks and threats that are stronger than yours.
- Test the reply that makes your idea hardest to play. Continue until you can explain the outcome, such as mate, a lost piece, or an even trade.
- Return to the original position when a defense works. Compare another first move and run the same check on that candidate.
- Chessonomy composed the position and checked every legal reply to 34.Qh7+ with chess.js. The replay shows both replies and the alternative first move from the same starting board.
Start with the replies to your candidate
- Picture your candidate on the board. If it gives check, consider whether the opponent can take the checking piece, move the king, or block the line. If it gives no check, look for captures, counterchecks and threats that are stronger than yours.
- Test the reply that makes your idea hardest to play. Continue until you can explain the outcome, such as mate, a lost piece, or an even trade.
- Return to the original position when a defense works. Compare another first move and run the same check on that candidate.
Compare the two replies to Qh7+
A line ending in mate can make the first move look convincing. Here the queen mate after a king retreat is real, but it depends on Black leaving the queen alone. From g8 the king can also step onto h7 and capture it. The rook on e1 has no line to h7.
| White’s candidate | Black’s reply | What the line proves |
|---|---|---|
| 34.Qh7+ | 34...Kf8 | 35.Qh8# is mate. This is the payoff if the king retreats. |
| 34.Qh7+ | 34...Kxh7 | The king takes the undefended queen. The attack fails against this reply. |
| 34.Re8# | No legal reply | The queen stays on g6 and covers h7. The rook closes both escape squares on rank eight. |
Use the same check in your own games
After a game, open Key moments in the report and choose Try a different move. Name the reply you actually expected, play it, then return to the decision and try another response. Look for a capture, countercheck, or quiet move that makes you give up the plan.
Before moving on from a tactic, explain why the defender’s best reply fails. If a legal reply still escapes, keep calculating or choose a new candidate. When practicing mate in three, group similar defensive moves only after you’ve checked that the same continuation beats each one.
Continue with a related guide
- How to Find the Best Move in Chess: A Practical Method
Finding the best move is not guessing. Use forcing moves, opponent threats, candidate moves, and engine verification to choose a move you understand.
- How to Stop Blundering in Chess
Before you capture a pawn, check what your piece stops defending. Work through an example where taking a pawn allows mate in one.
- Mate in 3 Puzzles: Solve a Position, Then Learn the Method
Mate in 3 puzzles teach forcing-line calculation. Use examples, escape-square maps, and defensive checks to find the first move that controls every reply.
Chessonomy builds browser-based chess analysis and training tools and publishes worked positions for readers to try.
Questions Players Ask
How many moves ahead should I calculate?
Go far enough to judge the result of the forcing line. Here one Black reply settles the first candidate. Positions with several strong defenses may need a longer calculation.
What is a refutation in chess?
A refutation is a reply or line that defeats the idea you were relying on. In this example, Kxh7 refutes Qh7+ by removing the checking piece.
