How to tell if a FLAC or WAV file is really lossless using a spectrogram
Re-saving a compressed MP3 or stream rip as WAV or FLAC multiplies file size while leaving a flat high-frequency cutoff behind.
Short answer
A WAV or FLAC header only describes the container, so a 128 kbps MP3 re-saved at 16-bit still reports 1,411 kbps. On a linear spectrogram, genuine 44.1 kHz lossless masters carry drum and sibilant energy smoothly to 22.05 kHz Nyquist. Lossy transcodes hit a horizontal low-pass shelf around 16 kHz, 19 kHz or 20 kHz. Drop your file into the Audio Spectrogram & Lossless Checker to inspect both Mid and Side channels.
Open the Audio Spectrogram & Lossless Checker
Why bitrate, bit depth and file size cannot spot a transcode
Media players and file managers read container headers rather than checking what frequencies survive inside the waveform. For a stereo 44,100 Hz, 16-bit WAV file, uncompressed bitrate is always 44,100 × 16 × 2 = 1,411,200 bps (1,411 kbps). Converting a 4-minute 128 kbps MP3 (~3.8 MB) to WAV produces a ~42 MB file with the exact same missing treble.
FLAC works the same way. Under IETF RFC 9639, the STREAMINFO header records sample rate, bit depth and sample count, then compresses whatever PCM samples it receives. Re-encoding a stream rip into 24-bit FLAC writes valid 24-bit metadata around lossy audio.
Typical encoder low-pass shelves on a linear spectrogram
Perceptual codecs such as MP3, AAC, Vorbis and Opus apply a steep low-pass filter before quantization so scarce bits go to audible midbands. On a linear 0 Hz – Nyquist axis, those filters draw a flat horizontal ceiling across loud drum and cymbal hits:
| Source or encoder tier | Typical upper shelf | What you see on the spectrogram |
|---|---|---|
| 64 – 96 kbps MP3 / voice stream | 11.0 – 14.0 kHz | Hard horizontal wall in upper midrange; dull snare and vocal sibilance |
| 128 kbps MP3 / older web stream | 15.5 – 16.2 kHz | Sharp 35 to 50 dB cliff near 16.0 kHz; dark band up to 22.05 kHz |
| 192 kbps MP3 / LAME −V2 VBR | 18.5 – 19.5 kHz | Clear shelf near 19 kHz, sometimes with short transient pokes in VBR |
| 256 kbps AAC / 320 kbps LAME MP3 / Opus | 20.0 – 20.5 kHz | Thin dark strip above 20.0 kHz (Opus runs on a 48 kHz grid capped at 20 kHz) |
| Genuine 44.1 kHz CD lossless (WAV / FLAC) | 22.05 kHz Nyquist | Cymbal, snare and shaker transients reach the top border with no flat cliff |
| 44.1 kHz master upsampled to 48 / 96 kHz | 22.05 kHz step | Sharp horizontal step at 22.05 kHz with an empty band up to 24 or 48 kHz |
Worked example: 22.05 kHz master vs 16.0 kHz shelf and hidden Side cutoffs
Open the Audio Spectrogram & Lossless Checker to view the default 4.0-second stereo WAV (genuine-44k1-lossless-master.wav, 689 KB, 1,411 kbps). Hi-hat and snare bursts extend right to 22.05 kHz with a gentle 7.3 dB/kHz taper.
Next, open the 128 kbps transcode preset in the Audio Spectrogram & Lossless Checker. The WAV header still reports 44,100 Hz, 16-bit and 689 KB. Yet the 127-tap low-pass filter leaves a 45 dB cliff over 0.5 kHz right at 16.0 kHz.
Some joint-stereo MP3 files hide their transcode in the stereo difference signal. Open the joint-stereo Side view in the Audio Spectrogram & Lossless Checker: Mid reaches 19.9 kHz, whereas Side (L−R)/2 stops near 15.5 kHz.
Three false alarms that look like fake lossless
- Solo piano, mellow jazz and felt-mallet instruments. Acoustic grand piano, nylon guitar, double bass and warm synth pads produce very little energy above 14 to 17 kHz. Their spectrum fades softly over several kilohertz rather than dropping 35 dB across one razor-straight horizontal line.
- Analog tape, vinyl transfers and vintage microphones. Ribbon microphones, transformer stages and 15 ips tape roll off high treble gradually while leaving a faint, continuous analog hiss floor up to Nyquist.
- 48 kHz Web Audio resampling in browser tools. On most laptops and phones, the default browser
AudioContextruns at 48,000 Hz (24.0 kHz Nyquist). Decoding a 44.1 kHz FLAC without lockingsampleRatefirst makes the browser upsample it to 48 kHz. That leaves a false empty band between 22.05 and 24.0 kHz.
Step-by-step check for DJ crates and mastering deliveries
- Keep Frequency axis on Linear first. Linear spacing devotes the top quarter of the plot to 16.5 – 22.05 kHz, making encoder shelves easy to spot.
- Zoom into the loudest snare or hi-hat hit. Drag horizontally across a chorus transient so quiet verses do not hide real top-end air.
- Check delivery loudness and head/tail silence next. Once bandwidth looks clean, check streaming headroom in the LUFS Loudness Meter and trim dead lead-in air in the Audio Cutter.
Sources
- IETF RFC 9639: Free Lossless Audio Codec (FLAC) (checked 29 November 2026), §8.1 for the 34-byte
STREAMINFOsample-rate and bit-depth header layout. - LAME MP3 Encoder: Command-line USAGE reference (checked 29 November 2026), for
--lowpassfilter behavior across CBR and VBR bitrates. - FFmpeg Wiki: MP3 Encoding Guide (checked 29 November 2026), for LAME
-VVBR quality tiers and bitrate ranges. - MDN Web Docs: BaseAudioContext.decodeAudioData() (checked 29 November 2026), documenting automatic resampling to the
AudioContextsample rate.
Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.