Skip to content
Aback Chess
Sponsors

What is a principal variation? Reading the engine's best line

The principal variation is the sequence of moves an engine expects to be played. Learn how to read it, what multiple lines show, and how to use it.

Engine analysis · 3 min read · 733 words · updated

A principal variation, or PV, is the sequence of moves the engine expects to be played from a position, best play by both sides. It is the evidence behind the evaluation: the score says who is better, and the principal variation shows the line that justifies it.

An evaluation on its own is an assertion. The principal variation is the argument attached to it. Learning to read one turns an engine from an oracle into a teacher.

What the line shows

The principal variation is the best sequence the engine found for both sides. It is not a prediction that the game will follow those moves, because both players have to cooperate for that to happen. It is a demonstration of the engine's reasoning.

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7
A principal variation in notation: the engine's expected continuation from the Ruy Lopez.

Each move in the line is the engine's choice for the side to move at that point. If you reach the end of the line, the engine will usually extend it, because its expectation simply continues further than the depth it reported.

Why the line matters more than the score

A score of plus two tells you the engine likes White's position. The line tells you why: which piece is coming to which square, which pawn weakness is being targeted, whether a king is about to become exposed. If you cannot see the idea in the line, you have learned nothing from the number.

Multiple lines and MultiPV

Engines can be asked for several best lines rather than one. This is called MultiPV, for multiple principal variations, and it is usually shown as a numbered list of alternatives, each with its own score.

MultiPVRows returnedUseful for
1The single best lineFastest analysis and the clearest recommendation
2 to 3The best few linesSeeing whether there is more than one good move
MoreMany alternativesStudy and opening research rather than practical play

Reading a line critically

  • Check whether the first move is actually playable for you. A line that begins with a move you would never find is not a plan.
  • Look for the moment the line stops being natural. The engine's idea often sits where a human would have played differently.
  • Compare two lines when they lead to similar scores. That usually means the position is flexible and the choice is a matter of taste, which is useful to know before agonising over it.
  • Watch the score at the end of the line. If it is drifting as depth rises, the line is provisional.

Variations in a PGN

The word variation also appears in PGN, where it means an alternative line recorded in parentheses. The idea is the same: a branch that was considered rather than played. A game record can hold a main line plus any number of variations, which is how an annotated game keeps its analysis next to the moves.

Frequently asked questions

Will a game follow the principal variation?
Rarely beyond the first move or two. The line assumes both sides play perfectly, and the moment either player deviates the engine recalculates a new principal variation for the new position.
Why does the line change when I go deeper?
Because a deeper search can find better defences or stronger continuations it had not yet seen. A line that holds up across many depths is more trustworthy than one that appears and disappears.
What does MultiPV mean in an engine setting?
It controls how many principal variations the engine reports, from one up to any number the engine supports. Raising it shows more alternatives and gives each slightly less search effort for the same total work.