How to Calculate Variations in Chess
Follow the opponent’s strongest reply, keep the branches separate, and compare the boards you actually reach.
To calculate a chess variation, imagine your move, the strongest reply you can find, and your answer. Keep going while a check, capture, or immediate threat could change your judgment. Then compare the positions you would reach after your main candidates. A line that works against one reply still needs to work against the other replies that matter.
In the example below, a knight check looks like a fork. It does well against one natural capture and loses a piece against another. A quiet retreat holds up against stronger play, but White’s next move depends on where Black creates a threat. You can play the check from Black’s side and practise both continuations of the retreat from White’s side.
How to calculate one branch at a time
- Start from a fixed board. Note whose turn it is and what changed on the previous move. Make a small shortlist. Give each move a job such as removing an attacker, saving a pawn, or giving check with a second target. Build a shortlist of candidate moves
- Look for the strongest reply. After your imagined move, switch sides. Check whether the opponent can capture the checking piece, give a check of their own, or attack something more valuable. Include a quiet defense if it solves the problem.
- Picture the position after both moves. Name the squares that became empty and the pieces taken off the board. When you change branches, return to the last shared position. Pieces moved in one line should stay on their original squares in another.
- Stop at a result you can explain. Finish unsettled captures and account for any forcing reply. Then compare material, king safety, and the next threat. Use the worst credible reply to judge each candidate.
Checking moves are often quick to calculate because an opponent in check has fewer legal replies. Use that to check the fork first. A short line can be all you need to discard it. Grandmaster Bryan Smith’s lesson explains why forcing moves are a useful starting point for calculation. Chess.com’s lesson on forcing moves
Play the example and test both sides
White is on move 13 with an extra pawn. The black pawn on d5 attacks White’s knight on e4, and Black’s bishop on h4 reaches f2 along the diagonal. Try Nf6+ and Ng3. Before revealing a replay, name the square that the opponent’s next move threatens. The board accepts every legal move, with detailed feedback on the featured branches.
The practice board couldn’t load. Use the diagrams and written lines below.
Where should the attacked knight go?
Select a piece and destination or drag to move. With a keyboard, use the arrow keys and Enter.
Test the fork against all five replies

13.Nf6+ is the only check in the starting position. It attacks the king on g8 and the knight on d7. If you picture only 13…gxf6 14.Nxh4, White trades a knight for a bishop and removes the pawn in front of Black’s king. That looks promising. Write down Black’s other ways to get out of check before you judge the move.
Black has five legal replies. The bishop, queen, knight, or g-pawn can take on f6, and the king can move to h8. Choose one in the exercise. 13…Bxf6! wins a piece. Look for the bishop after it captures. It has left h4, the square White’s other knight could have taken. There is no immediate recapture on f6, and the fork has disappeared.
See how the choice of recapture changes the result
After 13…Nxf6, White can take the bishop with 14.Nxh4. After 13…Qxf6, the bishop is still on h4, but the queen now guards it along f6–g5–h4. If White takes there, Black’s queen can take the second knight. After 13…Kh8, White has time to play 14.Nxd7 Bxd7 15.Qxd5 and take another pawn. The branch that decides whether White should give check is the strongest reply, …Bxf6.
When you practise, start at the position after the check and try to refute it as Black. It is easier to see replies when your job is to stop White’s plan. Bring that same question back to your own calculation before you commit the checker to a square.
Check the capture on h4 as a separate branch
13.Nxh4 looks like another way to solve the problem. The knight from f3 can take the bishop on h4. If you expect Black to recapture immediately with the queen, add a second reply. After 13…dxe4, Black can take the other knight first. Both sides have traded a minor piece, and White’s remaining knight on h4 is still attacked by the queen on d8. The diagonal runs through e7, f6, and g5.
White can defend with 14.g3. The pawn from g2 now guards h4. Compare this position with the one after Ng3. White can save the knight in the capture line, but Black already has a pawn on e4 and White needed a pawn move to deal with the queen. The checked search preferred keeping that extra pressure off the board. Notice which knight moved and which one Black captured. Counting the pieces before that second capture would give you the wrong result.
Compare two strong replies to Ng3
13.Ng3 saves White’s knight from the d5-pawn and puts it in front of the bishop on h4. The knight is defended by the f2- and h2-pawns. White can also use moves such as Nc3 or Nd6, which the engine found sound. We’ll use Ng3 to follow two different ways Black can challenge the position.
Branch A · The bishop moves to f6

After 13…Bf6, follow the bishop from f6 to a1. White’s rook sits at the far end. There is no pawn on b2 to stop the diagonal because it advanced to b4. Play 14.Nd4. The knight from f3 blocks the line, is defended by the e3-pawn and d1-queen, and attacks the bishop on e6.
Check what happens if Black simply takes your blocker. After 14…Bxd4, White can recapture with 15.Qxd4 or 15.exd4. White would exchange a knight for a bishop and still have an extra pawn. Moving the rook with 14.Rc1 is another legal way to meet the direct threat. The checked search preferred the knight move because it also improves White’s central control.
If you play the pawn-saving move 14.a3? here, Black can first give 14…Bc3+. After 15.Nd2 Bxa1 16.Qxa1, White has traded a rook for a bishop. To avoid missing that intermediate check, treat a bishop’s open diagonal as a line you must calculate through, even if you have already spotted a direct capture on its last square.
Branch B · The a-pawn advances instead

After 13…a5, play 14.a3. If Black takes …axb4, White’s a-pawn can take back. That keeps a pawn on b4 to protect c5. In this branch the bishop remains on h4 for now, so nothing is attacking the rook along the diagonal to a1.
Try the other branch’s move, 14.Nd4, before revealing the line. Black can play 14…axb4. White’s a-pawn is still on a2 and cannot take back. After 15.O-O Nxc5, the knight has taken the pawn that b4 used to defend. White has other ways to continue, but the search found this move order gives up the advantage compared with 14.a3.
Recognize when two branches reach the same board
Replay 13.Ng3 Bf6 14.Nd4 a5 15.a3. Then start over and play 13.Ng3 a5 14.a3 Bf6 15.Nd4. You reach the same piece placement, with Black to move and the same castling rights. This is a transposition. You can use the earlier calculation once you have checked the board and the turn. That saves time when two move orders reach the same decision.
Before they converge, the move order matters. When the bishop comes first, block the diagonal. When the pawn comes first, protect b4. A useful way to keep the branches separate is to name the threatened square before calculating your next move. In this example those squares are a1 and b4.
A third reply to check if you have more time
Black can also accept the trade of bishop for knight with 13…Bxg3. Compare 14.hxg3 with 14.fxg3. Both recapture the bishop. Taking with the h-pawn leaves f2 in place and gives the rook on h1 a clear file up to the black pawn on h6. The search preferred that recapture.
In one line after 14.hxg3 a5 15.a3 Qf6, the queen replaces the bishop as the piece aiming at a1. 16.Nd4 can block the same diagonal. On your next pass through the exercise, predict that block without moving the pieces. The attacker’s name changed from bishop to queen. The threatened square and the blocking square stayed the same.
Know when you can stop calculating
You can stop the fork line once you see …Bxf6 and confirm White cannot win the piece back. You can stop the two retreat branches once you have answered both threats and checked there is no immediate shot on your king or rook. The replay continues …g6 and O-O to show one way White can get the king to safety. Strong players can keep calculating from there, but you already have enough information to compare the two first moves.
A useful stopping question is “What would make this judgment wrong on the next turn?” After the bishop retreats, it might be a check from c3. After the pawn takes on b4, it might be a second capture on c5. If you cannot name the piece that can make the next check or capture, rebuild the branch rather than spending the same time adding moves to the end of it. Chess.com’s guide to improving calculation
Use this position to practise holding a board in your head
Keep the board on White’s first move. Say Ng3, Bf6, Nd4 without touching the pieces. Name the new squares of both white knights and the black bishop. The knights are on g3 and d4, the bishop is on f6, and it is Black’s turn. Now begin again with Ng3, a5, a3. The white knight from f3 has stayed on f3 and the bishop has stayed on h4. If you imagine either piece on its square from the first branch, go back to the common board after Ng3 and rebuild just the last two moves.
If both candidates hold up against strong replies, play the comparison of two good moves to record which resulting position you would rather play.
If you keep assuming a capture forces the recapture, try the opponent’s best reply exercise. Play from the defending side and find the check that comes first.
Practise the method on a completed game
Pick a decision where two responses looked plausible. Hide the analysis and write down your first move, the response you expected, and the response you should have feared. Replay each line from the same position. Before opening the engine, record the material balance and the first threat that is still on the board. If one of these differs between branches, that is a good place to spend another minute.
A Lichess Study records branches and comments in the same move tree if you want to save the whole exercise. The Tera Chess analysis board lets you load the practice card’s starting FEN, play the alternative replies, and check them with Stockfish. Use your first notes to see whether you missed a candidate, picked a weak reply for your opponent, or stopped the line too early. Lichess Study guide
Download the calculation practice cardReview a decision from your own game
How the moves and cover were checked
The position was constructed from legal moves for this guide. Stockfish 19 searched the featured first moves to depth 22 and compared the replies to Ng3 to depth 21. The two exercise replies ranked first and second in that search. The replays illustrate those choices, and every move was tested for legality. The cover uses all 27 pieces from the exact starting board on a generated oak tabletop.