Frequency to MIDI Note Calculator

Convert any frequency into MIDI notes, note names, cents deviation, tuning data, neighboring pitches, wavelength, and downloadable results with clear accurate calculation steps instantly.

Calculated Results

Ready
Exact MIDI value
69.000000
Nearest MIDI note
69
Note name
A4
Ideal note frequency
440 Hz
Cents difference
0 cents
Frequency difference
0 Hz
Semitones from A4
0
Frequency ratio to A4
1.000000
Wavelength
0.77955 m
Previous note
G♯4 / 415.305 Hz
Next note
A♯4 / 466.164 Hz
MIDI range status
Within 0–127

Calculator Inputs

Formula Used

n = 69 + 12 × log₂(f / A4)

Here, n is the MIDI note value.

f is the input frequency in hertz.

A4 is the selected tuning reference frequency.

Step-by-Step Calculation

  1. Convert the entered frequency to hertz.
  2. Divide frequency by the A4 reference.
  3. Calculate the base-two logarithm.
  4. Multiply the logarithm by twelve.
  5. Add sixty-nine to obtain MIDI value.
  6. Round for the nearest standard MIDI note.
  7. Compare frequencies to calculate cents deviation.

How to Use This Calculator

Enter a positive frequency and choose its unit.

Set the A4 tuning reference when needed.

Choose sharp or flat note naming preferences.

Select output precision and sound speed.

Press Calculate to refresh all displayed results.

Example Frequency Table

MIDINoteFrequency (Hz)Relative to A4
48C3130.813Lower octave range
60C4261.626Middle C
69A4440.000Tuning reference
72C5523.251One octave above C4
81A5880.000One octave above A4

Understanding Frequency to MIDI Conversion

Frequency describes how often a repeating sound wave cycles each second. Musical pitch rises when frequency increases and falls when frequency decreases. MIDI represents musical notes with integer values from zero through 127. Standard equal temperament assigns MIDI note 69 to A4 at 440 hertz. Each semitone changes frequency by the twelfth root of two. This relationship makes logarithms useful for converting frequencies into MIDI numbers.

Why Fractional MIDI Values Matter

Real sounds rarely land exactly on equal-tempered frequencies. A measured frequency can produce a fractional MIDI value. The nearest integer gives the conventional note. The fractional difference can become cents, where one semitone equals 100 cents. Positive cents indicate a sharper pitch than the target note. Negative cents indicate a flatter pitch than the target note. This makes the calculator useful for tuning instruments and testing audio systems.

Custom Tuning and Physics Applications

Not every tuning system uses A4 at 440 hertz. Some ensembles prefer 442 hertz, while alternative tunings may use 432 hertz. Changing the reference adjusts every calculated note frequency consistently. The wavelength option adds a physics connection. Wavelength equals sound speed divided by frequency. Since sound speed changes with temperature and medium, the calculator allows customization. This helps students connect musical pitch with wave behavior. Audio engineers can inspect recorded tones and synthesizer outputs. Musicians can identify nearby notes from measured frequencies. Physics learners can compare frequency, wavelength, ratios, and logarithmic pitch spacing within one tool.

Interpreting the Results

The nearest MIDI note is appropriate for musical labeling. The exact MIDI value preserves precise pitch information. Cents deviation shows tuning error more intuitively than hertz. Frequency difference still provides useful absolute separation. Neighboring notes reveal the local semitone interval. The ratio to A4 shows proportional frequency change. Together, these values provide a compact view of pitch, tuning, and wave relationships. Use positive frequencies and realistic references for reliable results.

Frequently Asked Questions

What MIDI note is 440 Hz?

With A4 set to 440 Hz, it is MIDI note 69.

What MIDI note is middle C?

Middle C is MIDI note 60, near 261.626 Hz.

Why is the MIDI value sometimes decimal?

Measured frequencies can fall between equal-tempered MIDI notes.

What does cents deviation mean?

It measures pitch difference in hundredths of a semitone.

Can I use 432 Hz tuning?

Yes. Change the A4 reference from 440 to 432.

What happens outside MIDI notes 0 through 127?

The calculator still computes values and shows a range warning.

Calculation Summary Table

Input frequency440 Hz
A4 reference440 Hz
Exact MIDI69.000
Nearest note69 / A4
Cents difference0 cents
Ideal frequency440 Hz
Wavelength0.77955 m

Related Calculators

Average Calculator StatisticsGeometric Mean CalculatorInter Quartile Range CalculatorLower Quartile CalculatorMaximum CalculatorMean Calculator StatisticsMedian Calculator StatisticsMidhinge Calculator StatisticsMid Range Calculator StatisticsMinimum Calculator Statistics

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.