Real-Time Audio Tool

Online Pitch Detector

Use your device microphone to detect exact musical notes, frequency (Hz), and tuning accuracy in cents—100% locally in your browser.

Click Start Microphone to detect pitch in real time.
--
Frequency: -- HzDeviation: --
-50 Flat0+50 Sharp

How to Use the Online Pitch Detector

1. Allow Microphone Access

Click Start Microphone and grant browser permission. Audio is processed locally and never uploaded.

2. Sing or Play a Steady Note

Hold a clear note on your voice, piano, guitar, or wind instrument near the microphone.

3. Read Note, Hz & Cents

Watch the live note name, octave, frequency in Hertz, and whether you are flat, sharp, or in tune.

4. Compare with Reference A4

Tap Play A4 (440 Hz) to hear standard concert pitch and calibrate your ear before practicing.

Understanding Pitch Detection, Frequency (Hz) & Cents

An online pitch detector measures the fundamental frequency of a sound wave—expressed in Hertz (Hz), or cycles per second—and maps that frequency to the nearest note on the Western 12-tone equal temperament scale. Every time you go up one octave, the frequency doubles: A3 vibrates at 220 Hz, concert A4 vibrates at 440 Hz, and A5 vibrates at 880 Hz.

Because human voices and acoustic instruments rarely sit at the exact mathematical frequency of a note, tuners display tuning deviation in cents. Each semitone between adjacent piano keys is divided into 100 equal cents. A reading of 0 cents means the pitch is dead center; negative cents (Flat) mean the pitch is slightly low, while positive cents (Sharp) mean the pitch is slightly high. For singing and acoustic practice, staying within ±10 cents sounds cleanly in tune to most listeners.

Our online pitch detector uses time-domain autocorrelation directly in your browser via the Web Audio API. Autocorrelation compares a short audio frame against time-shifted copies of itself to locate the fundamental period while filtering out silence and unstable background noise. Because all signal processing runs locally on your device, there is zero latency from server round-trips and your microphone audio never leaves your browser.

For the steadier readings when practicing vocals, guitar, violin, or wind instruments, sing or play a single clear note in a quiet room about 20 to 40 cm from your microphone. Use the A4 reference selector (432 Hz, 440 Hz, or 442 Hz) to calibrate your ear before running scales or matching melodies in Keyloro.

Standard Musical Note Frequencies (Octave 4, A4 = 440 Hz)

Note NameMIDI NumberFrequency (Hz)Piano Key Position
C4 (Middle C)60261.63 HzWhite key left of 2 black keys
C#4 / Db461277.18 HzFirst black key in group of 2
D462293.66 HzWhite key between 2 black keys
D#4 / Eb463311.13 HzSecond black key in group of 2
E464329.63 HzWhite key right of 2 black keys
F465349.23 HzWhite key left of 3 black keys
F#4 / Gb466369.99 HzFirst black key in group of 3
G467392.00 HzWhite key in treble clef curl
G#4 / Ab468415.30 HzMiddle black key in group of 3
A4 (Concert A)69440.00 HzStandard tuning reference pitch
A#4 / Bb470466.16 HzThird black key in group of 3
B471493.88 HzWhite key right of 3 black keys

Pitch Detector FAQ

Is my microphone audio recorded or uploaded?

Never. All pitch detection uses the Web Audio API locally on your device, and nothing leaves your browser.

What does cents deviation mean?

A semitone is divided into 100 cents. Within ±10 cents is considered in tune; negative cents mean flat and positive cents mean sharp.

Which instruments work best with this tuner?

Voice, piano, guitar, ukulele, violin, flute, and other melodic instruments producing clear single-note tones.

Why does the reading jump when there is background noise?

Autocorrelation works best on a single clear pitch in a quiet room. Move closer to the mic and play one note at a time.

Warm up your ear and play piano songs next

Practice reading notes and playing guided melodies right in your browser.