Mains Hum Dater

Last updated:

Mains electricity hums at about 50 or 60 Hz, and the exact frequency drifts all day. Find that drift in a recording and match it to grid records to date it.

1. Find the hum

Your recording is analysed in your browser and never uploaded. GB grid data is read directly from NESO’s open data, a slice at a time.

What is electrical network frequency (ENF)?

Mains electricity alternates at 50 Hz in the UK and 60 Hz in North America. The exact frequency varies slightly with demand on the grid The Register (14 Dec 2012). Recordings pick up a trace of that hum from nearby sockets, lights and other mains equipment The Register (14 Dec 2012).

Because the drift is the same across a whole grid, it works like a timestamp. Forensic examiner Catalin Grigoras described using it to check when a recording was made and whether it was edited Grigoras, IJSLL (14 Feb 2005).

The Metropolitan Police lab in London recorded the grid hum around the clock for seven years to check audio evidence The Register (14 Dec 2012). Britain is served by a single grid, so a reference recorded in London can check recordings made anywhere else The Register (14 Dec 2012).

How does the tool work?

  1. It decodes your file and looks for the hum at 50 or 60 Hz and its first four harmonics. It combines every harmonic that carries the hum.
  2. It follows the hum’s exact frequency second by second, preferring a smooth path, as the grid’s frequency changes slowly. The chart shows the result, and you can download it as CSV.
  3. It slides your trace along the reference data and scores each position by correlation. It skips positions where the two disagree on the frequency itself.

A strong match needs a correlation of at least 0.85, well clear of the next best, with the two traces within 6 mHz. Times are accurate to a few seconds.

How well does it work on real recordings?

We tested it on 11 recordings from ENF-WHU, a research set of real recordings made around Wuhan University with matching grid references ENF-WHU dataset, Wuhan University (read 29 Nov 2026). It dated 9 of them to within 6 seconds; 8 were rated strong and 1 possible. For the other 2 it reported no clear match rather than a wrong time.

It made no false matches when each recording was tested against four wrong days, or when we tested recordings that carry no hum ENF-WHU dataset, Wuhan University (read 29 Nov 2026). Your results will depend on how much hum your recording picked up.

Where does the reference data come from?

For Great Britain, the tool reads NESO’s historic system frequency data. It has one reading per second NESO (read 29 Nov 2026). NESO gives times in GMT from January 2020 NESO (read 29 Nov 2026). The tool requests only the hours you choose, not the whole monthly file.

Months from January 2019 to March 2022 are published as zip files, which the tool cannot read in slices. Download that month from NESO and load it as your own reference.

For other grids, load any CSV with a time column and a frequency column. ENF matching only works against data from the same grid as the recording.

When does it not work?

  • No hum. Battery-powered phones and recorders away from mains equipment may capture none.
  • Short clips. Under a few minutes, many times of day look alike.
  • Noise removal. Many apps filter out low hum, and some calls and videos are heavily compressed.
  • Wrong grid. A recording from Ireland or France will not match Great Britain’s data.

A match is strong evidence of when a recording was made. Edits show up as a jump in the trace The Register (14 Dec 2012). A court case would still need an expert examiner.

Hum on its own does not prove a video is real. A 2026 study found AI-generated videos can show the same mains flicker as real footage. Only a match with grid records counts arXiv (15 Oct 2026).

Frequently asked questions

Can I find out when a recording was made?

Often, if it captured mains hum and you have grid data for the right period. Ten minutes of clear hum usually gives a clear answer.

Does it work outside Great Britain?

Yes, with your own reference CSV from the same grid. The built-in data covers Great Britain only.

Why does it say little or no mains hum?

The device may run on battery, the room may have no mains equipment nearby, or the app may have filtered low frequencies out.

What time zone are the results in?

UTC. NESO data is in GMT from 2020. Before 2020 the times may be UK local time, so summer results could be an hour off.

Can it show a recording was edited?

A cut or splice often shows as a sudden jump in the hum trace. Check the chart for breaks.

Is my recording uploaded?

No. The file is decoded and analysed in your browser. Only the grid data is downloaded, straight from NESO.