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?
- 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.
- 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.
- 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).