Chess Position Analyzer

Compare the leading moves from a chess position, then play through each line on the board.

Chessboard

Queen and king ending

Choose a promotion

Stockfish 18 · Local engine

Candidate lines

Side to move
Compare castling rights

Keep the same pieces. Test the mover’s possible rights against the case where those rights are lost.

Ready to analyze the current position.

Your best move and alternatives will appear here.

Review a game (PGN)

Position input

Castling, en passant & counters
Castling rights

Set rights from the move history. With Compare both, you can test one en passant target at a time.

Examples

Same board, two answers

White can play Qg7# because the queen checks h8 and the white king protects g7. When Black moves first, the king is safe on h8 but has no legal square. That is stalemate. Change just the second FEN field from w to b to test the difference.

White king g6, white queen f7 and black king h8. White to move can mate. Black to move is stalemated.
Same piece placement. The side to move changes the result.

Compare close evaluations

Check the opponent’s first reply in each candidate. Similar scores can lead to different plans. A positive number favors White, a negative number favors Black, and mate distance is shown in moves. The depth label belongs to the complete set of lines shown.

Replay and keep a position

Select a candidate move, use Previous and Next to step through it, then choose Copy shown FEN to save the position on the board. Choose Back to position to compare another candidate from the original setup.