Home / Science / Physics / Acoustics and wave physics / Audio spectrum analyserTool #940

Audio spectrum analyser: live microphone FFT, spectrogram and peak frequency (or open an audio file)

See the frequencies in a sound: a live spectrum and scrolling spectrogram from your microphone, or the averaged spectrum of an audio file, with the strongest peaks found to a fraction of a hertz and named as musical notes. Choose the FFT size and window, and download the spectrum as CSV. The sound stays on your device.

Keep it one tap away for everyday use.

Bookmark Audio spectrum analyser?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Sound
  2. FFT
  3. Spectrum
  4. Peaks
Nothing is uploadedWorks offline once open

Sound

The sound is analysed on this device and never recorded, saved or sent anywhere. Your browser asks before it lets the page hear the microphone; Stop switches it off again. Turn off noise suppression in your system settings for the truest picture.

Settings

The FFT size sets the detail: frequency resolution is the sample rate divided by the size (about 11.7 Hz for 4096 at 48 kHz), but bigger sizes react more slowly. The window trades sharp peaks (rectangular) against less spill into neighbouring frequencies (Blackman). Smoothing averages successive live spectra.

What it does

Every sound is a mix of pure tones. This analyser splits a sound into its frequencies with a fast Fourier transform (FFT) and shows:

  • the spectrum: how loud each frequency is, in dBFS (decibels below the loudest level the recording can hold);
  • a spectrogram: frequency up, time across, brighter for louder, so you can watch a whistle rise or a note decay;
  • the strongest peaks, refined between FFT bins to a fraction of a hertz, with the nearest musical note and how many cents sharp or flat it is.

It works live from the microphone or on an audio file (WAV, MP3, OGG, FLAC and others your browser can decode). For a file, the spectra of overlapping slices are averaged (Welch’s method), which gives a steady, low-noise picture. The page never records, saves or uploads the sound: it is analysed in the browser and thrown away. There are no adverts on this tool.

How to use it

  1. Press Start microphone and allow it when the browser asks, or open an audio file, or press Try a test sound.
  2. Choose the FFT size. Bigger sizes separate close frequencies better (the resolution is the sample rate divided by the size) but follow changes more slowly.
  3. Choose a window: Hann suits most sounds; Blackman keeps a loud tone from hiding a quiet one next to it; rectangular gives the sharpest peak for a tone that fits the frame exactly.
  4. Set the frequency axis (logarithmic is how we hear), the lowest level shown, the live smoothing and peak hold.
  5. Read the peaks table. Freeze holds the live picture; Stop switches the microphone off. Download the spectrum as CSV, or the report as an image, PDF or Word file.

Worked example

Press Try a test sound: a made-up 2-second sound at 44.1 kHz with a 1 kHz tone at half of full scale and a quieter 3.15 kHz tone at a twentieth. With the default 4096-point Hann window the page averages 42 frames at a resolution of 10.8 Hz and shows Peak 999.9 Hz (B5 +21 cents), −6.0 dBFS. The second peak is 3.1499 kHz at −25.8 dBFS, a G7. The overall level is −9.0 dBFS. A tone at half of full scale has a peak of 20·lg 0.5 = −6.0 dBFS, as shown. Switch to 16384 points and the resolution becomes 2.69 Hz and the peak reads 1000.0 Hz. Change the tuning to A4 = 432 Hz and the same tone becomes C6 −47 cents.

Tips

  • Phone and laptop microphones are not calibrated and often cut below about 100 Hz, so treat levels as relative. For sound pressure levels use a calibrated sound level meter.
  • To tune an instrument, play one steady note and read the top peak; the cents show how far it is from the nearest note.
  • Hum at 50 or 60 Hz and their multiples is mains interference.

FAQ

Is my sound recorded or sent anywhere? No. The microphone samples go straight into the analysis in this page and are discarded; nothing is saved or uploaded, and the page works offline.

Why does the browser say the microphone is switched off for this site? The site can block the microphone for all pages. You can still open an audio file.

Why is the peak not exactly the frequency I played? The FFT measures in steps (bins); the page fits a parabola across the top three bins, which is accurate to a small fraction of a bin for a steady tone. Use a bigger FFT size for more precision.

Where the numbers come from

  • Fast Fourier transform (Cooley and Tukey, 1965), Hann, Hamming and Blackman windows, Welch's averaged periodogram (Welch, 1967) and parabolic peak interpolation: standard signal processing, written by fibub.
  • Equal-tempered note names from f = 440 · 2^((n − 69)/12) (A4 adjustable).
  • Checked against NumPy (numpy.fft.rfft) and SciPy (scipy.signal.get_window and scipy.signal.welch), and against tones of known frequency. The test sound is made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Room acoustics calculator #938 Give a rectangular room's size and what its floor, ceiling and walls are made of, and get every room mode up to the frequency you choose (axial, tangential and oblique, with the boomy clusters flagged), plus the reverberation time in six octave bands by Sabine's and Eyring's formulas, with air absorption, the Schroeder frequency and the critical distance. Decibel distance calculator #939 Find how loud a sound is further away: spreading from a point, line or flat source, plus the sound absorbed by the air for the temperature and humidity (ISO 9613-1 formula), for one frequency or a whole octave band spectrum in dB(A). It also finds the distance where the sound falls to a target level, and adds, averages or subtracts decibel levels. Standing waves calculator #941 Work out the notes a stretched string or an air column plays: the harmonic series with note names and cents, wavelengths and a picture of the first three standing waves. For pipes open at both ends, closed at one or closed at both, with end corrections. Or go the other way and find the string tension or pipe length for a target note. Doppler and beats calculator #943 Work out the pitch you hear from a moving siren or a moving listener (with wind), the curve of a horn driving past, the echo from a moving object for sonar, bats and radar speed guns, the redshift of light from a moving star, the speed from a measured shift, and the beats between two close tones. Noise dose calculator #944 List the noise levels a person is exposed to and for how long, and get the daily noise dose in per cent, the 8-hour time-weighted average, LEX,8h, the allowed time at each level and the time left at the loudest task, for a criterion level, exchange rate and threshold you choose (presets follow NIOSH, US OSHA and the EU and UK rules). Light curve period finder #48 Paste times and brightness measurements, even with gaps and uneven spacing, and find the period with a Lomb-Scargle periodogram, false alarm probabilities, alias checks and a folded light curve.