In music theory, the circle of fifths (or circle of fourths) shows the relationships among the twelve tones of the chromatic scale, their corresponding key signatures, and the associated major and minor keys. More specifically, it is a geometrical representation of relationships among the 12 pitch classes of the chromatic scale in pitch class space. Musicians and composers use the circle of fifths to understand and describe those relationships.
At the top of the circle, the key of C has no sharps or flats. Starting from there and going clockwise by ascending fifths, the key of G has one sharp, the key of D has 2 sharps, and so on. Similarly, going counterclockwise from the top by descending fifths, the key of F has one flat, the key of B has 2 flats, and so on. At the bottom of the circle, the sharp and flat keys overlap, showing pairs of enharmonic key signatures.
Starting at any pitch, ascending by the interval of an equal tempered perfect fifth, one passes all twelve tones, to return to the beginning pitch. (Ascending by justly tuned perfect fifths fails to close the circle by a small amount, the Pythagorean comma.) Reversing the direction, playing tones separated by a perfect fourth, gives the same result. (To the ear, the sequence of fourths gives an impression of settling, or resolution. (see cadence))
The circle is commonly used to represent the relations between diatonic scales. Here, the letters on the circle are taken to represent the major scale with that note as tonic. The numbers on the inside of the circle show how many sharps or flats the key signature for this scale would have. Thus a major scale built on A has three sharps in its key signature. The major scale built on F has one flat.
For minor scales, rotate the letters counter-clockwise by 3, so that e.g. A minor has 0 sharps or flats and E minor has 1 sharp. (See relative minor/major for details.)
In Western tonal music, one also finds chord progressions between chords whose roots are related by perfect fifth. For instance, root progressions such as D-G-C are common. For this reason, the circle of fifths can often be used to represent "harmonic distance" between chords.
According to theorists including Goldman, harmonic function (the use, role, and relation of chords in harmony), including, "functional succession," may be, "explained by the circle of fifths (in which, therefore, scale degree II is closer to the dominant than scale degree IV),. In this view the tonic is considered the end of the line towards which a chord progression derived from the circle of fifths progresses.
According to Goldman's Harmony in Western Music, "the IV chord is actually, in the simplest mechanisms of diatonic relationships, at the greatest distance from I. In terms of the [descending] circle of fifths, it leads away from I, rather than toward it." Thus the progression I-ii-V-I would feel more final or resolved than I-IV-I (a plagal cadence as opposed to authentic cadence) or even I-IV-V-I. Goldman , as well as Nattiez, also argue that, "the chord on the fourth degree appears long before the chord on II, and the subsequent final I, in the progression I-IV-viio-iii-vi-ii-V-I," and is farther from the tonic there as well.
Goldman argues that, "historically the use of the IV chord in harmonic design, and especially in cadences, exhibits some curious features. By and large, one can say that the use of IV in final cadences becomes more common in the nineteenth century than it was in the eighteenth, but that it may also be understood as a substitute for the ii chord when it proceeds V. It may also be quite logically construed as an incomplete ii7 chord (lacking root)." The delayed acceptance of the IV-I in final cadences is explained aesthetically by its lack of closure, caused by its position in the circle of fifths. The earlier use of IV-V-I is explained by proposing a relation between IV and ii, allowing IV to substitute for or serve as ii. However, Nattiez calls this latter argument, "a narrow escape: only the theory of a ii chord without a root allows Goldman to maintain that the circle of fifths is completely valid from Bach to Wagner," or the entire common practice period.
A simple way to hear the relationship between these notes is by playing them on a piano keyboard. If you traverse the circle of fifths backwards, the notes will feel as though they fall into each other. This aural relationship is what the mathematics describes.
Perfect fifths may be justly tuned or tempered. Two notes whose frequencies differ by a ratio of 3:2 make the interval known as a justly tuned perfect fifth. Cascading twelve such fifths does not return to the original pitch class after going round the circle, so the 3:2 ratio may be slightly detuned, or tempered. Temperament allows perfect fifths to cycle, and allows pieces to be transposed, or played in any key on a piano or other fixed-pitch instrument without distorting their harmony. The primary tuning system used for Western (especially keyboard and fretted) instruments today is called twelve-tone equal temperament.
The earliest known description of the circle of fifths is in Nikolay Diletsky's 1679 composition treatise, Grammatika musikiyskago peniya (A Grammar of Music[al Singing]). Johann David Heinichen independently described it in his 1711 treatise, Neu erfundene und gründliche Anweisung.
The circle progression is commonly a circle through the diatonic chords by fifths, including one diminished chord and one progression by diminished fifth:
However, the twelve equal-tempered pitch classes can be represented by the cyclic group of order twelve, or equivalently, the residue classes modulo twelve, . The group has four generators, which can be identified with the ascending and descending semitones and the ascending and descending perfect fifths. The semitonal generator gives rise to the chromatic circle while the perfect fifth gives rise to the circle of fifths.
The circle of fifths, or fourths, may be mapped from the chromatic scale by multiplication, and vice versa. To map between the circle of fifths and the chromatic scale (in integer notation) multiply by 7 (M7), and for the circle of fourths multiply by 5 (M5).
Here is a demonstration of this procedure. Start off with an ordered 12-tuple (tone row) of integers
After C comes the key of G (following the pattern of being a fifth higher, and, coincidentally, enharmonically equivalent to the key of A). The “8th sharp” is placed on the F, to make it F. The key of D, with 9 sharps, has another sharp placed on the C, making it C. The same for key signatures with flats is true; The key of E (four sharps) is equivalent to the key of F (again, one fifth below the key of C, following the pattern of flat key signatures. The double-flat is placed on the B, making it B.)