100% free · No sign-up · Audio never leaves your device

Real-Time Pitch Detector for Voice & Instruments

Quickly detect any voice or instrument note using our online pitch detector. It tracks octave, frequency, deviation for piano, guitar, vocals and more. This is a free browser tool and requires no installation of software. This pitch detector tool listens to the voice through your microphone and detects the musical note of your voice or any musical instrument.

Live pitch detector

Works with your voice and with any pitched instrument. Headphones are optional.

Microphone: not connected yet

Tip: press Space to start or stop detection at any time.

Singing? Pick your voice type so the detector locks to the right octave automatically. Playing an instrument? Leave it on Any.

Octave correction: off — showing whatever octave is detected

Pitch tuning meter An animated needle showing how many cents the detected pitch is above or below the nearest note. -50-25 0+25+50

--

0.0 Hz

Play or sing a note to begin

♭ Too flat — tune up ✓ In tune ♯ Too sharp — tune down

Current note --
Octave --
Frequency -- Hz
Target frequency -- Hz
Cent deviation --
Sharp / flat --
Signal strength ?
Silent
Tuning accuracy ?
Waiting for a tone
440 Hz

Click a key, or press the keyboard, to hear a reference note

Every key has a shortcut, shown underneath it — Z–M and the row above for the lower octave, Q–I and the row above for the upper. Use headphones so the tuner doesn't pick the note back up.

Live waveform the shape of the sound reaching your mic
Frequency over time how steady your pitch is

Processing happens entirely inside this page. No audio is uploaded, recorded, or shared.

Tips for a rock-solid reading

All you need is some preparation to get the exact results.

  • Quiet room. Turn off your AC and fan and stay away from traffic when detecting a pitch.
  • One note at a time. Our detector works best when you play one note at a given time. Kindly do not try to play a chord with multiple notes.
  • Hold the note 2 seconds. Pitch algorithms need several complete wave cycles. Therefore, low notes need longer windows.
  • Sing "ah" or "oh". Open vowels like ah, oh, ee sounds have a strong fundamental. Avoid whispering or breathy tone.
  • Use headphones for playback. Do not use speaker for a reference tone because the mic records the voice too. Instead use headphones for playback.
  • Pluck softly. A hard pick attack is briefly sharp, let the string settle for a second before reading.
  • Drink water. Sip water and relax your throat. A dry throat can reduce your singing range.

How to use it in 3 steps

All you have to do is sing two notes and get your results in just a few minutes.

  1. Step 1

    Allow microphone

    Click on Start detection button and then give permission to the microphone. After that, reach your lowest note that you can hold without putting pressure on your voice. Now lock in your note once the reading is steady.

  2. Step 2

    Sing or play an instrument

    Sing to the highest note in which you are comfortable and take the process very slow. Do not try to shout or put pressure on your voice. Keep a natural voice and try to hold the note.

  3. Step 3

    Read your result

    See how high and low you can sing and your vocal range. You can even check your voice type and the notes you can sing on a piano.

More free music tools

Specialised tuners and tests built on the same accurate, on-device pitch engine.

How does pitch detection work?

The short version, then the science.

The four stages

  1. Capture. getUserMedia() opens the microphone and the Web Audio API delivers raw samples, typically 44,100 or 48,000 per second.
  2. Window. Samples are collected into short overlapping blocks of about 2,048–4,096 samples (≈45–90 ms). Pitch is assumed to be roughly constant inside a block.
  3. Estimate the period. The block is compared with time-shifted copies of itself. The shift that produces the best match is the period T of the waveform. Frequency is simply f = 1 / T. This is autocorrelation; this page uses a normalised square-difference refinement in the family of the YIN and MPM algorithms, plus parabolic interpolation for sub-sample precision.
  4. Convert to a note. The frequency is mapped onto the equal-tempered scale, then the residual is expressed in cents.

The mathematics

MIDI note number n from frequency f with reference A4:

n = 69 + 12 · log2( f / A4 )

Rounding n gives the nearest note; the note name comes from n mod 12 and the octave from ⌊n / 12⌋ − 1. The target frequency of that note is:

ftarget = A4 · 2(n − 69) / 12

And the deviation in cents is:

cents = 1200 · log2( f / ftarget )

Because the scale is logarithmic, one semitone is always 100 cents and one octave is always 1200 cents, whether you are at 55 Hz or 1,760 Hz — even though the hertz gap between adjacent semitones grows as pitch rises.

Why a tuner sometimes disagrees with your ear

As we know that a real instrument does not produce a single sine wave. Instead it produces a harmonic series like 2f, 3f, 4f and so on.

Your brain combines these different sounds and recognises them as one note, even though the main frequency / fundamental is missing. And this process is known as the missing fundamental phenomenon. Our Pitch detector uses similar techniques in software to identify the correct note. However since it's a tool, it can make two known common mistakes.

  • Octave errors. Sometimes it may happen that the software mistakes a note for the same note one octave lower because it detects a longer sound pattern. This usually happens when the main frequency is weak. However you can avoid this error by holding the note steadily and staying close to the microphone.
  • Inharmonicity. Now this is interesting. Some instrument strings like low piano and bass strings, produce overtones that are slightly different from the expected frequencies. That is why piano tuners adjust notes slightly higher or lower.

The majority of people can notice a small pitch difference of around 5 to 10 cents when listening to a steady musical note. Whereas trained musicians can easily detect even smaller differences of around 2 to 3 cents. That is why a plus minus of 5 cent range on the tuning meter is considered a good standard for everyday music making.

Learn the concepts

Everything below is standard, textbook music acoustics — written plainly.

What is a Pitch Detector?

A pitch detector tool listens to a sound and finds out the musical note that you are playing or even singing. It shows results in three different ways like note name such as A4 or C5. The sound frequency in Hz. And cents like how close your sound is to the actual musical note.

Let us take the guitar tuner as an example of a pitch detector. Now the tuner helps you adjust and tune your guitar and you can see if the note is too high or too low. Many singing apps use pitch detectors. These detectors can tell how voice changes over time. Many music programs use a pitch detector to correct wrong notes and tunes.

Our pitch detector tool is useful to test different types of sounds. There is no need for a particular musical instrument. You can use it for your own voice, testing a violin, piano, flute or other music instruments if you like.

What is frequency?

Sound is a pressure wave. Frequency is how many complete cycles of that wave pass a point each second. Double the frequency and you go up exactly one octave; halve it and you go down one octave. A few landmarks:

Reference frequencies in equal temperament with A4 = 440 Hz
NoteFrequencyWhere you meet it
E282.41 HzLowest string of a standard guitar
A2110.00 HzTypical bass-baritone comfortable low note
C4261.63 HzMiddle C on the piano
A4440.00 HzConcert pitch tuning reference (ISO 16)
C5523.25 Hz"Top" of many pop vocal melodies
A5880.00 HzOne octave above concert A
C84186.01 HzHighest key on an 88-key piano

What is a hertz (Hz)?

Hertz is used to measure how fast something vibrates. We may feel it is a bit confusing at first, but it is really easy to understand. 1 Hertz means one vibration in a second. So if it is 440 Hz then the sound vibrates 440 times in one second. When something vibrates faster, we usually hear a higher-pitched sound. The unit Hertz gets its name from a scientist named Heinrich Hertz.

Our ears can only hear sounds between 20 Hz and 20,000 Hz. This includes both low and high sounds. But our hearing capacity becomes low with age and hearing very high sounds can become difficult. A normal piano has notes that start at 27.5 Hz and go up to 4186 Hz. The first one is its lowest note and the second is its highest note.

You may also see the word kilohertz when learning about sound. Many people know it is another way of writing a bigger number. 1 kHz means 1000 Hz and most audio recordings use 44.1 kHz or 48 kHz. These numbers tell us how many times a microphone measures sound in one second. So you can tell that Hz tells us how fast something vibrates while kHz is a bigger unit used to measure it.

Difference between pitch and frequency

They are related but not the same thing, and mixing them up causes a lot of confusion.

FrequencyPitch
NatureA physical property of the waveA perceptual judgement made by the listener
Measured inHertz (cycles per second)Note names, scale degrees, cents
Measured byInstruments — oscilloscopes, analysersHuman hearing (and models of it)
ScaleLinear: 100 Hz → 200 Hz is +100 HzLogarithmic: 100 Hz → 200 Hz is +1 octave
Can exist without the other?Yes — ultrasound has frequency but no perceived pitchYes — the missing-fundamental effect gives pitch with no energy at that frequency

Three practical consequences:

  • Loudness slightly colours perceived pitch, so a very loud low note can sound marginally flat even when the meter reads 0 cents.
  • Timbre matters: a bright sawtooth and a dull sine at the same frequency have the same pitch but feel different, and beginners often hear the brighter one as "higher".
  • Equal steps in pitch are equal ratios in frequency. That is why the meter reports cents, which behave the same at every register, instead of hertz.

Supported voices and vocal ranges

The detector works across the full practical singing range. Classical voice types and their conventional ranges:

Typical vocal ranges (individual singers vary widely)
Voice typeRangeApprox. frequency
SopranoC4 – C6262 – 1047 Hz
Mezzo-sopranoA3 – A5220 – 880 Hz
Alto / ContraltoF3 – F5175 – 698 Hz
CountertenorG3 – E5196 – 659 Hz
TenorC3 – C5131 – 523 Hz
BaritoneG2 – G498 – 392 Hz
BassE2 – E482 – 330 Hz

Children's voices typically sit between A3 and F5 before the voice changes. Growled, whispered, screamed or heavily distorted vocals have no stable fundamental, so no tuner can track them reliably — that is a property of the sound, not a limitation of this page.

Who can use this pitch detector?

Singers & vocal students

If you enjoy singing then this pitch detector tool can be useful to see whether you are on the right notes. When you are singing, see the tool and you will know if your pitch is high or low. The graph will tell you everything.

People who play musical instruments

Anyone can use this tool to check the tuning of any musical instrument like a guitar or a violin and will get the correct results.

Music teachers

A music teacher can also use this tool for teaching music chapters. Students easily understand by looking at the readings. They can understand if a note is too high or too low by looking at the graph. It helps with learning pitch and tuning.

Producers & engineers

Someone who works in music can easily use this pitch detector to see the notes of any recorded sounds. See if the guitar playing is tuned properly or a piano is playing the right notes.

Speech & voice therapy

This tool can also help people who want to control and check the tone in which they speak. See the pitch of the normal voice and how it changes during practice. A really useful tool for voice training and to improve presentation skills.

Students & makers

Many students take interest in the sound chapter of physics. And a pitch detector is used for different experiments to test sounds. School books often show examples with tuning forks and strings. The tool detects how fast the fork vibrates. A visual example makes it very easy for students to learn.

Common uses

  • Tuning an instrument without a hardware tuner or clip-on device
  • Ear training — sing a note, then check whether you hit it
  • Finding the key or root note of a riff, sample or loop
  • Warm-ups: mapping your comfortable range from lowest to highest note
  • Verifying an alternate tuning such as Drop D, DADGAD or Open G
  • Matching an ensemble tuned to A4 = 442 Hz or a baroque group at 415 Hz
  • Checking a tuning fork, singing bowl, wine glass, or a piece of pipe
  • Teaching cents, octaves, harmonics and equal temperament visually
  • Monitoring speaking pitch for coaching or therapy homework

Worked example

You pluck the low E string on a guitar and the readout shows E2 · 80.9 Hz · −32 cents. The target for E2 is 82.41 Hz, so you are almost a third of a semitone flat. Tighten the tuning peg slowly; the needle sweeps to the right and the accuracy gauge climbs. When it reads E2 · 82.4 Hz · −1 cent in the green zone, stop — one cent is far below the audible threshold and chasing 0.0 will only fight the string's natural settling.

Troubleshooting

Almost every problem is one of these six.

The browser never asks for microphone permission

Permission prompts require a secure context. Make sure the address bar shows https:// (or localhost during development). Also check that the page is not inside an <iframe> without a microphone permission policy, and that no extension is blocking media capture. Try a normal window rather than a private/incognito one.

I clicked "Block" by mistake — how do I undo it?

Click the padlock or tune icon at the left of the address bar, find Microphone, set it to Allow, then reload. On iOS, go to Settings → Safari → Microphone, or Settings → Safari → Advanced → Website Data if the site is remembered as blocked. On Android Chrome: ⋮ → Settings → Site settings → Microphone.

"No microphone found"

Your device has no input device the browser can see. Plug in a headset or USB mic, check the OS sound settings show the device as enabled and not muted, close other apps that may hold exclusive access (some conferencing and DAW software does), then reload the page.

No sound is being detected even though I'm singing

The signal-strength bar tells you what the page hears. If it stays flat: the wrong input is selected in your OS, the input gain is at zero, the mic is physically muted (many headsets have an inline switch), or a hardware mute key is active. Move within 30 cm and sing an open "ah" — laptop mics are often on the far edge of the chassis.

The note flickers between two values

You are sitting exactly between two semitones, or the tone is too quiet for a stable estimate, or several notes are sounding at once. Play a single sustained note, get closer to the mic, and give it two seconds. If it flickers by exactly one octave, the fundamental is weak — try a fuller, more open tone.

The room is too noisy

A warning appears when the background level is high relative to your note. Turn off fans, air conditioning and other music, close windows, and move away from computer fans. Soft furnishings help. If you cannot control the room, use a close-talking headset or clip-on mic so your tone dominates the noise floor.

The readings look wrong by exactly one octave

This is the classic octave error described above. Low, breathy or heavily filtered sounds have little energy at the fundamental, so the tracker may lock onto a harmonic or a sub-multiple. Sing more openly, play with a fuller tone, or move the mic closer to the sound source.

Everything reads slightly sharp or flat

Check the A4 reference slider. If it is set to 442 Hz, every note will read about 8 cents flat compared with a 440 Hz instrument. Press Reset to return to 440 Hz. Also remember that instruments drift with temperature — a guitar taken from a cold car reads flat until it warms up.

Frequently asked questions

Is this pitch detector free to use?

Yes — completely free, no account, no limits, nothing to install. It is a single web page that runs in your browser.

Is my microphone audio uploaded anywhere?

No. Analysis happens locally with the Web Audio API. Audio frames are examined and immediately discarded; nothing is recorded, stored or transmitted.

How accurate is the pitch detection?

With a clean sustained tone in a quiet room, expect roughly 1–3 cents of error — finer than most listeners can hear. Accuracy degrades with background noise, very short notes, heavy vibrato, and at the extremes of the frequency range.

What is a cent in music?

A cent is one hundredth of an equal-tempered semitone, so an octave holds 1200 cents. Because it is a ratio-based unit, one cent means the same musical distance at every pitch. Within about ±5 cents most people call a note in tune.

Can I tune a guitar, violin, ukulele or piano with it?

Yes. Sound one string or key at a time and let it settle. For piano, note that professional tuning also involves deliberate octave stretching because of string inharmonicity, so a mathematical tuner is a guide rather than the whole job.

Why does the detected note keep jumping around?

Weak signal, noisy room, or more than one note sounding. Move closer, silence other sources, and sustain a single note. Breathy or whispered voices lack the stable fundamental a tracker needs.

Does it work on iPhone and Android?

Yes, in modern mobile browsers. The page must be served over HTTPS, and you must tap Start Detection — mobile browsers only unlock audio input after a user gesture.

Why can I change the A4 reference from 440 Hz?

440 Hz is the ISO 16 standard, but many orchestras tune to 442 or 443 Hz for brightness, and historically informed ensembles often use 415 Hz. Setting the reference shifts every target frequency so the meter matches your ensemble.

Ready to check your pitch?

One button, instant feedback, nothing to install.

Open the tuner