🔬
🔬 Science & engineering

MIDI Note ⇄ Frequency ⇄ Cents Calculator

Results update as you type.

Your numbers

Understanding the MIDI note, frequency and cents calculator — concept and principle

Every MIDI note number corresponds to a pitch in twelve-tone equal temperament, and every pitch has a frequency in hertz. This calculator converts a MIDI note number into its frequency and note name, and it also takes any measured frequency, finds the nearest equal-tempered note and tells you how many cents sharp or flat it is. It helps with tuning, synth setup and MIDI programming.

MIDI note numbers, frequency and centsNote 69 is A4 at 440 Hz and note 60 is C4 at 261.63 Hz; 445 Hz is A4 plus 19.6 cents.Every key has a number and a pitchC460D462E464F465G467A469B471261.63 Hz440 Hzone semitone = × 1.0595 = 100 cents-50-250+25+50445 Hz→ A4+19.6cents sharp
445 Hz is nearest to A4 (440 Hz) and sits 19.6 cents sharp.

How it is calculated

The principle

Pitch perception is roughly logarithmic: going up an octave always doubles the frequency, whatever the starting note. Equal temperament splits each octave into 12 equal ratios, so one semitone is the twelfth root of two, about 1.05946. A cent is a hundredth of a semitone, giving 1200 cents per octave, which turns musical intervals into simple additions. Because the scale is anchored to one reference pitch, changing A4 (to 442 Hz for some orchestras, or 432 Hz by preference) shifts every note by the same ratio.

Worked example

  1. Inputs: note 69, A4 = 440 Hz, analysed frequency 445 Hz.
  2. Note frequency: 440 × 2^((69 − 69)/12) = 440 × 1 = 440 Hz.
  3. Note name: 69 mod 12 = 9 → A; octave floor(69/12) − 1 = 5 − 1 = 4 → A4.
  4. Nearest note: 69 + 12 × log₂(445/440) = 69 + 0.196 = 69.196 → rounds to 69, which is A4.
  5. Cents off: 1200 × log₂(445/440) = 19.56 cents sharp.
How Frequency of note (Hz) changes with MIDI note number (A4 = 69)How Frequency of note changes with MIDI…05,00010,00015,00020,00025,00017.234.551.86986.2104138Example: 440MIDI note number (A4 = 69)
Each point is the calculator re-run with only “MIDI note number (A4 = 69)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
MIDI note number (A4 = 69)Frequency of note (Hz)
17.222.14424206
34.559.9779253
51.8162.4508761
69440
86.21,191.744881
1043,227.854232
13823,679.64305

How to read the result

A positive cents value means the frequency is sharp (higher than the note), a negative value means flat. The result always lies between −50 and +50 cents, since beyond that a different note becomes the nearest. Differences of a few cents are hard to hear on a single sustained tone, while about 20 cents, as in the example, is clearly noticeable to most trained listeners when compared with a reference.

Common mistakes

Keep in mind: Results assume twelve-tone equal temperament. Just intonation, historical temperaments and non-Western scales place notes at different frequencies, and real instruments show inharmonicity, so a tuner's reading may differ slightly from the pure formula.

Frequently asked questions

What frequency is middle C?

MIDI note 60 with A4 = 440 Hz is 440 × 2^(−9/12) ≈ 261.63 Hz.

What is the range of MIDI notes?

MIDI note numbers run from 0 to 127; note 0 is about 8.18 Hz and note 127 about 12,543.85 Hz at A4 = 440 Hz.

How do I convert cents back to a frequency ratio?

Ratio = 2^(cents / 1200). For example, +100 cents is 2^(1/12) ≈ 1.0595.

Sources: MIDI Association, MIDI 1.0 Detailed Specification · ISO 16:1975, Acoustics — Standard tuning frequency (standard musical pitch)

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →