Online Pitch Detector
Use your device microphone to detect exact musical notes, frequency (Hz), and tuning accuracy in cents—100% locally in your browser.
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 Name | MIDI Number | Frequency (Hz) | Piano Key Position |
|---|---|---|---|
| C4 (Middle C) | 60 | 261.63 Hz | White key left of 2 black keys |
| C#4 / Db4 | 61 | 277.18 Hz | First black key in group of 2 |
| D4 | 62 | 293.66 Hz | White key between 2 black keys |
| D#4 / Eb4 | 63 | 311.13 Hz | Second black key in group of 2 |
| E4 | 64 | 329.63 Hz | White key right of 2 black keys |
| F4 | 65 | 349.23 Hz | White key left of 3 black keys |
| F#4 / Gb4 | 66 | 369.99 Hz | First black key in group of 3 |
| G4 | 67 | 392.00 Hz | White key in treble clef curl |
| G#4 / Ab4 | 68 | 415.30 Hz | Middle black key in group of 3 |
| A4 (Concert A) | 69 | 440.00 Hz | Standard tuning reference pitch |
| A#4 / Bb4 | 70 | 466.16 Hz | Third black key in group of 3 |
| B4 | 71 | 493.88 Hz | White 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.