Skip to content

Files and formats

M4A vs MP3: Which Is Better for Music? We Measured Both on the Same Masters

AI-Mastering.org team6 min read
On this page
  1. What is M4A, and how is it different from MP3?
  2. M4A vs MP3 quality at the same bitrate
  3. MP3 vs M4A file size: the bitrate decides
  4. Gapless playback: the silence MP3 adds
  5. Do M4A and MP3 change loudness or peaks?
  6. M4A or MP3: which one to use
  7. M4A vs MP3 for your own master
  8. Questions about M4A and MP3 files

M4A vs MP3 comes down to the codec inside the M4A, which is usually AAC. At the same 128 kbps, AAC changed our masters less than MP3: its changes sat 20.4 dB below the music on average, MP3's only 15.4 dB. At 256 kbps the two codecs tied, and MP3 320, our site's download, changed the least of all.

We measured it on three Suno songs mastered by our AI mastering engine, each saved as MP3 with the site's own encoder and as M4A with the encoder built into macOS.

less change from AAC in M4A than from MP3, both at 128 kbps, average of three songs
+5.0dB
changed by ALAC, the lossless codec an M4A can also hold
0samples
of silence our MP3 files gained at the start; the M4A files gained none
13.1ms
How we measured

We mastered the three sample songs to −14 LUFS and saved each master five ways: MP3 at 320, 256 and 128 kbps with the same encoder as our MP3 download, and M4A with macOS afconvert (Apple's encoder) as AAC at 256 and 128 kbps and as lossless ALAC. Every file was decoded again, lined up with the master and subtracted from it; what is left is everything the codec changed. The songs are Suno songs whose demo copies on our site are turned down; mastering brought them to streaming level first.

Measured
Nov 27, 2026
Songs
  • Starlight Signal, 1:02
  • The Sea Wall, 1:02
  • Rainy Desk, 1:02
Settings
Spotify target (-14 LUFS, -1 dBTP ceiling), Balanced, intensity 0.5. 44.1 kHz stereo. Sizes per minute, MB = 1,048,576 bytes, averaged over the three songs. Delay = samples of silence before the music in the decoded file; added length = decoded length minus the master's length.
Engine
Each sample mastered with the built-in planner and renderMaster (the code the browser runs). MP3 at 320 and 128 kbps CBR from the site's own encoder (lamejs, the same code as the MP3 download). M4A from macOS afconvert (Apple's encoders, default settings) made from the 24-bit WAV download: AAC at 256 and 128 kbps, and ALAC. The site exports WAV and MP3, not M4A. MP3 256 kbps is not a site export; it is there to compare the two codecs at the same bitrate. Every file decoded again to 32-bit float with afconvert, lined up with the master and subtracted from it; what is left is everything the codec changed, measured as loudness (BS.1770) against the master.
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.

What is M4A, and how is it different from MP3?

M4A is a container, MP3 is a codec. An M4A file is MPEG-4 audio: a box that usually holds AAC, a newer lossy codec than MP3, and sometimes ALAC, Apple's lossless one. An MP3 file holds MP3 and nothing else.

So two M4A files can be very different things. Our ALAC files took 10.7 MB per minute and decoded back to the WAV with 0 samples changed, just like FLAC vs WAV. An AAC file at 256 kbps took 1.8 MB per minute and changed the music, a little.

If you do not know which kind you have, the size tells you: an ALAC file is several times bigger than an AAC one at any normal bitrate.

M4A vs MP3 quality at the same bitrate

AAC wins at low bitrates; at 256 kbps the codecs are even. We compared them at matched bitrates, so neither got more bits to work with:

How far below the music each codec's changes sit

dB below the music (higher = smaller change)

  • MP3
  • M4A (AAC)
Starlight Signal, 128 kbps12.4 → 16.0
Starlight Signal, 256 kbps25.0 → 26.6
The Sea Wall, 128 kbps13.2 → 18.4
The Sea Wall, 256 kbps27.3 → 29.2
Rainy Desk, 128 kbps20.6 → 26.8
Rainy Desk, 256 kbps42.2 → 37.1
Higher is a smaller change. Gray: MP3 from the site's encoder. Orange: AAC in M4A from Apple's encoder. At 128 kbps AAC was ahead on every song; at 256 kbps the two were within 0.5 dB on average.

At 128 kbps, AAC's changes sat 16.0 to 26.8 dB below the music, MP3's 12.4 to 20.6 dB. At 256 kbps they averaged 31.0 and 31.5 dB, a tie. MP3 at 320 kbps, the highest MP3 bitrate and our download format, sat 29.7 to 47.1 dB below: the smallest change we measured, bought with 1.3 times the size of AAC 256.

To check a file before you share it, an audio analyzer reads its format, bitrate, loudness and true peak:

MP3 vs M4A file size: the bitrate decides

At the same bitrate, an M4A and an MP3 are the same size. The bitrate is a fixed number of bits per second, so the codec only decides how well those bits are spent:

File size per minute of the same masters, lossy files

MB per minute, average of the three songs

MP3 320 kbps2.29
MP3 256 kbps1.83
M4A, AAC 256 kbps1.82
MP3 128 kbps0.92
M4A, AAC 128 kbps0.94
Average of three songs, 44.1 kHz stereo. AAC and MP3 at 256 kbps both took about 1.8 MB per minute; the lossless ALAC file took 10.7 MB, 71% of a 24-bit WAV.

So AAC vs MP3 is a question of quality per bit. At 128 kbps, the bitrate of Spotify's free web player, AAC got more out of the same space in our test.

Gapless playback: the silence MP3 adds

An MP3 has no standard place to say how much silence its encoder added; an M4A has one. Decoded with macOS afconvert, every MP3 from our encoder started 13.1 ms late and ran 26.1 ms long. Every AAC file in M4A came back exactly as long as the master, to the sample.

Encoders need a short run-in before the first real sample. An M4A stores its length, so the decoder trims it away; for MP3, only some encoders and players write and read an unofficial field for it. A few milliseconds are harmless on a single song, but on an album that runs from one track into the next they can leave a small gap.

Do M4A and MP3 change loudness or peaks?

Barely the loudness, a little the peaks. The loudness of our encodes moved at most 0.44 LU (MP3 128) and 0.05 LU (AAC 128). The true peak rose by up to 0.63 dB at 128 kbps and 0.16 dB for AAC 256.

That rise is why masters leave headroom under 0 dBTP. Loud masters gain more; true peak after encoding measures how much and which ceiling keeps an encode under 0 dBTP. Read the true peak of an encoded copy with a LUFS meter that shows it.

M4A or MP3: which one to use

Neither is a master. Mastering and distribution want the WAV, as WAV vs MP3 shows; M4A or MP3 is the choice for listening copies:

  • Sharing a preview when you do not know the player: MP3 320. It plays almost anywhere, and it changed our masters the least.
  • Small files at low bitrates: AAC in M4A. At 128 kbps it changed the music less than MP3 at the same size.
  • An Apple library or devices: AAC in M4A, or ALAC when you want it lossless. Apple's Digital Masters brief says Apple chose AAC over MP3 for its quality at similar bit rates, and streams lossless as ALAC.
  • Albums that play without gaps: M4A, because it stores the encoder's delay.

For streaming services, the file you deliver is not the file people hear. Spotify's audio quality page (checked 2026-11-15) lists AAC at 128 and 256 kbit/s for its web player; those copies are made on Spotify's side, from the file your distributor delivers.

M4A vs MP3 for your own master

Keep the WAV and make listening copies from it, once each. Our free master gives you WAV 24-bit, WAV 16-bit and MP3 320 of the same render; it has no M4A export, so make the M4A from the 24-bit WAV if you need one. In M4A vs MP3 terms, that gets you the best of each: the smallest change from MP3 320, and AAC wherever low bitrates or gapless albums matter.

Questions about M4A and MP3 files

Is M4A better than MP3?

At low bitrates, yes. In our M4A vs MP3 test, AAC in M4A changed the master 5.0 dB less than MP3 at 128 kbps; at 256 kbps the two were within 0.5 dB. MP3 320 changed the least of all, at a larger size.

Is M4A lossless?

Only when it holds ALAC. Most M4A files hold AAC, which is lossy. Our ALAC files decoded back to the WAV with 0 samples changed, at about 71% of its size.

Can I convert M4A to MP3 without losing quality?

No. The AAC is decoded and then encoded again as MP3, so the second encoder adds its own changes on top of the first. Convert from the WAV master if you still have it.

Why is my M4A the same size as an MP3?

Because the bitrate sets the size, not the codec. At 256 kbps our M4A and MP3 files both took about 1.8 MB per minute.

What is M4A?

An MPEG-4 audio file. The name says which box the audio is in, not how it was compressed: usually AAC, sometimes Apple's lossless ALAC.

Should I master from an M4A or an MP3?

From the WAV if you have it; both are lossy copies. If an M4A or MP3 is all you have, our mastering engine reads either one.

Sources

  1. Library of Congress: Advanced Audio Coding (MPEG-4), checked Nov 15, 2026
  2. Library of Congress: MP3 (MPEG Layer III Audio Encoding), checked Nov 15, 2026
  3. Spotify Support: Audio quality, checked Nov 15, 2026
  4. Apple Digital Masters (technology brief, PDF), checked Nov 15, 2026

Tools for this

Related guides

All posts