Music Frequency to Note Converter
Practice and calculate music frequency note with our free tool. Includes worked examples, visual aids, and learning resources.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Music Frequency to Note Converter
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: MIDI = 69 + 12 x log2(Frequency / Reference A4)
Worked example โ Note: E4 | MIDI: 64 | Deviation: +0.01 cents (in tune) | Wavelength: 104.1 cm
Formula
MIDI = 69 + 12 x log2(Frequency / Reference A4)
Where Frequency is the input in Hz and Reference A4 is the tuning standard (default 440 Hz). The note name and octave are derived from the MIDI number. Cents deviation measures the fractional semitone difference between the input frequency and the nearest note.
Worked Examples
Example 1: Identifying an Unknown Frequency
Problem:A tuner reads a frequency of 329.63 Hz from a guitar string. Identify the note, its octave, and any cents deviation from standard tuning at A4 = 440 Hz.
Solution:Semitones from A4 = 12 x log2(329.63 / 440) = 12 x log2(0.749) = 12 x (-0.4167) = -5.0 MIDI note = 69 + (-5) = 64 = E4 Exact frequency of E4 = 440 x 2^(-5/12) = 329.628 Hz Cents deviation = (329.63 - 329.628) / 329.628 x 1731 = +0.01 cents Wavelength = 343 / 329.63 = 1.041 meters
Result:Note: E4 | MIDI: 64 | Deviation: +0.01 cents (in tune) | Wavelength: 104.1 cm
Example 2: Converting Between Tuning Standards
Problem:An orchestra tunes to A4 = 443 Hz. What frequency should a violinist play for middle C (C4) in this tuning system?
Solution:C4 is 9 semitones below A4 MIDI note of C4 = 60, A4 = 69, difference = -9 semitones Frequency = 443 x 2^(-9/12) Frequency = 443 x 2^(-0.75) Frequency = 443 x 0.5946 Frequency = 263.42 Hz Compared to standard: 261.63 Hz (A4=440), difference = +1.79 Hz
Result:C4 at A4=443 Hz tuning: 263.42 Hz (1.79 Hz higher than standard C4 at 261.63 Hz)
Frequently Asked Questions
How does frequency relate to musical pitch?
Frequency and musical pitch are directly related through a logarithmic relationship. Higher frequencies produce higher-pitched sounds, and the relationship between notes follows a geometric progression. In the Western equal temperament tuning system, each octave represents a doubling of frequency, and each semitone represents a frequency ratio of the twelfth root of 2, approximately 1.05946. This means that A4 at 440 Hz leads to A5 at 880 Hz and A3 at 220 Hz. The logarithmic nature of pitch perception means that humans perceive equal ratios of frequency as equal intervals of pitch, which is why doubling a frequency always sounds like the same musical interval regardless of the starting point.
What are cents and how are they used in tuning?
Cents are a logarithmic unit of measurement for musical intervals, where one cent equals one hundredth of a semitone. This means there are 1200 cents in an octave and 100 cents between any two adjacent notes in equal temperament. Cents provide a precise way to measure small pitch differences that are impractical to express in frequency ratios. A trained musician can typically perceive pitch differences as small as 5 to 10 cents, while differences under 2 cents are generally considered imperceptible. Tuners and digital tuning applications display deviations in cents, making it easy to see how far a note deviates from its intended pitch. The formula to convert a frequency ratio to cents is cents equals 1200 times the base-2 logarithm of the frequency ratio.
What is equal temperament and how does it differ from other tuning systems?
Equal temperament divides the octave into 12 exactly equal semitones, each with a frequency ratio of the twelfth root of 2. This system allows music to be played in any key with the same relative tuning, making key changes and modulations seamless. However, equal temperament slightly compromises the purity of intervals compared to just intonation, where intervals are based on simple whole-number frequency ratios. In just intonation, a perfect fifth has a ratio of exactly 3 to 2, while in equal temperament it is approximately 2.9966 to 2, which is about 2 cents narrower. Pythagorean tuning uses pure fifths stacked to generate all notes but produces a comma error when returning to the starting pitch. Meantone temperament compromises fifths to produce purer thirds. Each system has advantages for specific musical contexts.
What is MIDI note number and how does it relate to frequency?
MIDI (Musical Instrument Digital Interface) assigns a number from 0 to 127 to each musical note, with middle C defined as MIDI note 60 and A4 as MIDI note 69. The formula to convert MIDI note number to frequency is frequency equals 440 times 2 raised to the power of (MIDI note minus 69) divided by 12. Conversely, to convert frequency to MIDI note number, the formula is MIDI equals 69 plus 12 times the base-2 logarithm of frequency divided by 440. MIDI note 0 corresponds to C-1 at approximately 8.18 Hz, and MIDI note 127 corresponds to G9 at approximately 12,543.85 Hz. The MIDI system only represents discrete semitones, so pitch bend messages are used for continuous pitch control between notes.
What frequency range can human ears detect?
The typical range of human hearing spans from approximately 20 Hz to 20,000 Hz, though this varies significantly with age and individual sensitivity. Low-frequency hearing extends down to about 20 Hz, which corresponds roughly to the lowest note on a piano (A0 at 27.5 Hz). High-frequency sensitivity decreases substantially with age due to presbycusis, with many adults losing the ability to hear above 15,000 Hz by middle age. The most sensitive frequency range for human hearing is between 2,000 and 5,000 Hz, which corresponds to the upper register of the human voice. Musical instruments span a wide range: a piano covers 27.5 Hz to 4,186 Hz in fundamental frequencies, while harmonics extend much higher. Bass frequencies below 80 Hz are often felt physically as much as they are heard.
What is the relationship between wavelength and frequency?
Wavelength and frequency are inversely proportional, connected by the speed of sound. The formula is wavelength equals speed of sound divided by frequency. At room temperature of about 20 degrees Celsius, the speed of sound in air is approximately 343 meters per second. This means A4 at 440 Hz has a wavelength of about 78 centimeters, while low C2 at 65.4 Hz has a wavelength of about 5.24 meters, and high C8 at 4186 Hz has a wavelength of only about 8.2 centimeters. Wavelength is important for understanding room acoustics, speaker placement, and instrument design. Instruments that produce low frequencies require longer resonating bodies, which is why a bass guitar has longer strings than a regular guitar and why organ pipes for low notes can be over 10 meters long.
How do harmonics and overtones relate to fundamental frequency?
The fundamental frequency is the lowest frequency produced by a vibrating object and determines the perceived pitch of the note. Harmonics are integer multiples of the fundamental: the second harmonic is twice the fundamental, the third is three times, and so on. Overtones are all frequencies above the fundamental, which may or may not be harmonic depending on the instrument. A guitar string vibrating at 110 Hz (A2) produces harmonics at 220 Hz (A3), 330 Hz (E4), 440 Hz (A4), 550 Hz (C#5), and so forth. The relative strength of these harmonics defines the timbre or tonal color that distinguishes different instruments playing the same note. A clarinet emphasizes odd harmonics while a violin has a rich spectrum of both odd and even harmonics.
What is concert pitch and has it changed over time?
Concert pitch is the agreed-upon reference frequency used by an ensemble for tuning, currently standardized at A4 equals 440 Hz for most modern Western music. Historically, concert pitch has varied dramatically. During the Baroque era around 1700, pitch was generally lower, with A4 ranging from 392 to 420 Hz depending on the region. By the Classical period around 1800, it had risen to approximately 420 to 435 Hz. During the 19th century, competitive pitch inflation drove frequencies higher, with some orchestras reaching A4 at 455 Hz or above, which strained singers voices and instruments. The 1939 international conference in London recommended 440 Hz to establish a universal standard. Today, most major European orchestras tune between 440 and 444 Hz, while Baroque specialists often use 415 Hz or 392 Hz for period-authentic performances.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎArchitectural Scale Converter
Calculate architectural scale converter with inputs, formulas, and instant results.
๐งฎCmyk to Pantone Converter
Calculate cmyk to pantone converter with inputs, formulas, and instant results.
๐งฎColor Space Converter
Calculate color space converter with inputs, formulas, and instant results.
๐งฎHue to Rgb Converter
Calculate hue to rgb converter with inputs, formulas, and instant results.
๐งฎPantone to RGB Converter (with Hex Code)
Calculate pantone to rgb converter with inputs, formulas, and instant results.
๐งฎSaturation Luminance Converter
Calculate saturation luminance converter with inputs, formulas, and instant results.
๐งฎGrading Scale Converter
Calculate grading scale converter with inputs, formulas, and instant results.
๐งฎLetter Grade to Percentage Converter (AโF Scale)
Calculate letter grade to percentage converter with inputs, formulas, and instant results.