Calculator: MIDI note frequency

Enter the labelled inputs to calculate: Frequency (Hz); Value pc 0…11; Octave.

Frequency (Hz)
440
Value pc 0…11
9
Octave
4

How the calculation works

f=A4·2^((MIDI−69)/12); pc=MIDI mod 12; o=⌊MIDI/12⌋−1

Equal temperament uses twelve semitones per octave. Reference tuning is user supplied. BPM delay assumes quarter-note beats; dotted and triplet values follow the displayed ratios.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

f=A4·2^((MIDI−69)/12); pc=MIDI mod 12; o=⌊MIDI/12⌋−1

What assumptions apply?

Equal temperament uses twelve semitones per octave. Reference tuning is user supplied. BPM delay assumes quarter-note beats; dotted and triplet values follow the displayed ratios.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Value MIDI = 69
Frequency A4 (Hz) = 440
Frequency (Hz): 440
Value pc 0…11: 9
Octave: 4
2
Value MIDI = 60
Frequency A4 (Hz) = 440
Frequency (Hz): 261.6255653
Value pc 0…11: 0
Octave: 4
3
Value MIDI = 21
Frequency A4 (Hz) = 432
Frequency (Hz): 27
Value pc 0…11: 9
Octave: 0

How we test our calculators →

Also try:

Back to category →