Browser-based microphone meter · A, C and flat weighting · uncalibrated

Sound Level Meter

Read the loudness around you from your microphone as dB(A), dB(C) or flat, with Fast or Slow response, a running Leq, minimum, maximum and peak over a window you choose, a history chart and a CSV log. The numbers are relative until you calibrate them against something you trust.

Level

Uncalibrated: a laptop or phone microphone is not a measurement microphone, and its level depends on the device. Treat the readings as relative, or calibrate against a known source below. Do not use them for legal or workplace noise compliance.

––.–

dB(A) Fast · uncalibrated

3070110

Press start and allow the microphone to see readings.

History

Green: the Fast level, the highest in each column. Dashed amber: the Leq over the same window. The meter keeps the last hour.

Weighting and window

Frequency weighting
Time weighting

All three weightings are measured at once, so switching does not lose any history. A weighting follows the ear at moderate levels and cuts the bass hard; C is nearly flat and suits loud, low-frequency sources.

Calibration offset

Digital levels are measured below the loudest value the microphone input can carry, so they are negative. The offset moves them onto a dB scale: the default of 100 dB is a guess, not a property of your microphone.

Calibrate against a reference

Play a steady reference near the microphone (a calibrator at 94 dB, or any source whose level a trusted meter reads), wait for the numbers to settle, then press the button. It is only right for that device, that microphone position and sounds near that level.

CSV log

Columns: time, LZeq, LAeq, LCeq, LAF, LAS, LApeak, LCpeak. LApeak is the highest sample after A weighting; the standard defines peak with C weighting, so compare LCpeak with published peak limits. Leq values are energy averages over each row, with the offset applied; the log covers the readings kept in memory.

Sound Level Meter

Operator: Abdulla Al Fahad. How tools are built and checked

A 1 kHz tone at an amplitude of 0.1 measures -23.0 dB below full scale. Played from a 94 dB calibrator it should read 94, so the offset that makes it so is 117.0 dB; a 100 Hz tone at the same amplitude then reads 19.2 dB lower under A weighting, because the weighting cuts the bass the way the ear does. This page shows level readings that behave like a sound level meter's, and it says plainly that the scale stays uncalibrated until you set that offset yourself.

A phone or laptop microphone has no known sensitivity, an unflat frequency response and a limited range. Treat the numbers as comparisons between moments and places on one device, not as measurements you could quote.

Key features

  • A, C and flat (Z) weighting measured together, so switching the display never loses history
  • Fast (125 ms) and Slow (1 s) response, plus Leq, minimum, maximum and peak over the last 10 s, 30 s, 1 minute, 5 minutes or the whole session
  • A history chart with a dashed Leq line, and a calibration offset that is remembered on this device

How the weighting, the time constants and the calibration offset work

The meter asks the browser for a 48 kHz audio context so that the weighting filters stay accurate even when a headset would otherwise run the microphone at 16 or 24 kHz. The microphone is opened with echo cancellation, noise suppression and automatic gain requested off, in mono, and the page reports whether the browser honoured that. Audio is tapped in blocks of 2048 samples through an audio worklet, or a script processor where worklets are missing, and measured in 125 ms blocks; only the numbers are kept, for the last hour (28,800 blocks).

The log is a CSV with the columns time_s, LZeq_dB, LAeq_dB, LCeq_dB, LAF_dB, LAS_dB, LApeak_dB and LCpeak_dB, one row every 0.125 s, 1 s, 5 s or 1 minute. Leq values are energy averages over the row, Fast and Slow are the last values in the row, and the peaks are the highest in the row, all with the offset added. Unlike LUFS Loudness Meter on this site, which measures a finished file, this reads a live input.

How it works

The A filter has poles at 20.6, 107.7, 737.9 and 12,194 Hz (two each at 20.6 and 12,194) and four zeros at zero; C has two zeros and keeps only the outer poles, 20.6 and 12,194 Hz. Each analogue pole is prewarped and mapped with the bilinear transform into second-order sections, then the gain is set to exactly 0 dB at 1 kHz. At 48 kHz the result is within 0.7 dB of the nominal A and C curves at the ten frequencies from 31.5 Hz to 10 kHz: for A, -39.6 dB at 31.5 Hz, -16.2 at 125 Hz, +1.3 at 2 kHz and -1.9 at 10 kHz.

Time weighting is an exponential average of the squared signal with a time constant of 125 ms (Fast) or 1 s (Slow). Each 125 ms block stores the energy mean, the Fast and Slow values at its end and the highest absolute sample, for all three weightings. Leq over a window is the energy average of the block levels; the minimum is the lowest Fast or Slow level at a block end and the maximum the highest level reached inside any block; the peak is the highest sample after weighting. LApeak is therefore the peak after A weighting; IEC 61672 defines peak with C weighting, so use the LCpeak column when you compare with a peak limit.

Digital levels are negative decibels below full scale. The displayed value is that plus the offset, 100 dB by default, which is a guess, not a property of your microphone. Calibrating sets the offset to the known level minus the reading of the last 10 seconds with no offset.

Common use cases

  • Comparing the loudness of three places in a workshop in 30-second readings with the same device, then looking at the LAeq of each
  • Logging a rehearsal room for 10 minutes at one row per second and reading the loudest Fast level from the last 5 minutes
  • Calibrating a laptop against a 94 dB calibrator so that a day of readings can be compared with each other

How to use this tool

  1. Press Start the microphone and allow access. Read the line under the buttons about whether the browser kept processing off.
  2. Choose A, C or Z and Fast or Slow, and the window for Leq, minimum, maximum and peak.
  3. Optionally calibrate: play a steady reference near the microphone, enter its known level, wait ten seconds and press the calibration button.
  4. Watch the reading and the history chart while the sound changes.
  5. Choose how often to write a row, then download the CSV.

Example

A 1 kHz sine of amplitude 0.1 at 48 kHz, then a 100 Hz sine of the same amplitude

Weighting A, window 2 s
A 94 dB reference reading -23.01 on the Z scale

Readings for those tones

1 kHz:      -23.01 dBFS on Z and on A (0.00 dB weighting)
100 Hz:     Z -23.01, A -42.18: 19.17 dB lower (nominal A: -19.1 dB)
Offset:     94 - (-23.01) = 117.0 dB, so the reference reads 94.0
Log row at offset 94: 1 s, 70.99, 70.99, 70.99, 70.99, 69.00, 74.16, 74.30

Tips for best results

  • Use C weighting for bass-heavy sources such as a subwoofer or an engine. A weighting suppresses below about 100 Hz, so a rumbling room can read many dB lower under A than under C.
  • Hold the device in the same place and orientation for every reading. A phone microphone is directional enough that turning it by a quarter turn changes the number.
  • Switch to Slow when you want one steady figure and to Fast when you want to see short events such as a door slam.

Common pitfalls

If the status line says the browser left automatic gain on, quiet sounds are boosted and loud ones are held down, so differences between readings are smaller than the real ones.

A microphone's own limits show at the extremes: a floor of electrical noise at the quiet end and clipping at the loud end. The peak reading and the chart flat-topping are the signs of clipping.

A calibration offset is right only for the device, microphone position and sound level it was set at. Frequency response and clipping make other conditions read differently.

Wind, breath and handling noise are low-frequency and read as loud, much more so under C or flat weighting than under A. Keep a hand off the microphone and out of any airflow when you read a quiet room.

Common errors and how to fix them

"Microphone access was blocked."
Allow the microphone for this site from the address bar's site settings, then press Start again.
No microphone was found.
Plug in or enable an input device and press Start. Some browsers need a page reload after a device is connected.
The meter could not start.
The audio context or worklet could not be created. Close other tabs that hold the microphone and try again.

What this is not

A calibrated sound level meter has a measurement microphone with a known response, a class under IEC 61672 and a periodic calibration check. This page has none of these. It uses the standard's weighting curves and time constants so that the readings behave in the same way, but it is not a class 1 or class 2 meter, and its readings should not be used for workplace noise assessment, neighbour disputes or any other measure that needs a traceable figure.

Frequently asked questions

Does the microphone audio leave my computer?

No. Samples are turned into levels in the page, and only the levels are kept in memory. Closing the tab or pressing Stop releases the microphone.

Why does the display start at 100 dB offset?

Some offset is needed to turn negative digital levels into familiar decibel values. 100 dB is a placeholder; calibrate against a reference, or ignore the absolute value and watch changes.