Skip to content
FastTool

Tuning & Temperament Explorer

Compare equal temperament, just intonation and historical tunings by ear, count the beats and download tuning files.

Runs in your browser. Nothing is uploaded.

Tunings to compare

Major third C4–E4: in A it beats 10.38 times a second, in B it is beatless.

Reference pitch: A4 in Hz

A4 always sits exactly at this pitch. Period-instrument groups often tune Baroque music to 415 Hz.

Listen and compare

60 %
C4 major chord in tuning A and tuning B, with C4 at 261.63 Hz in both
Intervalsizes in centsA Equal temperamentB Just intonation in C
Major thirdC4–E4pure: 386.31400.0013.69 cents wide10.38 beats/s386.31pureno beats
Perfect fifthC4–G4pure: 701.96700.001.96 cents narrow0.89 beats/s701.96pureno beats
Minor thirdE4–G4pure: 315.64300.0015.64 cents narrow17.79 beats/s315.64pureno beats
Notes (Hz)C4, E4, G4261.63, 329.63, 392.00261.63, 327.03, 392.44

The root keeps its equal-tempered pitch in both tunings, so you hear only the other notes move. Beats/s means beats per second. The keyboard and the tables below keep A4 at the reference pitch instead.

Play the keyboard

Tuning for the keyboard

Tap keys to hold them, then switch between A and B to hear the beats change. Turn off Hold notes to play only while pressed. When a key has focus, your computer keys play too: Z to M for C3 to B3, Q to U for C4 to B4. Escape stops all sound.

Inside the tuning

Tuning to show
Circle of fifths for Just intonation in CFifths: 9 pure; 2 narrowed by 21.51 cents (D–A, B♭–F); 1 widened by 19.55 cents (F♯–C♯). Major thirds: 0.00 to +41.06 cents from pure, 8 of them pure. Wolf: D–A at 680.45 cents, F♯–C♯ at 721.51 cents, B♭–F at 680.45 cents. Each note is colored by its major third; numbers outside the circle show how far each fifth is from pure, in cents.00−21.5wolf000+19.6wolf000−21.5wolf0C0.0G0.0D0.0A+41.1E+41.1B+41.1F♯+41.1C♯0.0G♯0.0E♭0.0B♭0.0F0.0
Bars point in for narrow fifths and out for wide ones; the numbers outside are cents from pure. Each note’s color and inner number show its major third.

Just intonation in C. 5-limit just intonation: each note is a small whole-number ratio from the key note, such as 5/4 or 3/2. The main chords of that key are beatless.

  • Fifths: 9 pure; 2 narrowed by 21.51 cents (D–A, B♭–F); 1 widened by 19.55 cents (F♯–C♯).
  • Major thirds: 0.00 to +41.06 cents from pure, 8 of them pure.
  • Wolf: D–A at 680.45 cents, F♯–C♯ at 721.51 cents, B♭–F at 680.45 cents.

Major keys

Minor keys

Each key shows its third and fifth in cents from pure. Select a key to hear its chord.

  • Pure or within 2 cents
  • 2 to 7 cents from pure
  • 7 to 12 cents from pure
  • 12 to 17 cents (equal temperament is 13.7 and 15.6)
  • 17 to 24 cents (Pythagorean thirds are 21.5)
  • More than 24 cents

Want to change it? Make an editable copy, then drag the fifths on the circle or type the cents.

Offsets from equal with
Just intonation in C, A4 = 440 Hz, octave 4
NoteCents from COffset from equal (cents)Frequency (Hz)Ratio from C
C40.00+15.64264.001/1
C♯4111.73+27.37281.6016/15
D4203.91+19.55297.009/8
E♭4315.64+31.28316.806/5
E4386.31+1.96330.005/4
F4498.04+13.69352.004/3
F♯4590.22+5.87371.2545/32
G4701.96+17.60396.003/2
G♯4813.69+29.33422.408/5
A4884.360.00440.005/3
B♭41017.60+33.24475.209/5
B41088.27+3.91495.0015/8

To set an electronic tuner, use the offsets with A unchanged and calibrate the tuner to your reference pitch.

Download just-intonation-in-c-a440

Load the .scl together with its .kbm: the .kbm puts the scale on middle C and A4 at your reference pitch. The .tun file is for synths that read AnaMark tuning files.

Hear the comma

Twelve fifths up from C should land on C again, seven octaves higher. Pure fifths overshoot. Narrow them and the gap closes, but each fifth starts to beat.

701.96 cents

Use the arrow keys for steps of 0.01 cents.

  • 701.96centsEach fifthPure 3:2
  • 0.00beats/sBeats in C4–G4The fifth is pure
  • +23.46centsLast note against CTwelve fifths: 8,423.46 cents

Twelve fifths add up to 8,423.46 cents against 8,400 for seven octaves, so the last note lands 23.46 cents above C. That gap is the Pythagorean comma.

Twelve fifths of 701.96 cents stacked from CThe circle of fifths drawn as a spiral. After twelve fifths, B♯ lands 23.46 cents past C.CGDAEBF♯C♯G♯D♯A♯E♯B♯
−80−60−40−200+20+40+60+80CB♯
The circle of fifths drawn as a spiral: each dot is one more fifth, a little further out. The ruler magnifies where the last one lands next to C.

How to use

  1. Pick two tunings, for example Equal temperament as A and Just intonation as B, and a reference pitch.
  2. Choose a chord and press Play A, then B. In equal temperament, listen for the fast wobble of the major third.
  3. On the keyboard, hold two or three notes and switch between A and B to hear the beats come and go.
  4. Under Inside the tuning, read how each fifth is tuned, how pure every key is and the full tables.
  5. Download a Scala .scl file with its .kbm keyboard map, an AnaMark .tun file or a CSV of the table.

Worked example

Input

Tuning A: equal temperament. Tuning B: quarter-comma meantone. Reference pitch A4 = 440 Hz. Chord: C4 major.

What to press

Try an example, then Play A, then B. The root C4 stays at 261.63 Hz in both tunings.

Result

Equal temperament: the third C4–E4 (261.63 and 329.63 Hz) beats 10.38 times a second and the fifth C4–G4 0.89 times. Meantone: the third is pure at 386.31 cents, but the fifth is 696.58 cents, 5.38 cents narrow, and beats 2.43 times a second.

Two more numbers from the same setup. In equal temperament the fifth A3–E4 (220.00 and 329.63 Hz) beats 3 × 220.00 − 2 × 329.63 = 0.74 times a second. Switch tuning B to Werckmeister III to see its circle. Eight fifths are pure and four are narrowed by 5.87 cents each: C–G, G–D, D–A and B–F♯. With Just intonation in C as B, the C4 major chord is beatless. In D4 major, though, the fifth D4–A4 is 680.45 cents and beats 10.88 times a second.

How it works

Cents and frequencies

A cent is 1/100 of an equal-tempered semitone, so an octave is 1200 cents. Cents turn frequency ratios into numbers you can add: a fifth plus a fourth makes an octave.

cents = 1200 × log2(f2 ÷ f1) equal temperament: f = A4 × 2^((n − 69) ÷ 12), where n is the MIDI note number

A4 always sits exactly at the reference pitch you choose. Every other note follows from the tuning’s cents, counted from C.

Each tuning is built from its fifths

A temperament is a chain of twelve fifths around the circle. We start from pure 3:2 fifths of 701.96 cents. We narrow or widen each one by the fraction of a comma its definition states, then fold the notes into one octave. No cents value is copied from a table.

Pythagorean comma = 1200 × log2(3^12 ÷ 2^19) = 23.46 cents syntonic comma = 1200 × log2(81 ÷ 80) = 21.51 cents schisma = Pythagorean comma − syntonic comma = 1.95 cents

How the fifths are tuned in each temperament
TuningHow the fifths are tuned
Equal temperamentAll twelve narrowed by 1/12 Pythagorean comma (1.96 cents).
PythagoreanEleven pure fifths from E♭ to G♯. G♯–E♭ is a whole Pythagorean comma narrow: the wolf.
Quarter-comma meantoneEleven fifths from E♭ to G♯ narrowed by 1/4 syntonic comma (5.38 cents), which makes eight major thirds pure. G♯–E♭ is the wolf, 35.68 cents wide.
1/3-, 1/5- and 1/6-comma meantoneThe same chain with 1/3, 1/5 or 1/6 syntonic comma. With 1/3 the minor thirds are pure.
Werckmeister IIIC–G, G–D, D–A and B–F♯ narrowed by 1/4 Pythagorean comma (5.87 cents). The other eight are pure.
Kirnberger IIIC–G, G–D, D–A and A–E narrowed by 1/4 syntonic comma, so C–E is pure. F♯–C♯ is a schisma narrow. The rest are pure.
VallottiF–C, C–G, G–D, D–A, A–E and E–B narrowed by 1/6 Pythagorean comma (3.91 cents). The other six are pure. Vallotti’s own description used 1/6 syntonic comma; this Pythagorean form is the one usually tuned today under his name.
Young’s second temperamentC–G, G–D, D–A, A–E, E–B and B–F♯ narrowed by 1/6 Pythagorean comma, the other six pure. Thomas Young gave this as a simple way to get nearly the effect of his main proposal, now called his first temperament. It is in his letter to the Royal Society dated 1799, printed in 1800. Some lists use the name “Young (1799)” for that first proposal.

Just intonation uses ratios from the key note instead: 1/1, 16/15, 9/8, 6/5, 5/4, 4/3, 45/32, 3/2, 8/5, 5/3, 9/5 and 15/8. Sources differ for three notes: the semitone, tritone and minor seventh above the key note. Ratios such as 25/24, 64/45 and 16/9 also appear there, so treat ours as one common choice.

Beats

When two notes form an almost pure interval, one harmonic of each nearly coincides. The two drift in and out of step, and you hear the sound swell and fade. The number of swells per second is the difference between those harmonics:

fifth |3f1 − 2f2| fourth |4f1 − 3f2| major third |5f1 − 4f2| minor third |6f1 − 5f2| major sixth |5f1 − 3f2| minor sixth |8f1 − 5f2|

Here f1 is the lower note. In equal temperament with A4 = 440 Hz, C4–E4 gives 5 × 261.626 − 4 × 329.628 = −10.38. So the third beats 10.38 times a second, and the minus sign means it is wider than pure. Beat rates double with every octave up.

Tuning files

The .scl file uses the Scala scale format: a description, the number of notes, then one pitch per line. Pitches are cents from C, and the last line is the octave, 2/1. C itself is left out, as the format asks. The .kbm keyboard map puts the scale’s first note on middle C (MIDI note 60). It tunes A4 (MIDI note 69) to your reference pitch. The .tun file follows the AnaMark tuning file format, version 2.00. It lists all 128 MIDI notes three ways: whole cents, exact cents and offsets from equal tuning. The CSV holds both tables at full precision.

The sound

Notes play as a steady tone of 16 harmonics that grow gradually weaker, a little like a reed organ. That makes the beating harmonics easy to hear. Up to 8 notes sound at once; a ninth replaces the oldest.

Sources

The cents on this page match the published values for Werckmeister III, Kirnberger III, Vallotti and Young’s second temperament. Quarter-comma meantone matches Scala’s own example file.

FAQ

What’s the difference between equal temperament and just intonation?

Just intonation tunes intervals to small whole-number frequency ratios, such as 3:2 for a fifth and 5:4 for a major third. In its home key the main chords, I, IV and V, are beatless. Other chords are not: in C, the fifth D–A is 21.51 cents narrow. Equal temperament splits the octave into 12 equal semitones of 100 cents. Every key then sounds alike, but each major third is 13.69 cents wider than pure and beats audibly. Press Play A, then B with the default settings to hear it.

Why can’t a piano be perfectly in tune?

Pure intervals don’t add up. Twelve pure fifths overshoot seven octaves by 23.46 cents, the Pythagorean comma, and three pure major thirds fall 41.06 cents short of an octave. With 12 keys per octave, the error has to go somewhere. It can be spread evenly over all fifths, or unevenly so some keys sound purer. Try Hear the comma above.

What temperament did Bach use?

Nobody knows exactly. The few accounts of how Bach tuned are second-hand and vague. Modern proposals, including some read from the drawing on the title page of The Well-Tempered Clavier, are still debated. The collection has a prelude and fugue in all 24 keys. So his tuning had to make every key usable, as the well temperaments here do.

What is a wolf fifth?

A fifth that takes up the error the other fifths leave behind. In quarter-comma meantone, eleven fifths are 5.38 cents narrow. So G♯–E♭ ends up at 737.64 cents, 35.68 cents wider than pure, and beats so fast it howls. Choose that tuning, then the root G♯3 and Perfect fifth, to hear it.

What are cents?

A cent is 1/100 of an equal-tempered semitone, and an octave is 1200 cents. The formula 1200 × log2(f2 ÷ f1) turns frequency ratios into numbers you can add. A pure fifth is 701.96 cents and a pure major third 386.31. A difference of a few cents is easier to hear as beats in a chord than as a change of pitch in one note.

How do I load a .scl file in my synth?

Download the .scl file and the .kbm file with the same name, then load both in the synth’s tuning settings. Surge XT and Pianoteq, for example, read Scala files. The .kbm tells the synth to start the scale on middle C and to put A4 at your reference pitch. Synths that read AnaMark files can take the .tun download instead.

Is A = 432 Hz special?

No. It’s simply another reference pitch. Going from 440 to 432 Hz lowers every note by the same 31.77 cents. The intervals and the character of each temperament stay the same. Only the pitch and the beat rates drop, by 1.8%. Choose 432 above and compare.

How do piano tuners use beats?

They tune by ear to beat rates they know. In equal temperament with A4 = 440 Hz, the major third F3–A3 beats about 6.93 times a second and the fifth F3–C4 about 0.59 times. Each third up the scale beats a little faster. Tuners set one octave this way, then tune the rest by octaves. Set the octave to 3 and the Keys table lists these rates for any tuning.

Updated