Calculators

Music Note Frequency Calculator

Calculate the equal-tempered frequency of a musical note from its MIDI note number and reference tuning frequency. Uses A4 as MIDI note 69 and adjusts by twelve semitones per octave.

Loading calculator...

What this Music Note Frequency Calculator does

The Music Note Frequency Calculator estimates the frequency, measured in hertz (Hz), of a note in the standard twelve-tone equal-tempered system. Enter a MIDI note number and the frequency used to tune A4. The result is the note’s theoretical fundamental frequency under those assumptions.

This can be useful when exploring pitch relationships on a digital piano, checking a synth or sampler setting, preparing a tuning exercise, or learning how semitones relate to frequency. A frequency describes how many cycles of a sound wave occur each second. For example, a tone at 440 Hz completes 440 cycles per second.

The calculator uses MIDI note 69 for A4 and treats each semitone as an equal ratio. Its formula is reference frequency × 2((MIDI note number − 69) / 12). With the default A4 reference of 440 Hz and MIDI note 69, the result is 440.00 Hz. One octave above, MIDI note 81, is 880.00 Hz. The model describes a note’s pitch frequency, not the full timbre or sound of a piano key.

How to use the Music Note Frequency Calculator

Choose the MIDI note number for the pitch you want to calculate. MIDI note numbers are whole numbers from 0 to 127, and each increase of one represents one semitone. Then enter the A4 reference frequency in hertz. The default is 440 Hz, a common reference for tuning, but you can enter another value from 400 to 480 Hz if your instrument or practice setup uses it.

  1. Set the MIDI note number. Use 69 for A4, 60 for middle C in the common MIDI convention, or another valid note number.
  2. Enter the A4 reference. Keep 440 Hz for the default reference, or use the value relevant to your tuning setup.
  3. Read the result in hertz. The displayed value is rounded to two decimal places.

For a worked example, calculate MIDI note 72 using an A4 reference of 442 Hz. Substitution gives 442 × 2((72 − 69) / 12) = 442 × 20.25, which is approximately 525.62 Hz. Since note 72 is three semitones above A4, its frequency is higher than the reference. The result is a calculated pitch value and does not measure the sound coming from a particular instrument.

How the Music Note Frequency Calculator formula works

In equal temperament, an octave spans twelve semitones and doubles the frequency. To divide that octave evenly, each semitone multiplies frequency by the twelfth root of two. Moving n semitones from A4 therefore multiplies the A4 reference frequency by 2 raised to n divided by 12.

The MIDI note number makes that distance easy to express. Subtracting 69 from the entered number gives the semitone difference from A4. Dividing by 12 converts the difference into octaves. Raising 2 to that power gives the frequency ratio, which is then multiplied by the entered reference frequency.

This setup works for notes above and below A4. A positive difference raises the frequency, while a negative difference lowers it. A difference of 12 semitones doubles the frequency, and a difference of −12 halves it. The calculator uses only the note number and reference frequency, so it does not need a separate octave or note-name field. It assumes equal temperament and applies the same ratio to every semitone.

Use cases for the Music Note Frequency Calculator

For home practice, frequency calculations can make pitch relationships more concrete. A student learning scales may compare notes and see why an octave sounds related despite its higher frequency. A pianist programming a virtual instrument can use the value as a reference when setting oscillators or checking a synthesized tone. A teacher can also use sample note numbers to demonstrate the mathematical structure behind a keyboard.

Some useful examples include:

  • Finding the theoretical frequency for a note used in a practice exercise.
  • Comparing the same MIDI pitch under different A4 reference settings.
  • Checking octave relationships when configuring a keyboard, synthesizer, or digital audio project.
  • Creating a simple reference table for a limited set of notes.

When using digital piano software, remember that a MIDI note number identifies a pitch instruction. It does not specify the instrument patch, volume, velocity, effects, or sample playback behavior. Those settings can change the sound’s character while leaving the intended note number unchanged.

Other factors to consider when calculating note frequency

The answer depends on the reference frequency. If a practice group tunes A4 to a value other than 440 Hz, every calculated note shifts in proportion. For instance, the same MIDI note has a slightly higher frequency when the reference is raised. Enter the reference that matches the tuning context you are studying, and label it clearly if you record results for later comparison.

Real acoustic and digital instruments can also differ from the ideal calculation. An acoustic piano may have inharmonic partials, and piano tuners may stretch tuning across the keyboard to account for how the instrument sounds. A digital piano may reproduce sampled notes or apply tuning, temperament, and sound-shaping settings. The calculated fundamental is a useful theoretical reference, but it cannot describe all of those behaviors.

Finally, note naming conventions can vary around middle C. MIDI note 60 is commonly called C4, though some software labels it C3 or C5. This does not change the frequency calculation because the calculator uses the numeric MIDI value. Confirm the convention used by your keyboard or software before converting a written note name to a MIDI number.

FAQ

What is the standard A4 reference frequency?

The calculator defaults to 440 Hz for A4. You can enter another reference value within the provided range when your tuning context calls for it. The calculation then shifts all note frequencies in proportion to that new reference.

What MIDI note number is middle C?

MIDI note 60 is commonly used for middle C. Some applications display a different octave label for the same MIDI number, so check your software’s naming convention when matching a written note to a number.

Why does an octave double the frequency?

The equal-tempered formula assigns twelve equal logarithmic steps to an octave. The total ratio across those steps is two, so moving up twelve MIDI note numbers doubles the frequency and moving down twelve halves it.

Does the result tell me how my digital piano will sound?

No. It estimates the theoretical pitch frequency from the note number and reference tuning. The piano’s voice, samples, effects, velocity, and tuning settings affect the sound you hear.

Can I use this for alternate temperaments?

The formula assumes twelve-tone equal temperament. Alternate temperaments may use different intervals, so this result will not faithfully represent their note frequencies. Use a temperament-specific method when those interval differences matter.

Written by

kohlerdigitalpianos.com Editorial Team

Editorial team

Independent editorial coverage of digital pianos & home practice.