B

Bawitools
BlogMy Apps
  • video
  • audio
  • formats

What bitrate is and why it decides how big a video or song is

The number that most affects the size of a video or audio file, how to work out how big it will be before exporting, and why raising the bitrate of an already compressed file doesn’t improve it.

By BawiTools5 min read

What bitrate is and why it decides how big a video or song is

Two videos last exactly one minute and have the same resolution. One is 15 MB and the other 120 MB. The difference isn’t the length or the number of pixels, but a number people almost never look at: the bitrate.

What it is

Bitrate is the amount of data devoted to each second of video or audio. It’s measured in kilobits per second (kbps) or megabits per second (Mbps). A video at 8 Mbps stores eight million bits for every second of picture; a song at 128 kbps, a hundred and twenty-eight thousand bits for every second of sound.

The more data per second, the more detail the codec can keep and the better the result looks or sounds. But the bigger the file gets, too, and the more bandwidth it takes to stream it.

The sum that tells you how big a file will be

Since bitrate is “data per second”, a file’s size comes from a multiplication:

size (MB) ≈ bitrate (Mbps) × duration (seconds) ÷ 8

You divide by 8 because a byte is 8 bits. Some examples:

Content Bitrate Duration Approximate size
MP3 song 128 kbps 4 min 3.8 MB
MP3 song 320 kbps 4 min 9.6 MB
Uncompressed CD audio 1411 kbps 4 min 42 MB
1080p video for the web 8 Mbps 1 min 60 MB
1080p video from a phone 16 Mbps 1 min 120 MB

It works the other way round too. If a form or a chat only accepts 25 MB files and your video lasts 2 minutes (120 seconds), the total bitrate can’t exceed about 25 × 8 ÷ 120 ≈ 1.6 Mbps, audio included. From there you already know you’ll have to lower the resolution, because 1080p won’t fit at good quality.

Why phone videos are so big

A phone camera has to compress video while it records, in real time and without overheating the phone. It has no time to analyze each scene calmly, so it uses a high bitrate with plenty of margin so nothing looks bad.

Compression software on a computer, on the other hand, can take its time: find which parts of the picture repeat, where there’s motion and where there isn’t, and spend data where it’s needed. That’s why a phone video can be cut to half or less with no visible difference, while one downloaded from a social network, which already went through that process, barely shrinks.

Constant, variable and quality-based bitrate

There are three ways to decide the bitrate when encoding:

  • Constant (CBR): the same number of bits every second, whatever happens on screen. Predictable and useful for live streaming, but it wastes data on still scenes and falls short on busy ones.
  • Variable (VBR): you set an average bitrate and the encoder gives more to hard scenes and less to easy ones. The final size is predictable and quality more even.
  • Constant quality (CRF in H.264, or “quality” in many apps): you don’t set the bitrate but the visual quality to keep, and the encoder uses as many bits as each scene needs. It’s the most efficient way to store or send a file, although the final size isn’t known until it finishes.

BawiTools’ video compressor uses this last mode: you pick a quality level and the codec decides how much each scene needs.

The most common mistake: raising the bitrate

If a file is already compressed, saving it again at a higher bitrate doesn’t improve it. Detail lost in the first compression doesn’t come back; only the size grows. It happens a lot with audio: converting a 128 kbps MP3 to 320 kbps gives a file two and a half times bigger that sounds exactly the same. It also happens with video downloaded from the internet and re-exported “in high quality”.

The rule is simple: the output bitrate should never exceed the input’s if the source is already lossy.

How much bitrate you need

It depends on the content and the codec, but as a guide:

  • Speech (podcasts, notes, lectures): 64–96 kbps in AAC or MP3 is perfectly intelligible.
  • Music for listening: 128 kbps is usually enough in AAC; in MP3, 192 kbps gives a comfortable margin.
  • 720p video: between 2 and 5 Mbps in H.264 looks good on a phone or laptop.
  • 1080p video: between 5 and 10 Mbps, more if there’s a lot of motion (sports, games) or it was recorded at 60 frames per second.

Scenes with lots of changing detail —water, leaves in the wind, confetti, the grain of a night shot— need the most bitrate. They’re where an over-compressed video shows blocks and smudges first.

In short

Bitrate is the amount of data per second, and it’s what most determines how much space a video or audio file takes. To work out the size, multiply the bitrate by the duration and divide by 8. To shrink a file, lower the bitrate or, better still, use a constant-quality mode and lower the resolution if needed. And never raise the bitrate of something that was already compressed: it will be bigger without looking or sounding any better.

If you want to try it with your own files, the audio converter lets you pick the output bitrate, and the video compressor shows you the size before and after. Both work in your browser, without uploading anything.

Comments

Log in to leave a comment