Skip to content

Search tools

Online Audio Spectrum Analyzer

Use this spectrum analyzer online with your microphone: press Start, make a sound and see its frequencies live, with peak hold and the strongest note. Nothing is uploaded.

  • Updated
  • Runs on your device

This tool can't run in this browser

Microphone access isn't available here. Open this page in a current Chrome, Edge, Firefox or Safari. In an app's built-in browser, choose Open in browser.

The spectrum analyzer couldn't start

Something went wrong while opening the microphone. Try again, or reload the page.

    More fixes

    Uses your microphone. Audio is analyzed on this device and never uploaded.

    Choose Allow in your browser's prompt.

    Peak –

    Top peaks
    FrequencyNoteLevel
    No clear peaks yet
    Settings
    0.60
    −110 dBFS

    Levels are dBFS (relative to the mic's digital maximum), not sound pressure. Built-in mics roll off lows and highs; compare shapes, not absolute levels.

    Keys: S start/stop · F or Space freeze · P peak hold · L log/linear · B line/bars · R reference · C clear peaks · E PNG.

    Sound is analyzed on this device · Nothing is recorded or uploaded · Free

    How to use this spectrum analyzer online

    Press Start, allow the microphone and make a sound. Peaks show the frequencies in it; the readout above the graph names the strongest one in Hz and as a musical note.

    1. Press Start and choose Allow. This spectrum analyzer online uses your mic live; nothing is recorded.
    2. Bring the sound source close to the microphone: a voice, an instrument, a fan or a speaker playing a tone.
    3. Read the peak. The line “Peak 1,000.2 Hz · −18.4 dBFS · B5 +22¢” names the strongest frequency. The table lists the five strongest peaks.
    4. Freeze (F or Space) to study one moment. Hover or tap the graph to read any frequency.
    5. Save a reference (R) before you change something, then compare the live trace with the dashed line.
    6. Export a PNG picture or a CSV file of the spectrum.

    Other keys: S starts and stops, P cycles peak hold, L switches log and linear, B switches line and bars, C clears peaks.

    How the audio spectrum analyzer works

    The audio spectrum analyzer takes a slice of sound from the microphone and runs a fast Fourier transform (FFT). The FFT splits the slice into frequency bins and measures how much energy sits in each one.

    The FFT size sets the trade-off. At 48 kHz, 8,192 points give bins 5.86 Hz wide from a 171 ms slice; 32,768 points give 1.46 Hz bins but need 683 ms of sound, so fast changes blur. For detail below 100 Hz, use 16,384 or more.

    A log frequency axis gives each octave the same width, which matches how we hear; a linear axis spreads out the highs. Levels are calibrated so a full-scale sine wave reads 0 dBFS. Voice processing (echo cancellation, noise suppression and auto gain) is switched off where the browser allows.

    It works as a sound spectrum analyzer online or a simple online frequency analyzer, but it measures dBFS, not sound pressure, and every microphone colors the result.

    Reading the spectrum

    What you see What it usually means What to do
    One narrow spike A pure tone, a whistle, or an electronic whine Read its frequency; coil whine often moves with load
    Spikes at 50 or 60 Hz and multiples Mains hum from a ground loop or a cable See the hum steps below
    Evenly spaced peaks A voice or an instrument; the lowest peak is usually the note Use the online tuner for pitch
    A broad hump Fan noise, air or water flow Compare before and after with a reference
    A cliff near 16 kHz A lossy file, or the mic’s own limit Normal for MP3s and phone mics
    Bass peaks during a sweep Room modes boosting some bass notes Move the speaker or the listening spot

    The strongest peak can be a harmonic rather than the note you hear, which is why small markers point at the harmonics of the strongest peak.

    Finding hum, whine and room problems

    Hum: the hum finder reports “Mains hum at 50 Hz” or “60 Hz” when it sees two or more harmonics of the power line frequency (50 Hz in most of Europe, Asia and Africa, 60 Hz in North America). Unplug devices one at a time, try a different outlet for everything in the chain, and use balanced cables or a ground-loop isolator if the hum stays.

    Whine: a high, narrow spike that changes when a computer or charger works harder is usually coil whine. Note the frequency and whether it follows the device when you move it.

    Rooms: play a slow sweep from the tone generator on your speakers and watch the peak hold trace for bass bumps. The subwoofer test has bass tones for the same check. Save a reference, move the speaker, and compare.

    If no peaks show up at all, run the mic test to check that the right microphone is selected and not muted.

    Spectrum analyzer vs spectrogram

    A spectrum analyzer shows one moment: level against frequency, right now. A spectrogram shows frequency over time as a scrolling picture, which is better for speech, birdsong, or a noise that comes and goes. To analyze an audio file such as an MP3 instead of the microphone, use the spectrogram, which can open files.

    Frequently asked questions

    Can your phone be a spectrum analyzer?

    Yes. Open this page in your phone's browser, press Start and allow the microphone. The spectrum updates live, just as on a computer. Phone microphones are tuned for speech and often process sound, and they pick up little below about 100 Hz, so compare the shape of the spectrum and the peak frequencies rather than absolute levels.

    Is there a real-time spectrum analyzer for audio?

    Yes, this page is one. It redraws the spectrum on every screen frame, usually 60 times a second, from your microphone. You can choose an FFT size up to 32,768 points for fine detail, hold peaks, freeze the picture and save a reference trace. It's free, needs no install, and the sound never leaves your device.

    What is the best free spectral analyzer?

    It depends on the job. For a quick look at a sound, a hum or a whine, a browser analyzer like this one is fastest. For recorded files, Audacity's Plot Spectrum window is free. For measuring a room or speakers with a calibrated microphone, Room EQ Wizard (REW) is a popular free choice.

    How can I build my own spectrum analyzer?

    In a browser, connect the microphone to a Web Audio AnalyserNode, read getFloatFrequencyData on every animation frame and draw the values on a canvas with a log frequency axis. In Python, record a block of samples, apply a window such as Hann, run numpy's FFT, convert the magnitudes to dB and plot them.

    Can it measure decibels?

    It shows dBFS: decibels relative to the loudest level the microphone input can record, so 0 dBFS is full scale and quieter sounds are negative. That isn't the same as dB SPL, the sound pressure a sound level meter shows. Measuring SPL needs a calibrated meter or microphone.

    Can it analyze radio (RF) or light spectra?

    No. This analyzer only works with sound that reaches your microphone, from about 20 Hz to 20 kHz. Radio signals need a software-defined radio (SDR) receiver or a hardware RF spectrum analyzer, and light needs an optical spectrometer. Neither can be measured through a browser's microphone input.

    • Online Tone Generator

      Pure tone generator (1-22,000 Hz) with sine/square/sawtooth/triangle, fine tuning, sweep, presets and keyboard control.

    • Spectrogram

      Live scrolling spectrogram (waterfall) from the microphone or an uploaded file, with color maps, frequency scale and screenshot export.

    • Mic Test

      Checks that a microphone works: live level meter, waveform, device picker, 'hear yourself' monitoring and more.

    • Subwoofer Test

      Low-frequency tones, sweeps (10-200 Hz) and bass pulses to check a subwoofer's range, crossover and rattles.

    • Online Tuner

      Chromatic tuner using the microphone: detects note, octave and cents, with a needle/strobe display and A4 calibration.

    All tone & frequency tools

    Written and tested by Tanveer Azam Ansari.

    Each tool is checked on real speakers, headphones and microphones in current browsers. How we test

    Updated Report a problem