In music theory, the circle of fifths is a sequence encompassing all of the notes in the equally tempered chromatic scale. Starting on any note and repeatedly ascending by the musical interval of a perfect fifth, one will eventually land on the same note, after reaching all of the other notes:

The numbers on the inside of the circle also show how many sharps or flats would be in the key signature for a major scale built on that note. Thus a major scale built on A will have three sharps in its key signature. To figure the key signatures of minor keys see: relative minor/major. The circle of fifths can also be used to determine which order sharps or flats are added to key signatures. The first sharp added is F#, the next is C# and so on. The first flat added is Bb, the next Eb, and so on.

Descending by fifths, and ascending or descending by fourths also works, since motion in one direction by a fourth is equivalent to motion in the opposite direction by a fifth. For this reason the circle of fifths is also known as the circle of fourths.

Moving around the circle of fifths is a common way to modulate.

See also: enharmonic, cadence (music), sonata form