Tera Chess My training

How to Count Attackers and Defenders in Chess

Play the captures in order, check which defenders can legally take back, and count what each side loses.

A chessboard on a blue-gray tabletop shows a white rook on f1, a black knight on f6, and the black king behind it on f8.
White to move. Both sides have two pieces that reach d5. The black king on f8 changes the sequence.

To count attackers and defenders in chess, pick the square where the exchange will happen. Name the pieces that reach it, then play the captures in order. Recheck who can legally take after each move and tally the pieces that come off. Two attackers against two defenders can still win a pawn if one defender is pinned to the king.

In the example below White’s pawn and knight both reach d5. Black’s pawn and knight also reach it. Move Black’s king one square and the same second capture changes from winning a pawn to losing a knight for it. Try both versions, then see why a pinned knight can still keep an enemy king away.

How to count a capture sequence

  1. Start with one square. Name the target and the pieces that reach it. Follow a rook, bishop, or queen’s line only as far as the first blocker. Count a pawn if its diagonal capture reaches the target from its current square. Recheck the pawn’s reach when the position changes.
  2. Choose a first capture and give the opponent the turn. Start by checking the least valuable attacker that can safely take. Then look at what the opponent can use in reply. A more expensive first capture can work if it gives check or removes a defender, so calculate it when it has a concrete purpose.
  3. Update the board after every capture. Remove the captured piece and look again along the files and diagonals. Check whether moving a defender would expose its own king. A piece that looked ready to recapture may be pinned, and a piece behind the exchange can gain a line when a blocker moves.
  4. Decide when to stop. Compare which pieces have been removed. If the next capture would leave one side making an unfavourable exchange, that side can choose a different move. Check any useful move elsewhere before counting the rest as forced.

Counting is a way to decide whether you want to start a trade. A material tally after the last capture gives a clearer answer than the number of arrows pointing at a square. Chess.com’s Capturing Pieces lesson introduces piece values and counting. The boards here keep the same attackers and change one defender’s legal move. Chess.com’s Capturing Pieces lesson

Play the captures one decision at a time

White moves first on every board. Start with Pinned knight and try a pawn capture on d5. After you see …exd5, switch to Pinned · second capture to decide whether White should take again. Repeat the same moves using the free-knight views. Pay attention to Black’s king, because the other pieces start on the same squares.

Count two attackers and one legal defender

White’s rook on f1 looks up the open f-file toward the black knight on f6. Black’s king is on f8 behind the knight.
The f6-knight is the only piece between the rook and Black’s king.

White’s c4-pawn and c3-knight both reach d5. Black’s e6-pawn and f6-knight reach it too. Now trace White’s rook from f1 toward the black king on f8. The knight on f6 is the only piece in the way. If it took on d5, the rook would give check along the f-file. That makes the recapture illegal.

Start with 1.cxd5. If Black replies 1…exd5, White’s c-pawn and Black’s original d-pawn are off the board. The pawn now on d5 started on e6. White can play 2.Nxd5. At this point White has traded its c-pawn for two black pawns. The black knight is still pinned, so the captures on d5 stop with White a pawn up.

Try starting with 1.Nxd5 instead. After 1…exd5 2.cxd5, White has taken those same two pawns and lost a knight in the process. The pawn that started on c4 is still on the board. When you compare the material, White has given a knight for two pawns. The order matters even when White gets the last capture in each line.

What if Black chooses a different reply?

After 1.cxd5, Black can also play 1…Kf7. The rook still pins the knight along the f-file, but Black’s king is one square closer to e6. After 2.dxe6+ Kxe6, White still wins a pawn and the king is now on e6. The knight on f6 has become free to move. Stockfish preferred this king move for Black over the immediate pawn recapture. Look for moves like Kf7 before assuming the opponent will capture back.

Also check the pinning piece’s own captures. 1.Rxf6+ takes the knight with check, but Black’s g7-pawn can take back with 1…gxf6. That gives up a rook for a knight. Pinning a piece can make one of its defenses unavailable while another piece still protects it where it stands. Practise identifying a pin

When the exchange moves to another square

Suppose you started with 1.cxd5 exd5 2.Nxd5 and Black now plays 2…Kf7. White can continue 3.Nxf6 gxf6, trading knights. Your knight on f6 briefly blocks your own rook, which is why 3.Nxf6 comes without check. Once Black’s pawn takes on f6, the rook can see it again. Check the new defender before you take.

Black’s king is now on f7 and guards that pawn. 4.Rxf6+ Kxf6 gives away a rook for a pawn. White was still a pawn up before grabbing on f6. The detail to carry into your own games is that a defender can matter on a new square even when it had no legal capture on the original one. Start a fresh count when the trade moves from d5 to f6.

Move the king and count the final recapture again

After cxd5 exd5 in the second position, White’s knight on c3 can take d5 and Black’s knight on f6 can legally recapture because Black’s king is on g8.
With the king on g8, the black knight is free to take back on d5.

On the second board Black’s king has moved from f8 to g8. White can still play 1.cxd5 exd5 and exchange a pawn. The decision comes on move two. After 2.Nxd5?, the black knight can now play 2…Nxd5. No white piece can take that knight back. White has lost a pawn and a knight, while Black has lost two pawns. The second capture cost a knight for a pawn.

Pause after the first exchange and take another look. 2.Rf4 is one way to improve the rook without giving up the knight. You can leave Black’s pawn on d5 and continue playing. The original pawn capture led to an even material exchange, and the loss came from assuming the second capture was safe.

Black can also start by using the knight. In 1.cxd5 Nxd5 2.Nxd5 exd5, both sides lose one pawn and one knight. An equal count can give several possible sequences. Count the opponent’s strongest choice and decide whether continuing serves you.

Add a rook only after checking Black’s next move

On the free-knight board, 2.Rd1 puts a rook behind the target on d5. If White can get an uninterrupted turn to take with the knight, the rook can now take back on d5. But Black gets a turn after Rd1. After 2…Rd8, the black rook joins the same file from the other end.

Try 3.Nxd5 Nxd5 4.Rxd5 Rxd5. The knights trade, and Black’s rook gets the last capture. White has given up a rook for a pawn on top of the knight exchange. The rook on d8 was out of the count one move earlier. Whenever a piece joins an exchange, give the opponent a turn and check whether their count changes too. Practise finding the stronger reply

Write down what each side lost

Use the usual values of one point for a pawn and three for a knight to compare these lines. Both positions start with equal material.

Pinned knight, pawn first
White loses the c-pawn. Black loses the d- and e-pawns. After 2.Nxd5, White is a pawn ahead.
Free knight, pawn first
After 1…exd5, both sides have lost one pawn. After 2.Nxd5 Nxd5, White has lost a pawn and a knight for two pawns, a two-point material loss.
Pinned knight, knight first
White loses the knight and keeps its c-pawn. Black loses the same two pawns. White has traded three points for two despite taking last.

Update the tally at the point where you could stop. Seeing that move two is bad on the free-knight board is compatible with choosing the pawn capture on move one. The points compare material in each line. Use piece activity and king safety to judge the position that remains.

Can a king capture a piece guarded by a pinned knight?

White’s king on d4 and bishop on c4 stand beside the d5-pawn. Black’s pinned knight on f6 still attacks d5 for the purpose of king safety.
The bishop can take on d5. The king has to stay off a square attacked by the knight.

In the final position White’s king is on d4 and its bishop is on c4. The black knight on f6 is still pinned to the king on f8. The move Bxd5 is legal, and the knight cannot take the bishop because that would expose the black king. Try Kxd5 from the same board. The king would move onto a square attacked by the knight, so the move is illegal even though the knight is pinned.

FIDE’s Laws of Chess treat a piece as attacking a square even when moving there would expose its own king. Separate two questions. Can the defender legally recapture a bishop? Can your king enter the defended square? Here the first answer is no and the second is also no, for different reasons. FIDE Laws of Chess, Articles 3.1.3 and 3.9

After 1.Bxd5 Rb8, Black’s rook attacks the b2-pawn. White can play 2.b3, putting the pawn on a square that the bishop now defends. The pinned knight mattered for the capture. The bishop’s new diagonal matters for the next move. Keep the two decisions separate when you evaluate the result.

Try moving the bishop to b3 first. After 1.Bb3 Rb8 2.Bxd5 Rxb2, the bishop eventually gets the same pawn on d5, but the rook now takes the pawn on b2. If White takes on d5 right away, the bishop can protect b3 before Black gets another turn. The order changes what White can keep.

Moving the king to c5 instead is legal, but the pawn on d5 can then take your bishop with 1…dxc4. After 2.Kxc4, White has traded a bishop for a pawn. When a king can safely approach the exchange, compare that approach with a piece that can make the capture now.

Check which direction the pinned piece needs to move

A knight pinned to the king by a rook cannot stay on the rook’s file when it jumps. A pinned rook or bishop may be able to move along the pin line while still shielding its king. In a relative pin, moving the piece is legal and can expose something valuable such as a queen. Before removing a defender from your count, ask whether the capture exposes a king, leaves the blocking line covered, or gives the opponent a choice to take material.

Counting tells you what a capture costs. Use the same attention to replies when you consider a check, a direct threat, or a move that improves a piece. Play through the checks, captures, and threats routine

Practise the full count in a game you finished

Find a move where you remember seeing a trade on one square. Write down the pieces that reached it, then play the first capture and update the list. Count a sequence that starts with each plausible attacker. Circle the first turn on which a pin, check, or interference changes who can capture. Finally, write what each side lost. If you stopped because the next trade would cost you material, that is a useful result to record.

For this lesson, cover the king on f8 or g8 and name the two visible defenders on d5. Uncover it, then say which one can recapture after the pawn trade. Next try the king board and name which white piece can take d5. The answers tell you whether you are counting legal recaptures or checking where your king can move.

Download the capture-count practice cardReview your own completed game

How the positions and cover were checked

Python-chess verified the attacker lists, the legality of every replay, the pin after the second capture, and the king’s restricted destination. Stockfish 19 checked the worked exchanges and alternatives up to depth 20. The cover renders all 16 pieces from the first position on a 3D board resting on a generated tabletop surface.