Chess Calculator

See the best move and who is ahead.

Chessboard

Starting position

Choose either outcome or tap the white queen.

Choose a promotion

Stockfish 18 · Local engine

Find your next move

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

How to calculate your next chess move

Play moves from the starting position or choose Edit board to place pieces. Select Find best move when the board is ready. Pasting a valid FEN in the top field loads the board and starts analysis. Choose Compare both if the turn is unclear.

Read the score and candidate lines

The result describes the recommended piece, its starting square and its destination. The evaluation tells you who is ahead. Positive scores favor White and negative scores favor Black. Tap any move in a candidate line to jump directly to that point. To continue from the current position, play your own move or choose the recommended one.

Review a full game

Open PGN to import a game. Click a move or variation in the game list while the same board and engine update. A move you play can add a variation to the open game.

Compare castling rights in your own position

With one side selected, open Compare castling rights to test the available rights and the case where that side has lost them. The comparison shows which castles are legal immediately and searches the resulting position for each case. Check the game’s move history to see which case applies.

Try a position with two possible answers

Open Examples to see the queen move or inspect Black’s blocked escape squares. With White to move, Qg7# is one of four immediate mates. With Black to move, the same layout is stalemate. The Castling rights example shows how move history can change the legal options on an identical board.

Use this complete FEN for the White-to-move example.

7k/5Q2/6K1/8/8/8/8/8 w - - 0 1