Music and Acoustics · pitch

Guitar Tuner

Listen through the microphone, or just read the frequency every string should be at.
reference
A = 440.0 Hz
Region Global. Equal temperament and the A440 reference are international standards, so the target frequencies are the same everywhere. The reference is editable because orchestras commonly sit at 442 or 443 and baroque ensembles at 415.

Listen

Standard
Listening off

The microphone is not used until you press that. When you do, the audio is analysed frame by frame in this page to find the pitch, and then discarded. It is never recorded, never stored, and never sent anywhere — there is no upload in this tool and nothing to upload to. Stopping releases the microphone immediately, and your browser lets you revoke the permission at any time.

Tuning, reference pitch and capo
440 Hz is the modern standard. Many orchestras use 442 or 443; baroque ensembles often tune to 415, a semitone below.

Reading

not listening
Press Start listening below, or read the target frequencies further down.
the last 6 seconds — flat below the line, sharp above it. The scale zooms in as you get close, so the last cent is as visible as the first fifty.
signal —
Pick the string you are tuning. That is what lets the tool say nothing rather than guess when another string is still ringing — on tests with a sympathetic string sounding, naming the string turned every wrong answer into an honest refusal.
Target frequencies
StringNoteFrequencyPlay
Detail
Measured, then fixed

Four complaints, four numbers

what a steady-tone test could never see

Everything above was verified against steady synthesised tones, and it passed: a fifth of a cent, no octave errors. Every real complaint about this tool was about something that test cannot see — what happens across the life of a note, and how the number behaves while a peg is turning. So a second harness synthesises a plucked string: exponential decay, partials slightly sharp of true harmonics because a real string is stiff, upper partials dying faster than the fundamental, room noise underneath. It runs the page's own code frame by frame at display rate. Every complaint turned into a number on the first run.

what it doesbeforenow
a plucked low E stays readable for1.9 s of an 8 s note the whole 8 s
…covering12% of the note100%
display blanks and returns, six strings57 times never
overshoot after a 40-cent peg turn5.8 cents none
…and it then settles5.0 cents wrong 0.2 cents wrong
displayed error on a steady low E3.8 cents 0.1 cents
CPU per frame7–12 ms of a 16.7 ms budget 1.1 ms
a guitar played 20 dB quieter16% of a low E readable 100%

The four faults were not one fault. The correlation ran at full sample rate over every lag down to 58 Hz — three and a half million multiply-adds a frame, most of a 60 fps budget, so the browser dropped frames, and dropped frames are lag. The queue of recent readings lost an entry for every rejected frame, so three misses in a row emptied it and the display blanked. The clarity needed to keep a note was fixed, while the clarity of a real note falls steadily as its harmonics die. And the smoother was a median in front of a nonlinear average, which is a lag followed by something that keeps moving after the input stops.

Each got its own fix, and one of them is worth stating on its own: a peak that lands where the pitch already was is evidence in itself. Once a note is being tracked, a peak within a semitone of it is accepted at a sixth of the clarity a cold start needs — and the octave error that a low threshold usually buys is precisely what that agreement test refuses. That is what lets a note stay readable long after its harmonics have gone, which is the part of the note you spend turning the peg.

How it works

Finding a period, not a frequency

A period, not a frequency

Measures how long the waveform takes to repeat. McLeod: correlate the signal with a delayed copy of itself, take the shortest delay nearly as good as the best, interpolate between samples.

Not the loudest partial

On a plucked low E the loudest partial is usually not the fundamental, and small microphones roll off below 100 Hz. Correlation asks when the whole waveform repeats, which does not need the fundamental to be present.

High-pass at 62 Hz

Forwards and backwards, so no phase shift. Mains hum, air conditioning and handling noise sit below the lowest guitar note and cost up to 25 cents on a low E.

Two stages

A coarse pass finds the pitch, the signal is band-passed around it to isolate the fundamental, and the peak is measured there. The stages must agree or the tool says nothing.

Worked example. A guitar string is stiff, so partial n sits a little sharp of n times the fundamental. A waveform of sharp partials does not repeat exactly at the fundamental’s period, so a correlation over the raw signal peaked early and a wound low E read 3.2 cents sharp, every time. It went unnoticed for a year because the test tones were built from exact harmonics, a corpus that left out the one physical property causing the error.
Field notes

Why a guitar is never quite in tune

14 centssharp

Equal temperament is a compromise

Frets are placed for twelve equal semitones, so every key sounds the same and none is exactly right. A major third in equal temperament is 14 cents sharp of the pure interval your ear wants.

Pressing a string sharpens it

Fretting stretches the string, so a guitar tuned perfectly open plays slightly sharp everywhere else. Individually adjustable saddles spread that error rather than remove it.

Tune up to the note, not down

Machine heads and nut slots have slack in them. Arriving from below leaves the string under tension against the post, so it holds; arriving from above leaves it to creep flat as you play.

Beats are the honest test

Two notes a few cents apart make the volume pulse, once per second per hertz of difference. A tuner is faster, but beats tell you the interval is right rather than each note separately.

A new string will not stay

Nylon and freshly wound steel keep stretching for hours. Tune, play, tune again, several times, before deciding the instrument has a problem.

Under the hood

What the tuner does so it can be trusted

461 → 0.2cents

A note cannot teleport

With a second string ringing through a held note the reading used to move 461 cents and take over a second to recover; a clap moved it 0.3 and a voice 3.5, so the problem was other musical sounds, not noise. The tracker now carries a window that travels with the pitch, up to 600 cents a second (about four times a brisk peg turn); anything outside is not the note. A new pitch is adopted only after five consecutive frames, clean (clarity about 0.98) and agreeing within 25 cents, whereas two notes together read 0.55–0.64 and wander tens of cents. A real string change is picked up in a tenth of a second.

5.8 → 0cents overshoot

The display is filtered, and the filter follows you

A one-euro filter: first-order, so it is a weighted average of the past and cannot overshoot; its cutoff rises with the speed of the reading, so it sits still on a held note and follows a turning peg. It replaced a median feeding a variable-weight average: on a 40-cent peg turn that sailed 5.8 cents past and settled 5.0 cents wrong. Now there is no overshoot, reaching the new pitch two hundredths of a second after the peg stops.

−64 / −84dB

Two thresholds, so a fading note is kept

The old single gate rose to meet the note and shut behind it. Now you must be clearly above the room to start a reading (about −64 dB relative to a firm pluck) and barely above it to keep one (down to −84 dB), a gap of 20 dB; the floor learns only from frames where nothing was found. On a two-second decay that is five more seconds of usable reading, the part you spend turning the peg.

0.03 centsmedian

How accurate it is

On steady synthesised tones, on the reading the tool actually displays: 0.03 cents median on a clean signal and 0.24 with mains hum, rumble or handling noise; worst case 0.3 clean and 2.5 contaminated, across 75 cases. Most people cannot hear 5 cents. It refuses to read rather than guess, judging frames by their scatter around a fitted line, so a turning peg reads fine and jitter refuses: 5 of 30 contaminated cases decline.

Why it says the reading will not settle

Almost always a second string is still ringing. With an adjacent open string sounding the tool declines in 23 of 25 cases and the two it reads land about a third of a semitone out. That is a real limit, not a bug: damp the other strings and it resolves at once. Naming a string narrows the search to a minor third either side.

Two ideas built and removed

Searching narrowly around the tracked note before looking at the room changed no number in the test; tightening the band-pass kept a neighbouring string out but made speech four times worse. Measuring them showed they earned nothing, so they went.

Questions

What people ask

How accurate is it?

Measured against synthesised tones of known frequency, on the reading the tool actually displays rather than on a single frame — and, separately, against a synthesised plucked note with things going on around it: another string ringing through it moves the reading 0.2 cents, a clap 0.3 and a nearby voice 3.5, all recovering immediately. On steady tones: 0.03 cents median error on a clean signal and 0.24 cents with mains hum, air-conditioning rumble or handling noise added, worst case 0.3 cents clean and 2.5 cents contaminated, across 75 cases. For comparison, most people cannot hear a 5-cent error, and a fretted guitar is further out than that by design.

It refuses to read rather than guess — but it refuses on the right grounds. The test used to be the total spread of the recent frames, which meant that turning a peg looked exactly like a fault: a steady climb of forty cents is a large spread. The frames are now fitted with a straight line and judged on how far they scatter around it, so a peg being turned reads fine and jitter still refuses. A very noisy signal still sometimes says nothing at all — 5 of those 30 contaminated cases decline.

Why did it used to cut out as the note faded?

Because the gate that decides whether there is a note was a single threshold, and a plucked string spends most of its life below it. Three things were wrong at once: the quietest signal accepted was fixed, a second clarity test in the display code was stricter than the one in the detector, and — worst — the adaptive floor learned from the note itself, so playing loudly raised the very threshold the decay then had to clear. The gate rose to meet the note and shut behind it.

There are now two thresholds. You have to be clearly above the room to start a reading and barely above it to keep one, and the floor only learns from frames where nothing was found. Measured on the shipped detector: acquiring needs about −64 dB relative to a firm pluck and holding runs down to −84 dB, a gap of 20 dB. On a string decaying with a two-second time constant that is five more seconds of usable reading — which is the part of the note you spend turning the peg.

Why does it say the reading will not settle?

Almost always because a second string is still ringing. Two notes together have their own repeating period, and it distorts the answer even when the search is narrowed to one string: on tests with an adjacent open string sounding, the tool declines to read in 23 of 25 cases and the two it does read land about a third of a semitone out. That is a real limit, not a bug to work around — damp the other strings and it resolves immediately.

Does the audio go anywhere?

No. The microphone is only opened when you press start, the audio is analysed in this page and discarded frame by frame, and nothing is recorded, stored or transmitted. There is no upload in this tool. Stopping releases the microphone, and the permission is your browser's to revoke whenever you like.

Why does it ask me to pick a string?

It does not have to — leave it on auto and it will name whatever it hears. But if another string is still ringing, the two notes together have their own repeating period, and a pitch detector that reports it is not making a mistake: the sum really does repeat at that rate. Naming a string narrows the search to a minor third either side, which is the only way to answer "how far is this string out" while another one sounds.

Why is my guitar out of tune at the 12th fret when the open string is right?

Intonation. Pressing a string down stretches it slightly sharp, and the amount depends on the action, the gauge and where the saddle sits. That is why saddles are set individually, and why a guitar tuned perfectly open is never perfectly in tune everywhere at once.

What reference pitch should I use?

440 Hz unless something else in the room says otherwise. Orchestras often sit at 442 or 443, some recordings are at 432, and baroque ensembles commonly use 415 — a semitone flat, which is why the tool goes down that far.

What are the standard guitar tuning frequencies?

At A = 440 Hz the six open strings are E2 82.41, A2 110.00, D3 146.83, G3 196.00, B3 246.94 and E4 329.63 Hz. Each is 440 × 2s/12 Hz, where s is the number of semitones above or below A4; the low E is 29 semitones down.

Twelve-tone equal temperament. Every target frequency here is the reference A times 2 to the power of (semitones ÷ 12). That is the tuning a guitar's frets are built for, and it means no interval except the octave is exactly in tune — the major third is 14 cents sharp of a pure one. The tool reads pitch; it cannot hear your instrument's intonation, string age or action.
Version history · 6 releases
  1. v4.672026-09-07The tuner could never get the microphone: the site’s own Permissions-Policy denied it to itself, so no prompt ever appeared
  2. v4.732026-09-08The tuner cut out as the note faded because the gate learned from the note. Twenty decibels of hysteresis, an adaptive filter, and a graph that zooms in
  3. v5.482026-09-15The guitar tuner reworked against a new harness that plays it a plucked note rather than a steady tone: it held a low E for 1.9 s of 8, blanked 57 times, overshot a peg turn by 5.8 cents and read the low strings 3 cents sharp. All four measured, all four fixed
  4. v5.522026-09-16The tuner stops chasing other sounds: a second string ringing through a held note moved the reading 461 cents, and now moves it 0.2. A tracking window plus a test that tells a deliberate string change from an interruption
  5. v6.62026-09-27Guitar tuner: a steadier reading, a big thumb-sized listen button, and a stale accuracy figure corrected
  6. v6.512026-10-03Homepage ask bar leads with the tool; the guitar tuner number no longer flickers every frame

Releases in which this page changed, newest last. Derived from the archived copy of every release, not from notes written afterwards — so it reflects what actually shipped. Site-wide passes are left out; they are in the full changelog.

Rules of thumb are approximations, offered to get you to the right order of magnitude fast. Check anything load-bearing against its source or the exact tool. Privacy · Terms

© 2026 Rules of Thumb · Runs entirely in your browser