Skip to content
Aback Audio

M4A vs AAC: the container and the codec, explained

M4A is an MP4 container, AAC is the lossy codec inside it. Compare bitrates, channels and device support, and see when ALAC or FLAC fits better.

By Devvrat Hans12 min read

The short answer to M4A vs AAC is that they are not competing formats. AAC is a lossy audio codec, the method used to compress the sound. M4A is a container, the file that holds the compressed stream. An M4A almost always carries AAC, which is why the names get used as if they meant the same thing, but it can also carry ALAC, Apple's lossless codec. A file called song.aac is usually a raw AAC stream in ADTS form rather than an MP4 container. This guide separates the two layers and shows how to choose settings, keep tags, and avoid losing quality on every re-encode.

32 to 320 kbps

AAC bitrate range here

Default 160 kbps for M4A output

8

Maximum AAC channels here

MP3 output stops at stereo

40 seconds

M4R ringtone cap

AAC in an MP4-based file

Container and codec are different layers

Audio files have two jobs at once. A codec compresses the sound; a container stores that stream with a duration, a track description and optional tags. "MP3 is better than M4A" compares a codec with a box. Separate them and most M4A vs AAC questions answer themselves.

What each name refers to
NameLayerWhat it means in practice
AACCodecAdvanced Audio Coding, a lossy method for audio samples
M4AContainerAn MP4-based file used for audio, nearly always AAC
MP4ContainerThe wider MPEG-4 format, which can carry video too
.aacExtensionUsually a raw ADTS AAC stream, not an MP4 container
M4RContainer variantAn iPhone ringtone, AAC in MP4 with a 40-second cap

M4A is the audio-only cousin of MP4. Both use the MPEG-4 container family, so they can hold the same coded audio, but a normal .mp4 also carries a video track. The AAC in a video soundtrack is the same codec an M4A uses. See extract audio from video and the formats guide.

The .aac extension is the odd one out. It usually means a raw AAC stream in ADTS frames, a much thinner layer than MP4 with no chapters and limited tagging. Renaming track.aac to track.m4a does not repackage the stream; some players prefer M4A.

What can be inside an M4A

The extension tells you the container, not the codec. Three audio streams turn up often in M4A files, and they behave very differently when you try to make the file smaller.

  • AAC-LC is the common profile. It is lossy, efficient at modest bitrates, and what this site writes for M4A. Voice memos, music and video soundtracks usually use it.
  • HE-AAC targets low bitrates and appears in some radio streams and audiobooks. The encoder here writes AAC-LC only.
  • ALAC, Apple Lossless Audio Codec, keeps every sample of the source, like FLAC, and is what Voice Memos records at the Lossless setting. It is several times larger than AAC.
How the three common M4A contents compare
Stream insideTypeTypical useSize behaviour
AAC-LCLossyVoice memos, music, videoPredictable from bitrate times duration
HE-AACLossyLow-bitrate radio, audiobooksSmall at low rates, not written here
ALACLosslessCD rips, DAW bouncesSeveral megabytes per minute

That explains a common surprise. A very large voice memo is often ALAC, not badly configured AAC. Re-encoding it to AAC shrinks it a lot but is no longer bit-for-bit identical. An M4A already at 64 or 128 kbps has less room to shrink. The M4A compression guide covers both cases.

To keep every sample in a more open format, move ALAC in M4A to FLAC. Both are lossless, neither makes the file tiny, and neither can turn AAC into a lossless copy. See WAV vs FLAC and lossless vs lossy audio.

Bitrate, sample rate and channel limits

When this site writes an M4A, it encodes AAC-LC inside an MP4 container. The controls are deliberately small: a bitrate, a sample rate and a channel count.

AAC output settings in Aback Audio
PropertyValue hereNote
CodecAAC-LCThe common AAC profile for music and voice
Bitrates32, 48, 64, 96, 128, 160, 192, 256, 320 kbps160 kbps is the M4A default
Sample rates8 kHz to 96 kHzIncludes 44.1 kHz and 48 kHz
Maximum channels8More channels share a fixed total bitrate
MetadataMP4-style tagsTitle, artist, album, year, genre, cover art

For constant-bitrate audio, size is arithmetic: size in megabytes is roughly bitrate in kbps times duration in seconds, divided by 8,000. Three minutes at 160 kbps is about 3.6 MB, at 96 kbps about 2.2 MB, and at 320 kbps about 7.2 MB. These use decimal megabytes, so a player reporting mebibytes may show slightly less. Choose the rate for the destination rather than the largest number on the list.

Sample rate and bitrate are separate decisions. Dropping from 96 kHz to 48 kHz changes the frequency range; dropping the bitrate changes how many bits the encoder can spend. At a fixed bitrate, a lower sample rate barely changes size. Sample rate explained covers the trade-offs. AAC here keeps up to eight channels, useful when MP3 would force a downmix to stereo, though each channel then gets fewer bits.

Open the AAC CompressorRe-encode an AAC or M4A file locally at 32 to 320 kbps, and keep a raw .aac stream or write an .m4a with tags.

Compatibility with Apple, Android and browsers

AAC is native to the Apple ecosystem: Voice Memos saves M4A, Music and iTunes libraries use it, and video editors expect AAC in MP4. Android recorders and apps handle it, as do current Chrome, Safari, Firefox and Edge and players such as VLC. The weak spot is older hardware: some car stereos and upload forms list MP3 but not M4A.

DestinationSuggested formatReason
iPhone, iPad, Mac, Music libraryM4A with AAC-LCNative playback and metadata handling
Android or current browserM4A or MP3Both decode in modern players
Older car stereo, unknown hardwareMP3Wider acceptance on dedicated devices
Voice note in a chat appM4A or OpusSmall files at speech bitrates
Archive or future editingWAV or FLACLossless masters survive re-export

For the other major lossy codec, see AAC vs MP3. For low-bitrate voice and messaging, what is Opus audio explains where Opus fits and which players may not open it.

Tags, cover art and metadata

Tags live beside the coded audio. An M4A uses MP4-style atoms such as name, artist, album, year, genre and covr for cover art. Re-encoding here carries those fields and artwork over, so a tag-heavy file can stay larger at the same bitrate.

Tag schemes by container
ContainerTag systemNote
M4A and MP4MP4 atomsFields such as name, artist and covr
MP3ID3A different field set from MP4 atoms
FLAC and OggVorbis commentsOpen text fields, common in libraries
WAVRIFF INFOLimited and handled inconsistently

Fields do not map one to one. Title, artist, album, year, genre and cover art usually carry over to MP3; custom fields may not. Chapter markers in .m4b audiobooks are not recreated. Check the result in the Audio Inspector if tags matter.

Tags can change without touching the audio. The MP3 Tag Editor rewrites only the metadata block and copies the stream byte for byte, with no generation loss. To drop tags and pictures, use Remove Audio Metadata, after saving any cover with the Album Art Extractor. The tag guide explains field differences.

Copying, converting and generation loss

Editing a tag or changing a filename copies coded bytes unchanged. Converting between lossy codecs decodes the audio to PCM and encodes it again. That second pass adds generation loss: the new encoder makes its own choices on top of the first encoder's.

AAC to MP3 decodes the stream and re-encodes it as MP3, adding a small difference from the original. At a sensible bitrate most listeners will not notice, but the change is real. The reverse cannot repair anything: AAC at a higher bitrate makes a larger file, and AAC to WAV removes compression while restoring nothing.

Keep one lossless master and generate every delivery copy from it. If you only have AAC, keep that M4A and work from a fresh copy each time. Every extra lossy pass adds change that cannot be undone.

  1. 1

    Start from the original source

    Use the original WAV or FLAC when one exists. If the source is an M4A, treat that as the master.

  2. 2

    Finish edits before encoding

    Trim, merge, set levels and remove silence first with the Audio Cutter or Audio Merger.

  3. 3

    Choose the codec for the destination

    Use WAV to M4A for efficient AAC, or M4A to MP3 where the player needs MP3.

  4. 4

    Verify the result

    Check codec, bitrate, sample rate and channel count in the Audio Inspector before sending the file.

Open the WAV to M4A ConverterEncode a WAV master as AAC in M4A with the bitrate and channels you choose, processed locally in your browser.Open the Audio File InspectorRead container, codec, bitrate, channels and tags before you convert, so you know what the source contains.

When ALAC or FLAC is the right answer

Lossless codecs are not small delivery formats, but they suit files you will edit again or archive. ALAC and FLAC both preserve the exact samples; the difference is the ecosystem. ALAC is Apple's option in M4A, FLAC is open and widely supported. Neither removes audio information, and neither implies a tiny file.

SituationChooseWhy
A finished song for an Apple deviceM4A with AAC at 160 kbpsEfficient, native playback
A file for an unknown playerMP3Broad device acceptance
A master you will edit againWAV or FLACExact samples, no generation loss
An open lossless archiveFLACLossless with wide player support
A long lecture or voice noteAAC at 48 to 96 kbps, often monoSpeech needs little bandwidth

ALAC files are large, though smaller than WAV. For preservation, move ALAC to FLAC rather than AAC. For sharing, accept that the result is lossy. The Audio Compressor has a lossless preset that writes FLAC, keeping the samples without a big size drop.

M4R ringtones and other M4A variants

M4R is an iPhone ringtone: AAC in an MP4-based container with the .m4r extension. The Ringtone Maker caps it at 40 seconds, matching the usual iPhone limit; the ringtone guide covers the steps. M4B is an audiobook in the same family, often with chapters an M4A encode will not recreate. M4P marks protected purchases a browser cannot decode.

A practical edit then encode workflow

Order matters more than the exact bitrate. Edits on a decoded file stay reversible until you encode, and every lossy encode is a one-way step. Put the encode last and you pay for it once.

  • Inspect. Read codec, bitrate, sample rate and channels in the Audio Inspector.
  • Cut and arrange. Use the Audio Cutter or Audio Merger.
  • Clean up. Remove long silence and set a sensible loudness target if the recording varies.
  • Encode once. Pick M4A with AAC for Apple and video, or MP3 for unknown hardware.
  • Verify and keep the master. Check the output and keep the original for a later re-export.

For the trade-offs from the uncompressed side, see how to compress a WAV file.

Open the M4A to MP3 ConverterProduce an MP3 compatibility copy from an M4A, with decode and encode both running in your browser.

Local processing and privacy

For these tools, audio is read from your device, decoded in the browser, processed in a Web Worker and offered as a local download. The page and codec assets still load from the web, so this describes where audio is processed, not offline operation. Tags are shown as text, never as markup.

That matters for voice memos, interviews and unreleased music. If a browser cannot decode a source, the tool reports the problem and stops rather than sending the file to a remote encoder.


Tools used in this article

Frequently asked questions

Is M4A the same thing as AAC?

No. AAC is a lossy codec; M4A is an MP4-based container that usually holds AAC but can hold ALAC. A .aac file is usually a raw ADTS stream.

Is AAC lossless?

No. AAC removes audio information while encoding. It sounds close at sensible settings, but the detail cannot be recovered. ALAC and FLAC are the lossless options here.

What bitrate should I use for M4A?

The default here is 160 kbps for music and Apple devices. Use 96 kbps for mixed speech and music, 48 to 64 kbps mono for one speaker, and 192 kbps or more when size is less important. The encoder accepts 32 to 320 kbps.

Does converting AAC to MP3 or WAV improve it?

No. MP3 re-encodes the decoded samples and adds a small generation loss. WAV removes compression but makes the file much larger without restoring what AAC discarded. Keep a WAV or FLAC master and generate copies from that.

Can an M4A hold cover art and tags?

Yes. M4A stores MP4-style atoms for title, artist, album, year, genre and track number, plus cover art. Common fields usually carry over to MP3; custom fields may not.

Why is my M4A file so large?

Likely reasons: it holds ALAC, uses a high AAC bitrate, or is simply long. Check the codec and bitrate in the Audio Inspector before picking a setting.

What is an M4R file?

An M4R is an iPhone ringtone: AAC in an MP4-based container with the .m4r extension, capped at 40 seconds here. It uses the same codec as an M4A.

Can I edit tags without re-encoding?

Yes. The MP3 Tag Editor rewrites only the metadata block and copies the audio unchanged. Tools that change bitrate or codec do re-encode.

Related articles