The Lucena position
- Input
- 1K1k4/1P6/8/8/8/8/r7/2R5 w - - 0 1
- Expected output
- 5 ≤ 7
That is 5 pieces, within the tablebase limit (7). Rook and pawn against rook, with the pawn's king on the eighth rank: one of the most studied endings in chess.
Chess Analysis Board with Stockfish
analyze fen position chess
FEN is the text that describes a chess position in a single line. Paste one in the Game tab, or open a link with ?fen=, and the board shows the position, lets you play from it and turns on Stockfish. This page opens on the Lucena position, the classic rook-and-pawn-against-rook ending, and on the Explorer tab, where the tablebase gives the exact verdict.
That is 5 pieces, within the tablebase limit (7). Rook and pawn against rook, with the pawn's king on the eighth rank: one of the most studied endings in chess.
That is 32 pieces. With more than 7, the Explorer tab shows only masters games, not the tablebase.
The FEN goes encoded in the URL (the slash becomes %2F and the space becomes %20). The FEN editor and the diagram tool build these links for you.
No. Stockfish runs right in the browser, inside the page, and the analysis does not depend on a login or a daily limit of games. The first time you turn the engine on, the browser downloads about 1.8 MB; after that the file stays cached.
The most common reasons are ranks that do not add up to 8 squares, a missing king, a pawn on the 1st or 8th rank and the side not to move being in check (impossible in a real position). Also check that there are 8 ranks separated by slashes.
Some programs record the en passant square after any double pawn push (such as e3), others only when a legal en passant capture exists. The board uses the second style, that of chess.js. Both forms describe the same position.
It covers positions with no castling rights left, which is the case for almost all endgames. If the server does not have the position, the tab says so and you carry on with the engine. Positions with 8 pieces or more are never queried.
Use the arrow keys to move between squares. Enter or space selects a piece, then the destination square. Escape cancels.
The opening appears once you play the first moves.
Explorer and tablebase data: Lichess.
Games, comments and the Stockfish analysis stay in your browser. Only the cloud evaluation and the Explorer query Lichess (with the current position), and both can be turned off in Settings.