Audio & Speaker Tests•Free Online Tool

Online Pitch Detector: Tuner & Frequency Finder (Hz)

Detect musical pitch and note frequencies in real-time with your microphone. Chromatic tuner with cents needle display and frequency finder online.

100% Private (In-Browser)
⚡

Online Pitch Detector: Tuner & Frequency Finder (Hz)

Press Start below to begin instant client-side testing. No data leaves your machine.

AdvertisementReserved layout space (Zero CLS guarantee)

Real-Time Chromatic Pitch Detection & Instrument Tuning

Whether tuning an acoustic guitar before a live performance, practicing vocal intonation for choral rehearsals, calibrating wind instruments, or analyzing the fundamental acoustic resonance of an unknown sound source, accurate pitch detection is essential.

Historically, musicians relied on mechanical tuning forks or dedicated handheld quartz chromatic tuners. Today, modern web browsers equipped with the Web Audio API can execute sophisticated digital signal processing (DSP) algorithms directly on incoming microphone streams with sub-Hertz precision.

Our online Pitch Detector functions as a universal chromatic tuner. Using a high-precision autocorrelation algorithm with parabolic peak interpolation, our tool detects incoming fundamental frequencies (f_0) between 20 Hz and 4,000 Hz, identifies the closest chromatic musical note and octave, and provides a continuous cents needle gauge to guide perfect instrument tuning.

To generate reference tuning frequencies or calibrate your listening environment, check our companion Tone Generator. For testing microphone gain, audio waveforms, and 5-second playback, visit our Mic Test.

How Pitch Detection Algorithms Work: Autocorrelation Explained

Detecting musical pitch from an analog microphone stream is far more complex than simply looking at the loudest frequency peak on an FFT spectrum analyzer. Real-world acoustic instruments (like an acoustic guitar or cello) produce rich harmonic overtone series where the second or third harmonic can actually carry greater electrical energy than the true fundamental frequency (f_0).

To prevent “octave jumping” errors, our tuner utilizes Time-Domain Autocorrelation:

[Raw Audio Signal Waveform]
         │
         ▼
[Autocorrelation Buffer Calculation: c(τ) = ∑ x(t) · x(t + τ)]
         │
         ▼
[Identify First Prominent Periodicity Peak (T0)]
         │
         ▼
[Parabolic Sub-Sample Interpolation]
         │
         ▼
[Fundamental Frequency: f0 = SampleRate / T0]
  1. Waveform Sampling: The browser captures a time-domain buffer of 2,048 floating-point audio samples (at 44,100 Hz or 48,000 Hz).
  2. Lag Correlation: The algorithm multiplies the waveform by a time-shifted copy of itself across varying lag intervals (tau).
  3. Peak Detection: When the lag interval matches the exact physical period (T_0) of the sound wave, the correlation score reaches a maximum peak.
  4. Frequency Extraction: By dividing the hardware sample rate by the detected period (T_0), the fundamental frequency is calculated with microsecond accuracy.

Standard Instrument Tuning Frequencies Reference

Use our tool to tune any common musical instrument across these standard open-string tuning frequencies:

Instrument String 1 String 2 String 3 String 4 String 5 String 6
Standard Guitar E4 (329.6 Hz) B3 (246.9 Hz) G3 (196.0 Hz) D3 (146.8 Hz) A2 (110.0 Hz) E2 (82.4 Hz)
Drop D Guitar E4 (329.6 Hz) B3 (246.9 Hz) G3 (196.0 Hz) D3 (146.8 Hz) A2 (110.0 Hz) D2 (73.4 Hz)
Bass Guitar (4-Str) G2 (98.0 Hz) D2 (73.4 Hz) A1 (55.0 Hz) E1 (41.2 Hz) — —
Standard Ukulele A4 (440.0 Hz) E4 (329.6 Hz) C4 (261.6 Hz) G4 (392.0 Hz) — —
Violin / Fiddle E5 (659.3 Hz) A4 (440.0 Hz) D4 (293.7 Hz) G3 (196.0 Hz) — —
Cello A3 (220.0 Hz) D3 (146.8 Hz) G2 (98.0 Hz) C2 (65.4 Hz) — —

Understanding Cents and Equal Temperament

Our visual needle displays tuning error in Cents:

Cents = 1200 \times \log_2\left(\frac{f_{detected}}{f_{target}}\right)
  • In the twelve-tone equal temperament scale, every octave is divided into 12 semitones, and each semitone is divided into 100 cents.
  • Negative Cents (Left / Flat): The string is under-tensioned and vibrating too slowly. Turn the tuning peg to tighten the string.
  • Positive Cents (Right / Sharp): The string is over-tensioned and vibrating too fast. Loosen the tuning peg slightly.
  • In-Tune Target (Green Center): When the needle lands within pm 4 cents of center, the note text turns bright green, confirming professional tuning accuracy.

Best Practices for Accurate Instrument Tuning

To achieve optimal tuning results in your home or studio:

  1. Pluck Cleanly and Let Ring: Pluck the open string firmly using the flesh of your thumb or a medium pick, and let the note sustain naturally. Do not pluck repeatedly in rapid bursts, as initial pick attack transient noise can momentarily skew autocorrelation.
  2. Minimize Ambient Room Noise: Turn off air conditioners, desk fans, and background music. Low-frequency HVAC rumble can introduce acoustic interference in the 50 Hz to 100 Hz region where bass and guitar strings operate.
  3. Mute Non-Target Strings: When tuning a specific guitar string, lightly rest your fingers on the other five strings to prevent sympathetic acoustic resonance from confusing the pitch detector.
  4. Tune Up, Not Down: If a string is sharp, tune it slightly below target and tune upward into the green zone. This prevents slack in the tuning gear mechanism from slipping out of tune later.

Human Vocal Registers and Frequency Ranges

Vocal coaches and singers use chromatic pitch detection to track vocal range development across standardized classical voice classifications:

  • Bass: E2 (82 Hz) to E4 (330 Hz) — Deep male chest voice.
  • Baritone: A2 (110 Hz) to A4 (440 Hz) — The most common male vocal classification.
  • Tenor: C3 (131 Hz) to C5 (523 Hz) — High male chest and head voice.
  • Contralto: F3 (175 Hz) to F5 (698 Hz) — Deepest female vocal register.
  • Mezzo-Soprano: A3 (220 Hz) to A5 (880 Hz) — The most common female voice type.
  • Soprano: C4 (262 Hz) to C6 (1,046 Hz) — High female vocal register.

By singing sustained notes into our pitch detector, vocalists can identify pitch drift, train perfect ear memory, and test octave transitions across their vocal break (passaggio). Developing pitch agility requires daily vocal warm-ups. Practicing chromatic scales against our needle gauge trains fine muscular control of the vocal cords (vocal folds) and the cricothyroid muscles, allowing singers to eliminate flat notes and maintain stable tonal support.

To test your speakers and stereo balance, explore our Sound Test. To test hearing thresholds and high-frequency limits, take our Hearing Test.

AdvertisementReserved layout space (Zero CLS guarantee)

Frequently Asked Questions About pitch detector

How does this pitch detector calculate frequency from microphone audio?

Our pitch detection algorithm utilizes time-domain autocorrelation with parabolic interpolation (derived from the YIN pitch tracking method). It compares successive time-delayed segments of the digitized audio waveform to calculate the exact fundamental period (T0) of vibration, determining frequency (f = SampleRate / T0) with sub-Hertz accuracy.

What is a 'Cent' in musical pitch tuning?

A cent is a logarithmic unit of measure for musical intervals. There are exactly 100 cents between two adjacent semitones (half-steps) in twelve-tone equal temperament. For example, the interval between C4 and C#4 equals 100 cents. A note is considered professionally in-tune when within ±5 cents of target.

Can I use this online pitch detector to tune an acoustic or electric guitar?

Yes. Our chromatic tuner covers the full frequency range of standard 6-string guitars: Low E (E2 = 82.4 Hz), A (A2 = 110.0 Hz), D (D3 = 146.8 Hz), G (G3 = 196.0 Hz), B (B3 = 246.9 Hz), and High E (E4 = 329.6 Hz).

Can singers use this tool to practice pitch accuracy and vocal range?

Yes. Singers can sustain vocal vowels (such as 'Ah' or 'Oo') to observe their pitch stability and vibrato width in real time, identifying whether they tend to sing flat or sharp.

Why does background room noise interfere with pitch detection?

Autocorrelation pitch algorithms detect the dominant repeating periodicity in an audio buffer. Loud background air conditioners, fan hum, or ambient room chatter can introduce conflicting low-frequency waves, causing the tuner needle to fluctuate.

Is my microphone audio recorded or sent to a server?

No. All audio analysis is performed entirely in client-side JavaScript using the Web Audio API AnalyserNode. No voice recordings or audio streams are ever transmitted to any external server.

What is A440 concert pitch standard?

A440 refers to the musical pitch standard where the note A above middle C (A4) is tuned to exactly 440.0 Hz. It serves as the universal reference calibration frequency for orchestras, digital pianos, and electronic tuners worldwide.

Run complementary component checks from the Audio & Speaker Tests category.

View all Audio & Speaker Tests →
VJ
Vishal JethwaniVerified Author

Hardware Diagnostic Researcher • Gujarat, India

Last Reviewed & Updated:
Review Cycle: 2026 Hardware Benchmarks
Tested on:Chrome 130+, Edge 130+, Firefox 132+, Safari 18+ (macOS, Windows 11)