chess move calculator

Chess Move Legality Calculator

Check whether a move is legal for a selected piece on a simplified board.

Use comma-separated coordinates to simulate blockers for sliding pieces.

What this chess move calculator does

This tool helps you quickly test if a specific chess move is legal according to core movement rules. It is designed for learners, coaches, and puzzle creators who want a fast way to verify a move without opening a full chess engine.

Enter a piece, starting square, target square, and board conditions. The calculator then checks movement geometry (like diagonal, straight, L-shape, or pawn direction), confirms destination constraints, and reports whether the move is legal.

How to use the calculator

1) Choose the piece

Select king, queen, rook, bishop, knight, or pawn. Each piece has unique movement rules.

2) Enter from/to squares in algebraic format

Use standard coordinates like a1, e4, or h8. The calculator validates your input and rejects invalid squares.

3) Set destination status and blockers

Tell the calculator whether the destination square is empty, occupied by an enemy piece, or occupied by a friendly piece. You can also add optional blocker squares to test rook, bishop, or queen paths.

4) Click calculate

You will receive a legal/illegal result, the movement vector, and a short explanation.

Piece movement rules applied

  • King: one square in any direction.
  • Queen: any number of squares vertically, horizontally, or diagonally (path must be clear).
  • Rook: any number of squares vertically or horizontally (path must be clear).
  • Bishop: any number of squares diagonally (path must be clear).
  • Knight: L-shape movement (2 by 1); can jump over pieces.
  • Pawn: one step forward, optional two-step from starting rank, diagonal capture only.

Important assumptions

This is a move legality calculator focused on piece movement. It does not currently evaluate advanced game-state rules such as check, checkmate, castling rights, en passant availability, pinned pieces, move history, repetition, or the 50-move rule.

In other words, this is ideal for testing movement patterns and blockers, but not for full tournament validation of a complete position.

Practical examples

Example 1: Knight jump

From g1 to f3 is legal for a knight, regardless of blockers in between.

Example 2: Bishop with blocker

From c1 to g5 is normally diagonal and legal, but if e3 is occupied, the move becomes illegal because bishops cannot jump.

Example 3: Pawn capture vs. forward move

A white pawn from e4 to e5 requires an empty destination. From e4 to f5 requires an enemy piece on f5.

Why this tool is useful for improvement

Fast legality checks save time when studying openings, building tactical exercises, or teaching beginner classes. You can test ideas quickly, verify questionable candidate moves, and reinforce pattern recognition for every piece.

The result explanation also helps players understand why a move fails, not just whether it fails. That feedback loop builds stronger board vision over time.

🔗 Related Calculators

🔗 Related Calculators