Calculators

Tuning Frequency Calculator

Calculate the frequency of a note from its MIDI note number and reference tuning, using equal temperament. Enter a MIDI note number and a reference frequency for A4.

Loading calculator...

What this Tuning Frequency Calculator does

This tuning frequency calculator estimates the frequency of a musical note from its MIDI note number and the frequency chosen for A4. It uses 12-tone equal temperament, the common tuning system in which each neighboring semitone has the same frequency ratio. The result is a frequency in hertz (Hz), or cycles per second.

The calculator is useful when preparing a tuning reference, checking a synthesizer setting, studying note frequencies, or comparing instruments against a chosen pitch standard. Its title is Tuning Frequency Calculator. Enter a MIDI note number from 0 through 127 and an A4 reference frequency from 400 through 480 Hz. The result is labeled “Note Frequency” and is rounded to two decimal places.

A MIDI note number identifies a pitch in the standard MIDI numbering system. In that system, note 69 is A4, the A above middle C. The reference input sets the frequency assigned to that A4. A common reference is 440 Hz, though musicians and ensembles may use another agreed reference.

How to use the Tuning Frequency Calculator

  1. Choose a MIDI note number. Enter a whole number from 0 to 127. For example, use 69 for A4.
  2. Set the A4 reference. Enter a frequency in hertz. Use 440 Hz for the familiar concert pitch reference, or enter another value used for your session.
  3. Read the result. The calculator returns the equal-tempered frequency of the selected note in Hz.

For a worked example, choose MIDI note 72 and set A4 to 440 Hz. The formula is 440 × 2^((72 − 69) / 12). The exponent is 3/12, or 0.25, so the calculation is 440 × 2^0.25, which is approximately 523.25 Hz. This is the frequency assigned to C5 in this equal-tempered setup.

Try changing only one input at a time to see its effect. Moving the note number by 12 raises or lowers the pitch by one octave, while changing the reference shifts every note proportionally. The two inputs are independent in the form, but together they define the result.

How the Tuning Frequency Calculator formula works

The formula is reference_a4 × Math.pow(2, (midi_note − 69) / 12). Here, reference_a4 is your chosen A4 frequency, and midi_note is the selected MIDI note number. The number 69 anchors the calculation at A4, while dividing the difference by 12 converts semitone steps into octave fractions.

An octave represents a doubling of frequency. Equal temperament divides that doubling into twelve equal ratios. Therefore, one semitone has a frequency ratio of the twelfth root of two. The power function applies that ratio repeatedly above A4 or inversely below A4.

When midi_note is 69, the exponent is zero. Any positive value raised to zero is one, so the result equals the A4 reference exactly. For note 81, the exponent is one, producing twice the reference frequency. For note 57, the exponent is minus one, producing half the reference frequency. These relationships make useful checks when reviewing a result.

The calculator applies the same equal-tempered spacing to every note number. It does not analyze a recording, detect a played pitch, read an instrument, or account for a particular instrument’s tuning behavior. It performs a mathematical conversion from the two supplied values.

Use cases for the Tuning Frequency Calculator

Musicians, students, arrangers, and audio hobbyists can use note frequencies in several practical ways:

  • Setting a tone generator: Find a target frequency before creating a reference tone in audio software or a signal generator.
  • Checking synthesizer parameters: Compare a displayed frequency with the expected equal-tempered value for a MIDI note.
  • Learning pitch relationships: Explore how semitone steps and octave changes affect frequency.
  • Preparing ensemble references: Calculate notes based on an agreed A4 standard when discussing tuning with a group.
  • Building audio exercises: Use known frequencies when creating ear-training material or demonstrations.

For instance, a teacher can compare A4 at 440 Hz with a slightly different reference and show how that choice shifts C5 as well. A sound designer can calculate a target note before entering it into a synthesizer. In both cases, the output is a theoretical note frequency, and listening or measurement may still be needed to assess an actual sound source.

Other factors to consider when calculating note frequency

The result depends on the tuning system and reference you select. Equal temperament is widely used because it supports playing in different keys with consistent semitone spacing. Other tuning systems use different interval relationships, so their note frequencies may differ even when they share a reference pitch. This calculator is intended for equal temperament only.

Also consider how the note is represented in your music or audio tool. MIDI note numbers provide an unambiguous numeric input, but octave naming conventions can vary between devices and software. A note displayed as C4 in one environment may use a different octave label elsewhere. If you are entering a note manually, confirm its MIDI number rather than relying only on the displayed octave name.

The reference range allows entries from 400 to 480 Hz, and the note range covers the standard MIDI values from 0 to 127. Those limits keep the calculation within common reference pitches and MIDI notes. The output is rounded to two decimal places, so very small differences may not appear in the display. The underlying formula still uses the entered values before rounding.

Temperature, string condition, instrument construction, and performance technique can affect the pitch produced by a real instrument. These factors do not change the theoretical result from the inputs. Use a tuner or frequency measurement tool when you need to assess the sound actually being produced.

Frequently asked questions

What does 440 Hz mean?

It means the sound wave completes 440 cycles each second. In this calculator, 440 Hz is a common reference frequency for A4. A different reference can be entered when your ensemble or project uses another tuning standard.

Why is MIDI note 69 used as the anchor?

In the standard MIDI note numbering system, note 69 corresponds to A4. Anchoring the formula there makes the entered reference frequency the exact result for that note.

Does the calculator identify the note I play?

No. It does not listen to audio or identify a pitch. It calculates the expected frequency after you provide a MIDI note number and an A4 reference.

Can I use it for a different tuning system?

The formula assumes twelve-tone equal temperament. A system with different interval sizes needs a different formula and potentially additional inputs. Treat this result as an equal-tempered reference.

Why might my instrument measure a different frequency?

A real instrument may be slightly sharp or flat because of its setup, condition, temperature, or playing technique. The calculator returns a theoretical value, while a tuner or frequency analyzer measures the sound produced.

Written by

typband.com Editorial Team

Editorial team

Independent editorial coverage of electronic music.