Files and formats
True Peak After Encoding: Do MP3 and AAC Clip Your Master?
On this page
- Why the true peak after encoding is higher
- How much does MP3 and AAC encoding add?
- Which ceiling keeps an encode under 0 dBTP?
- Do MP3 and AAC encodes clip your master?
- Why loud masters overshoot more
- Setting the ceiling: −1 or −2 dBTP?
- Check the true peak after encoding, not just the WAV
- Inter-sample peaks and encoding: common questions
True peak after encoding is higher than in the WAV you delivered. On six full-length songs, MP3 and AAC encodes added 0.04 to 0.25 dB on average to a −14 LUFS master's true peak, and up to 1.8 dB to a loud one. A −1 dBTP ceiling kept every −14 LUFS encode under 0 dBTP; loud masters needed −2.
That is the whole case for headroom. Below are the numbers behind it, what they mean for your ceiling, and how to check a file with a LUFS meter that reads true peak.
- the most one encode added to a master's true peak: AAC 128 of a loud master
- +1.8dB
- of 18 crossed 0 dBTP: loud masters with a −0.1 dBTP ceiling
- 18encodes
- the highest peak of 18 encodes of −14 LUFS masters with a −1 dBTP ceiling
- −0.55dBTP
How we measured
We mastered six full-length AI-generated songs made with Suno on a partner site twice, to −14 LUFS and to our Loud target, each with three true-peak ceilings: −0.1, −1 and −2 dBTP. Every master was saved as MP3 320 with the site's own encoder, and as AAC at 256 and 128 kbps with macOS afconvert (Apple's AAC encoder; our site exports no AAC). Each encode was decoded again in 32-bit float and measured with the same meter: 108 encodes in all. We could not test Ogg Vorbis, which Spotify also streams: there is no encoder for it in our toolchain.
- Measured
- Nov 27, 2026
- Songs
- Starlight Signal (full), 2:47
- Coast Midnight, 3:27
- Paper Plane Sky, 2:44
- Midnight Arcade, 4:11
- Lantern Lane, 3:13
- Rainy Desk (full), 3:46
- Settings
- Spotify target (-14 LUFS) and Loud target (-9 LUFS, stops short when it would need more than 6 dB of limiting), Balanced style, intensity 0.5; only the ceiling changed. Rise = true peak of the decoded encode minus true peak of the WAV master.
- Engine
- Each song mastered with the built-in planner and renderMaster (the code the browser runs), with the true-peak ceiling set to -0.1, -1 or -2 dBTP. MP3 320 kbps CBR from the site's own encoder (lamejs, the MP3 download). AAC 256 and 128 kbps in .m4a from macOS afconvert (Apple's AAC encoder, default settings), made from the 24-bit WAV download; the site exports no AAC. Every encode decoded again with afconvert to 32-bit float, so peaks above full scale are kept, lined up with the WAV and measured with the same meter.
- Meters
- Loudness per ITU-R BS.1770-4 (integrated, short-term, loudness range per EBU Tech 3342); true peak with a 4x oversampled meter; tone as 8 bands against a neutral reference curve.
Why the true peak after encoding is higher
Lossy encoding doesn't keep the waveform. It keeps frequency content, drops what it expects you won't hear, and the decoder rebuilds the wave on playback. The rebuilt wave is close to the original but not identical, so its peaks land in slightly different places, and some come out higher.
Most of that extra height sits between the samples. These inter-sample peaks (also written intersample peaks) are invisible to a sample peak meter; a true-peak meter, which oversamples 4 times as ITU-R BS.1770 describes, catches them. Some of the overshoot also lands on the samples themselves, above full scale: a decoder that works in floating point keeps those values, while a player, a converter or a file in fixed point clips them.
This is why platforms ask for headroom. Spotify's mastering tips (checked 2026-11-15) say to keep true peaks below −1 dBTP for its lossy formats, Ogg/Vorbis and AAC, and below −2 dBTP when the master is louder than −14 LUFS, because louder tracks are more likely to distort when encoded. Apple's Digital Masters guide asks for at least 1 dB of headroom.
How much does MP3 and AAC encoding add?
A little at streaming loudness, a lot more on loud masters and at low bitrates. Here is the average and the largest rise per codec, all six songs, with a −1 dBTP ceiling:
True peak added by each encode, −1 dBTP ceiling
dB of true peak added
- Average of 6 songs
- Largest on one song
| Average of 6 songs (dB of true peak added) | Largest on one song (dB of true peak added) | |
|---|---|---|
| MP3 320, −14 LUFS masters | +0.04 | 0.10 |
| AAC 256, −14 LUFS masters | +0.07 | 0.23 |
| AAC 128, −14 LUFS masters | +0.26 | 0.50 |
| MP3 320, loud masters | +0.35 | 0.47 |
| AAC 256, loud masters | +0.32 | 0.44 |
| AAC 128, loud masters | +1.07 | 1.53 |
At −14 LUFS, MP3 encoding at 320 kbps added 0.04 dB on average, AAC 256 0.07 dB and AAC 128 0.26 dB. On the loud masters, the same encodes added 0.35, 0.32 and 1.07 dB.
The AAC rates are not hypothetical. Spotify's audio quality page (checked 2026-11-15) says its web player streams AAC at 128 kbit/s on the free plan and 256 kbit/s on Premium.
Which ceiling keeps an encode under 0 dBTP?
At −14 LUFS, −1 dBTP was enough; loud masters needed −2. For each ceiling, the chart counts how many of 18 encodes came back over 0 dBTP:
Encodes over 0 dBTP, by ceiling
encodes over 0 dBTP, of 18
- −14 LUFS masters
- Loud masters
| −14 LUFS masters (encodes over 0 dBTP, of 18) | Loud masters (encodes over 0 dBTP, of 18) | |
|---|---|---|
| Ceiling −0.1 dBTP | 2 | 18 |
| Ceiling −1 dBTP | 0 | 4 |
| Ceiling −2 dBTP | 0 | 0 |
- −0.1 dBTP, close to a file normalized to 0 dB: all 18 loud encodes crossed 0 dBTP, the highest at +1.25 dBTP. Even at −14 LUFS, 2 did.
- −1 dBTP: no encode of a −14 LUFS master crossed 0 dBTP; the highest reached −0.55 dBTP. On the loud masters, 4 did, all of them AAC 128.
- −2 dBTP: none crossed, the highest loud encode at −0.24 dBTP.
So Spotify's advice holds up in our numbers. The lower ceiling has a cost on loud masters, though: with −2 dBTP they reached −11.7 to −10.2 LUFS, against −9.7 to −9.0 with −0.1, because our engine stops before it would need more than 6 dB of limiting.
Do MP3 and AAC encodes clip your master?
Not the file you deliver, but the copy a listener plays can. Decoded in floating point, the loud masters with a −0.1 dBTP ceiling came back with 1,865 samples beyond full scale, 1,799 of them from AAC 128. In any fixed-point decode, each of those is a clipped sample.
Highest true peak, WAV master and after encoding
dBTP, highest of all encodes
- WAV master
- Highest after encoding
| WAV master (dBTP, highest of all encodes) | Highest after encoding (dBTP, highest of all encodes) | |
|---|---|---|
| −14 LUFS masters, ceiling −0.1 | −0.15 | 0.25 |
| −14 LUFS masters, ceiling −1 | −1.05 | −0.55 |
| −14 LUFS masters, ceiling −2 | −2.05 | −1.48 |
| Loud masters, ceiling −0.1 | −0.15 | 1.25 |
| Loud masters, ceiling −1 | −1.05 | 0.48 |
| Loud masters, ceiling −2 | −2.05 | −0.24 |
With a −1 dBTP ceiling that count fell to 4 on the loud masters, and to 0 at −14 LUFS. MP3 320 is a useful case: on the −0.1 dBTP loud masters it went over 0 dBTP with no single sample past full scale, so the overshoot lived in inter-sample peaks, where only a true-peak meter sees it.
Why loud masters overshoot more
A loud master has been limited hard, so many of its peaks sit right at the ceiling. The small errors an encoder adds then push a large share of them over, instead of a few. On the same songs and the same −1 dBTP ceiling, MP3 encoding at 320 kbps added 0.35 dB to the loud masters against 0.04 dB to the −14 LUFS ones.
That is the measured version of Spotify's warning about louder tracks. It also means the extra loudness buys little: at its default setting Spotify turns a master louder than −14 LUFS down anyway, as we measured in why is my song quieter on Spotify.
Setting the ceiling: −1 or −2 dBTP?
Pick the ceiling by how loud the master is, then check the encode, not only the WAV:
- At −14 LUFS or quieter: −1 dBTP. In our test it kept every MP3 and AAC encode under 0 dBTP.
- Louder than −14 LUFS: −2 dBTP, as Spotify advises.
- Not right under 0. With a −0.1 dBTP ceiling, every loud encode we made crossed 0 dBTP.
- Measure an encode. Export an MP3 of your master and read its true peak; the audio clipping checker also counts samples at full scale.
Our AI mastering tool follows the same rule: a −1 dBTP ceiling for the streaming targets, and −2 dBTP for its SoundCloud and Loud targets, which master louder than −14 LUFS. Spotify LUFS shows which ceiling applies to a given file.
Check the true peak after encoding, not just the WAV
A limiter can only hold the peaks of the file it writes. What an encode adds depends on the codec, the bitrate and how hard the master was limited, so leave the headroom and measure the encoded copy before you call it done. For the file sizes and the sound of the same masters as MP3, see WAV vs MP3.
Inter-sample peaks and encoding: common questions
Why is the true peak after encoding higher than in my WAV?
A lossy encoder stores the sound as frequency content and rebuilds the wave on playback. The rebuilt peaks land slightly differently, and some come out higher, mostly between the samples. In our test, the rise ran from almost nothing to +1.8 dB.
Should I leave 1 dB or 2 dB of headroom?
At −14 LUFS or quieter, −1 dBTP was enough: none of our 18 encodes of those masters crossed 0 dBTP, the highest reached −0.55 dBTP. For a louder master, use −2 dBTP, as Spotify advises; at −1, 4 of 18 loud encodes crossed 0 dBTP.
Does MP3 encoding clip a master?
At 320 kbps it added 0.04 dB on average to a −14 LUFS master and left no sample past full scale. Pushed to a −0.1 dBTP ceiling, a loud master came back over 0 dBTP after every MP3 encode we made.
Is AAC better than MP3 for peaks?
At 256 kbps, AAC and MP3 320 behaved almost the same in our test. AAC at 128 kbps added the most: 0.25 dB on average at −14 LUFS and up to +1.8 dB on a loud master.
Does a true-peak limiter stop inter-sample peaks?
In your WAV, yes: it holds the 4x oversampled peak under the ceiling. It cannot control what an encoder does to the file later, which is why the ceiling sits 1 or 2 dB under 0.
Sources
- Spotify for Artists: Loudness normalization on Spotify (mastering tips), checked Nov 15, 2026
- Spotify Support: Audio quality, checked Nov 15, 2026
- Apple Digital Masters (technical brief), checked Nov 15, 2026
- ITU-R BS.1770: Algorithms to measure audio programme loudness and true-peak audio level, checked Nov 15, 2026