NOTACAL logo

Frequency Note Converter

Frequency Note Converter

Give us your feedback! Was this useful?

Introduction

Every musical note you hear, from the deepest rumble of a pipe organ to the shimmering top of a piccolo, corresponds to a specific frequency of sound vibration measured in hertz (Hz). The human ear detects these vibrations as pitch: the faster the vibration, the higher the perceived pitch. A440, the note A above middle C, vibrates at exactly 440 Hz and has served as the international standard tuning reference since the adoption of ISO 16 in 1975. [iso-16] Before this standard, tuning varied widely across regions and eras. Orchestras in Baroque Germany tuned as low as 415 Hz, while some 19th-century opera houses pushed A4 above 450 Hz to achieve a brighter, more piercing sound.

The modern Western musical system organizes pitch using twelve-tone equal temperament, a tuning system that divides each octave into twelve equally spaced semitones. The frequency ratio between any two adjacent semitones is exactly the twelfth root of two, or 2^(1/12). This allows transposition: a piece of music can shift to any key while preserving the same intervals between notes. The equal temperament compromise means that every interval except the octave itself is slightly out of tune compared to the pure harmonic ratios of just intonation, but the benefit of free key modulation has made it the dominant system for over two centuries. [harvard-music]

This converter bridges three ways of representing musical pitch: the conventional note name with octave number (such as C4 or A#5), the corresponding frequency in hertz, and the MIDI note number standardized by the MIDI Manufacturers Association. [midi-assoc] Whether you are tuning an instrument, designing a synthesizer patch, or analyzing an audio recording, the ability to move fluently between these representations is an essential skill in audio engineering and music production.

How to Use This Calculator

The Frequency Note Converter operates in two complementary modes, selectable from the Conversion Direction dropdown.

Note to Frequency Mode: Select a note name from the seven natural notes and five accidentals (C through B with sharps), choose an octave from 0 to 9, and optionally enter a cents offset to account for non-standard tuning. The calculator displays the exact frequency in hertz, the corresponding MIDI note number, and the note name with octave. For example, selecting A and octave 4 with zero cents offset yields exactly 440 Hz and MIDI note 69. Middle C, represented as C4, produces approximately 261.63 Hz and MIDI note 60. The cents offset allows you to model tunings that deviate from the A440 standard: setting A4 with a cents offset of +10 raises the calculated frequency to approximately 442.55 Hz, which is the tuning many European orchestras prefer.

Frequency to Note Mode: Enter any positive frequency value in hertz. The calculator determines the closest equal-temperament note, reports the MIDI note number, and tells you the cents deviation from the exact pitch. A positive cents value means the frequency is sharp relative to the nearest note; a negative value means it is flat. For instance, entering 440 Hz returns A4 with zero cents deviation. Entering 445 Hz returns A4 with approximately +19 cents, meaning the pitch is slightly sharp. Entering 261.63 Hz returns C4 with zero cents deviation. The cents measurement gives you fine-grained information about how far off the pitch is: one cent equals one hundredth of a semitone, and the human ear can typically detect deviations of five cents or more in controlled listening conditions.

Practical example: Suppose you record a guitarist and need to identify an ambiguous note in the mix. Export a short clip, open a spectrum analyzer in your DAW, and find the strongest frequency peak. If the analyzer reads 196 Hz, enter 196 into the Frequency to Note mode. The calculator returns G3 (approximately 196.00 Hz in equal temperament), confirming the note. If the reading is 198 Hz instead, the calculator returns G3 with approximately +17 cents, indicating the guitar is slightly sharp and may need retuning.

The Formula

The equal-temperament system defines a precise mathematical relationship between MIDI note number and frequency. The formula centers on A4, which is assigned MIDI note number 69 and frequency 440 Hz.

The frequency f(n) for a MIDI note number n is:

f(n)=440×2n6912f(n) = 440 \times 2^{\frac{n - 69}{12}}

In this formula, n is the MIDI note number, where middle C (C4) corresponds to n = 60 and A4 corresponds to n = 69. The exponent (n - 69) measures how many semitones the note lies above or below A4. Dividing by 12 converts semitones to octaves, since there are 12 semitones per octave. The base 2 exponent reflects the fact that frequency doubles with each octave. For example, applying the formula to n = 69 gives f(69) = 440 x 2^0 = 440 Hz, as expected. For n = 60 (middle C), the calculation is f(60) = 440 x 2^((60 - 69)/12) = 440 x 2^(-9/12) = 440 x 2^(-0.75) = 440 x 0.5946 = 261.63 Hz.

To reverse the conversion, going from a frequency f to the nearest MIDI note number n:

n(f)=12×log2(f440)+69n(f) = 12 \times \log_2\left(\frac{f}{440}\right) + 69

This formula uses the base-2 logarithm, which directly inverts the exponential relationship. The ratio f / 440 expresses the input frequency relative to the A4 standard. Taking the log base 2 of this ratio gives the number of octaves above or below A4. Multiplying by 12 converts octaves to semitones, and adding 69 shifts the reference to MIDI note 69.

The cents deviation measures the fine difference between an input frequency and a target note frequency. One cent equals one hundredth of a semitone, or 1/1200 of an octave. The formula for cents deviation between a measured frequency f and a target frequency f_target is:

cents=1200×log2(fftarget)cents = 1200 \times \log_2\left(\frac{f}{f_{target}}\right)

A result of zero cents means the frequency is exactly on pitch. Positive values indicate a sharp pitch, and negative values indicate a flat pitch. By convention, tuners display cents as an integer rounded to the nearest whole cent, which provides sufficient precision for virtually all tuning applications.

Note Frequency Reference Table

The following table lists the frequencies for all seven natural notes across three octaves centered on middle C. Each octave doubles the frequency of the corresponding note from the octave below, demonstrating the exponential relationship that the equal temperament formula encodes. These seven notes form the C major scale, the most fundamental diatonic scale in Western music.

NoteOctave 3 (Hz)Octave 4 (Hz)Octave 5 (Hz)
C130.81261.63523.25
D146.83293.66587.33
E164.81329.63659.25
F174.61349.23698.46
G196.00392.00783.99
A220.00440.00880.00
B246.94493.88987.77

The bar chart below visualizes how frequencies ascend from C3 at 130.81 Hz to B5 at 987.77 Hz across three octaves. The exponential growth is visible in the widening gap between successive octaves: the jump from C3 (130.81 Hz) to C4 (261.63 Hz) is 130.82 Hz, while the jump from C4 to C5 (523.25 Hz) is 261.62 Hz, exactly double.

Frequencies of the C major scale across octaves 3, 4, and 5, showing the exponential doubling pattern. Each octave doubles the frequency of the same note from the octave below.

Practical Tips

Reference A4 equals 440 Hz by international standard, but some orchestras tune higher. The Berlin Philharmonic and many European ensembles tune to A4 = 442 Hz or even 443 Hz, arguing that the slightly sharper pitch produces a brighter, more projecting sound in large concert halls. Baroque and early music ensembles frequently tune to A4 = 415 Hz, one semitone below the modern standard, to match period instruments. When collaborating across ensembles, always verify the tuning standard before rehearsals.

Cents provide a precise measurement for tuning. The human ear can detect pitch differences of approximately five cents in the mid-frequency range under ideal conditions, though the threshold varies by individual and by musical context. A deviation of ten cents is clearly noticeable to most listeners: an experienced violinist or vocalist can hear five cents, while a casual listener may not perceive a difference until the deviation reaches fifteen to twenty cents. Digital tuners routinely display cents resolution, and this converter gives you the same precision for analyzing recorded audio or planning microtonal adjustments.

MIDI notes span a wide range beyond the piano keyboard. The MIDI 1.0 specification defines 128 notes numbered from 0 to 127. Note 0 corresponds to C at -1 octave (approximately 8.18 Hz, well below the threshold of human hearing), and note 127 corresponds to G at 9 octaves (approximately 12,544 Hz, near the upper limit of human hearing). [midi-assoc] The standard 88-key piano spans MIDI notes 21 (A0 at 27.5 Hz) through 108 (C8 at 4186.01 Hz). Notes outside this range are used primarily by synthesizers, sound design, and electronic instruments.

Use a spectrum analyzer in your DAW to identify unknown notes from recordings. Load a short sample into your audio editor, apply a spectrum or frequency analyzer plugin, and note the strongest peak frequency. Enter that frequency into this converter's Frequency to Note mode to identify the closest equal-temperament note and the cents deviation. This technique works well for monophonic passages and sustained notes; polyphonic material produces multiple overlapping peaks that require more careful interpretation.

The human ear is most sensitive between 2 and 5 kHz. This roughly corresponds to the range from C7 (2093 Hz) to C8 (4186 Hz). The ear's sensitivity peak evolved to prioritize the frequency range of consonant sounds in human speech. This is also why audio engineers pay special attention to this region when equalizing: small adjustments around 2-5 kHz can dramatically change the perceived clarity and presence of a mix, while the same adjustment at lower frequencies may go unnoticed.

Sharps and flats are equivalent in equal temperament. In the equal-temperament system, C# and Db refer to the same pitch (approximately 277.18 Hz at octave 4). This property is called enharmonic equivalence. The choice between sharp and flat depends on musical context and key signature: sharp is used when writing ascending passages or keys with sharps in the key signature, while flat is used for descending passages or flat keys. This converter uses sharp notation exclusively for simplicity, but the underlying pitch is identical for the enharmonic pair.

Limitations

This converter uses twelve-tone equal temperament, the standard tuning system for Western music since the 18th century. It does not support just intonation, meantone temperament, Pythagorean tuning, or any of the historical and microtonal systems used in non-Western music, early music performance, or contemporary experimental composition. For equal temperament, the fundamental frequencies it calculates assume an idealized string or air column vibrating at a single pure frequency. Real musical instruments produce complex harmonic spectra with multiple partials at integer multiples of the fundamental frequency, and phenomena such as inharmonicity in piano strings, [benade-physics] the variable impedance of wind instruments, and the subtle pitch bends inherent in vocal vibrato mean that the perceived pitch center of a real instrument may deviate slightly from the calculated equal-temperament value. Room acoustics, temperature, and humidity also affect the speed of sound and therefore the perceived pitch, particularly in large performance spaces.

Frequently Asked Questions

Why is A4 = 440 Hz the standard tuning reference?
The 440 Hz standard was adopted by the International Organization for Standardization in 1975 as ISO 16, and it is recognized by the American National Standards Institute and the Acoustical Society of America. Before this standard, tuning varied widely: French orchestras tuned to 435 Hz, German orchestras ranged from 435 to 450 Hz, and Baroque ensembles used 415 Hz. The 440 Hz standard was chosen as a compromise that balanced tonal brightness with string tension limitations on period instruments.
What is equal temperament and why is it used?
Equal temperament divides the octave into twelve equal semitones, each with a frequency ratio of 2^(1/12). This means every semitone step is exactly the same size regardless of starting pitch. Equal temperament became dominant because it allows music to be transposed to any key without retuning the instrument. The trade-off is that every interval except the octave is slightly detuned compared to the pure harmonic ratios of just intonation, but the ability to modulate freely and play in all keys outweighs this compromise for most applications.
How do sharps and flats work in this system?
In equal temperament, a sharp and its enharmonic flat counterpart refer to the same exact pitch. For example, C#4 and Db4 both vibrate at approximately 277.18 Hz. The choice between sharp and flat is a matter of musical notation and key signature convention. Sharp indicates raising a note by one semitone, while flat indicates lowering a note by one semitone. This converter uses sharp notation but the underlying frequency calculation is identical for enharmonically equivalent pairs.
What is a cent in music?
A cent is a logarithmic unit that divides one equal-temperament semitone into 100 equal parts. There are 1200 cents in an octave. Cents allow precise measurement of pitch deviations: zero cents means the pitch is exactly on the target frequency, positive cents means it is sharp, and negative cents means it is flat. The cent scale is logarithmic, so a fixed number of cents represents the same perceptual pitch difference at any point in the frequency spectrum. The formula is cents = 1200 x log2(f / f_target).
What is the highest note on a standard piano?
A standard 88-key piano ranges from A0 (27.5 Hz, MIDI note 21) to C8 (4186 Hz, MIDI note 108). The highest C on the piano vibrates at 4186.01 Hz, which is well within the range of normal human hearing. Some extended-range pianos and digital instruments go higher, but 88 keys cover the full range of most musical repertoire. The MIDI specification extends to note 127 (G9 at approximately 12,544 Hz), which covers the entire audible frequency range.
Can humans hear all MIDI notes?
No. The range of human hearing varies by individual but typically spans from 20 Hz to 20,000 Hz under optimal conditions. MIDI notes 0 to 9 (approximately 8 to 16 Hz) fall below the hearing threshold and are felt as vibrations rather than heard as pitch. MIDI notes above 120 (approximately 8,372 Hz) are audible to most people but become increasingly difficult to perceive as pure pitch, especially for older adults who experience age-related high-frequency hearing loss. The most musically useful MIDI range is approximately note 21 (A0, 27.5 Hz) through note 108 (C8, 4186 Hz), which corresponds to the standard piano keyboard.

References

  1. [1]ISO 16:1975. Acoustics — Standard Tuning Frequency (Standard Musical Pitch). International Organization for Standardization.
  2. [2]ANSI S1.11-2014. American National Standard Specification for Octave-Band and Fractional-Octave-Band Analog and Digital Filters. Acoustical Society of America.
  3. [3]Randel, Don Michael (Ed.). "The Harvard Dictionary of Music." 4th ed. Harvard University Press.Buy on Amazon
  4. [4]MIDI Manufacturers Association. (n.d.). MIDI 1.0 Detailed Specification — Note Number to Frequency Mapping.
  5. [5]Benade, Arthur H. "Fundamentals of Musical Acoustics." 2nd ed. Dover Publications.Buy on Amazon
  6. [6]Acoustical Society of America. (n.d.). ASA Standards — Acoustical Terminology and Tuning References.

Last updated: July 27, 2026

1b

UnByte — Independent Software Engineering

Every calculator references authoritative sources — Editorial policy