Spectrum Analyzer

See every frequency in a sound as it happens. Start your microphone, capture audio from a browser tab or open an audio file.

Peak–
View

How to use the spectrum analyzer

  1. Choose a source. Start microphone analyzes the sound around you. Tab or screen audio analyzes music or video playing in another tab, digitally and with no microphone (desktop Chrome and Edge). Audio file plays and analyzes any MP3, WAV, M4A, OGG or FLAC on your device.
  2. Read the peak. The loudest frequency is shown above the graphs, with the nearest musical note and how many cents it is off.
  3. Point at anything. Hover or tap the spectrum to read the exact frequency and level at that point. On the spectrogram, it reads the frequency at that height.
  4. Freeze to hold the current picture so you can study it, and choose a larger FFT size when you need finer frequency detail.
The spectrum analyzer showing a voice with mains hum: a spectrum graph with the crosshair reading 60 Hz, the peak frequency readout, and a scrolling spectrogram below
  1. Pick the audio source: microphone, a browser tab, or a file.
  2. The strongest frequency right now, its musical note, and its level.
  3. Spectrum: frequency from 20 Hz to 20 kHz on a log scale, level in dB. The thin gray line holds recent peaks. Hover to read any point.
  4. Spectrogram: time scrolls left, frequency rises upward, and brighter means louder. The steady horizontal lines here are 60 Hz hum and its harmonics. The vertical blobs are words.
  5. Freeze the display to study it.
  6. View, FFT size (frequency detail), smoothing and the bottom of the level range.

How to read a spectrum

The horizontal axis is frequency, from deep bass on the left (20 Hz) to the highest treble on the right (20 kHz). It’s logarithmic, like a piano keyboard: each octave takes up the same width. The vertical axis is level in decibels, and higher means louder.

A pure tone shows as a single sharp spike. Real instruments and voices show a fundamental (the note you hear) plus a series of harmonics at 2×, 3×, 4× that frequency. The pattern of harmonics is what makes a piano sound different from a flute. Try it: run the microphone, play these 220 Hz tones through your speakers, and watch the spectrum.

Spectrum of a 220 Hz square wave: a tall peak at 220 Hz and smaller, evenly spaced peaks at 660 Hz, 1.1 kHz, 1.54 kHz and above
A 220 Hz square wave. The fundamental at 220 Hz is followed only by odd harmonics (660 Hz, 1.1 kHz, 1.54 kHz…), each one quieter. That’s why square waves sound hollow and buzzy.

How to read a spectrogram

The spectrogram shows the last several seconds as an image. Time moves from right to left, frequency rises from bottom to top, and color shows level, from black (silent) through purple and orange to pale yellow (loudest). It reveals things a spectrum can’t:

  • Steady horizontal lines are constant tones such as hum, a whine, or a fan’s blade frequency.
  • Stacked, parallel lines that move together are a voice or instrument: the fundamental and its harmonics.
  • Vertical streaks are short broadband sounds such as clicks, claps and consonants like “t” and “s”.
  • A flat ceiling across all sounds shows the bandwidth limit of the microphone, Bluetooth link or compressed file.

Play a frequency sweep and watch it draw a rising curve:

What each frequency range sounds like

RangeFrequenciesWhat lives there
Sub-bass20–60 HzRumble you feel more than hear: kick drum weight, pipe organ, mains hum (50/60 Hz)
Bass60–250 HzBass guitar, the fundamental of male voices (85–180 Hz), boominess
Low mids250–500 HzBody and warmth. Too much sounds muddy or boxy
Mids500 Hz–2 kHzMost instruments’ fundamentals, the “honk” of a telephone
Upper mids2–4 kHzSpeech clarity. The ear is most sensitive here, so feedback often starts here
Presence4–6 kHzDefinition and closeness of voices and instruments
Brilliance6–20 kHz“S” sounds, cymbals, air and sparkle. The first range lost with age

Practical uses

  • Find hum and noise. A sharp peak at 50 or 60 Hz with its harmonics is electrical hum. A broad hump around 100–300 Hz is usually a fan or HVAC system. A whine at a single high frequency is often a charger or coil.
  • Stop feedback. When a PA system or a mic near a speaker starts to ring, one frequency shoots up. Read it here, then cut that frequency with a narrow EQ notch.
  • Check a microphone. Speak and see how much high-frequency detail it captures, and how loud its background noise is. Pair this with the mic test.
  • Tune and identify notes. The peak readout shows the note and how many cents sharp or flat it is.
  • Check your speakers and room. Play white noise from the noise generator and capture it with a microphone: an ideal system would show a flat line. Dips and bumps show your speakers’ and room’s coloration, especially in the bass.
  • Spot fake lossless audio. Open a FLAC or WAV file and look at the spectrogram. If everything stops sharply at 16 kHz, it was made from a low-bitrate MP3.

FFT size and settings

The analyzer uses a Fast Fourier Transform (FFT) to split the audio into frequency bands. A bigger FFT gives narrower bands (finer frequency detail), but each analysis covers a longer slice of time, so it reacts more slowly. At a 48 kHz sample rate:

FFT sizeFrequency resolutionTime windowBest for
204823.4 Hz43 msFast-changing sounds, speech
409611.7 Hz85 msGeneral use
81925.9 Hz171 msMusic, default
163842.9 Hz341 msBass detail, room modes
327681.5 Hz683 msSeparating close tones, hum harmonics

Smoothing averages each frame with the previous ones. Higher values give a calmer, easier-to-read curve, and lower values show every flicker. Range sets the quietest level shown. Lower it to see faint detail, or raise it to hide the noise floor.

Capturing audio from a browser tab

  1. Click Tab or screen audio.
  2. In the sharing dialog, choose the Chrome Tab (or Edge Tab) section and pick the tab that’s playing audio.
  3. Make sure Also share tab audio is switched on, then click Share.
  4. To stop, click Stop sharing in the browser bar or Stop here.

On Windows you can also share an entire screen with Share system audio turned on, which captures everything your computer plays, including desktop apps.

Frequently asked questions

What is the difference between a spectrum and a spectrogram?

A spectrum is a snapshot: how loud each frequency is right now, with frequency across and level up. A spectrogram adds time: it scrolls from right to left, frequency runs up the side, and brightness shows level. Use the spectrum to read exact frequencies and levels, and the spectrogram to see how a sound changes, such as speech, birdsong or a frequency sweep.

Why do I see peaks at 50 or 60 Hz?

That’s mains hum from the electricity supply: 50 Hz in Europe, most of Asia, Africa and Australia, and 60 Hz in North and Central America and parts of South America and Asia. Harmonics often appear at 100/150 Hz or 120/180 Hz. It usually comes from a ground loop, an unshielded cable, or a laptop charger plugged in. Try running on battery to see if it disappears.

Why is there nothing above 16 kHz?

For a music file, that’s usually lossy compression: MP3 and some AAC encoders cut everything above about 16 kHz at low bitrates, which makes the spectrogram a quick way to spot a “fake lossless” file. For a microphone, many laptop, phone and Bluetooth mics simply don’t pick up much above 8–16 kHz.

Can I analyze music from YouTube or Spotify?

Yes, on desktop Chrome and Edge. Click Tab or screen audio, choose the tab that’s playing, and make sure Also share tab audio is switched on. The analyzer reads the digital audio directly, with no microphone in between. For the Spotify app, share your entire screen with system audio (Windows only), or use the microphone.

What do the dB values mean?

They’re levels relative to digital full scale for each frequency band. 0 dB is the loudest possible, so real readings are always negative. They’re useful for comparing frequencies with each other, but they aren’t sound pressure levels. To measure loudness in dB SPL, use the decibel meter.

How accurate is it?

The frequency readings are precise: the peak readout interpolates between FFT bins and is typically accurate to well under 1 Hz with a large FFT size. Levels are as accurate as your audio source. A file or browser tab is analyzed exactly, but a microphone adds its own frequency response, especially at the lowest and highest frequencies.

Does it work on a phone?

Yes. The microphone and audio file modes work in mobile Safari and Chrome. Tab and screen audio capture isn’t available on phones, so that button is hidden there.

Is my audio recorded or uploaded?

No. All analysis happens in your browser in real time. Nothing is stored or sent to a server, and opened files never leave your device.