Dictionary

What Is Audio Bitrate?

Audio bitrate tells you how much data an audio stream uses per second. Find out what values such as 128 kbps mean for MP3 and other files.

audio-bitrate

Audio bitrate, also written audio bit rate, is the amount of data that an audio stream uses for each second of sound. Audio bitrate is measured in bits per second, and 1 kilobit per second (kbps) is 1000 bits per second. An MP3 file at 128 kbps uses 128000 bits for every second of audio.

In a video file, the audio stream has its own bitrate, separate from the bitrate of the picture. The bitrate of the whole file is a different value, because it covers all streams together.

What the value looks like

A report can show the audio bitrate in bits per second, such as 128000. A report can also use kilobits per second, such as 128 kbps, or megabits per second, such as 1.41 Mbps.

Typical values

  • 32 kbps to 320 kbps: MP3 at 32000, 44100, or 48000 Hz, in 14 fixed steps
  • 8 kbps to 160 kbps: MP3 at 16000, 22050, or 24000 Hz, a mode that is acceptable for speech
  • 128 kbps: the default of the LAME MP3 encoder for stereo at 32000, 44100, or 48000 Hz, and of the AAC encoder in FFmpeg
  • 64 kbps to 128 kbps: the range that the Opus specification names for stereo music
  • 1.41 Mbps: uncompressed stereo audio at 44100 Hz and 16 bits, the values of an audio CD

For stereo MP3 audio, Mozilla's guide for web developers recommends at least 128 kbps. For music, the guide says to choose at least 192 kbps if possible.

Where the value comes from

The encoder sets the bitrate when it creates the file, from the settings that you or the program chose. In an MP3 file, 4 bits in the header of each frame hold the bitrate as an index number. For index 0, a report shows free instead of a number.

A WAV file stores the average number of bytes per second, and 8 times that value is the bitrate. For uncompressed audio, the bitrate is the sampling rate times the bits per sample times the number of channels. So 44100 Hz, 16 bits, and 2 channels give 1411200 bits per second, which the file stores as 176400 bytes per second.

A FLAC file stores no bitrate, so the program that reads the file calculates any bitrate it shows. An Ogg Vorbis file has fields for a nominal, a maximum, and a minimum bitrate. The Vorbis specification calls these fields hints, so the real bitrate can differ, and a field with the value 0 has no meaning.

Constant and variable bitrate

With constant bitrate (CBR), every second of the file uses the same amount of data. With variable bitrate (VBR), the encoder decides the number of bits for each frame, so the bitrate changes during the file.

For a VBR MP3, the LAME encoder writes an extra header with the number of frames and bytes. A report can calculate the average bitrate from this header. Without the header, a report may show only the bitrate of the first frame.

For an MP3 file without this header, a report can estimate the duration from the file size and the bitrate. A wrong bitrate then also gives a wrong duration.

Why it matters

MP3, AAC, Opus, and Vorbis use lossy compression: the encoder discards or simplifies sounds that are hard to hear. A higher bitrate lets the encoder keep more, so the quality can be better, but the file gets larger. At 128 kbps, one minute of audio needs 960 kilobytes, and at 320 kbps the same minute needs 2.4 megabytes.

Compare bitrates only between files with the same codec. At the same bitrate, AAC is usually reported to sound better than MP3.