Home Everyday Life Video File Size Calculator

Video File Size Calculator

File size from bitrate and duration.

Advertisement

How it works

File size is the total bitrate multiplied by the duration, divided by eight because there are eight bits in a byte. Add the audio bitrate to the video bitrate first, keeping an eye on the units: video is usually given in megabits per second and audio in kilobits per second. Real files carry a little extra for the container, so treat the answer as a close estimate. Both decimal gigabytes and binary gibibytes are shown, because the two are often confused.

Advertisement

Formula

total bitrate = video (Mbps) × 1,000,000 + audio (kbps) × 1,000
bytes = total bitrate × seconds ÷ 8
GB = bytes ÷ 1,000,000,000; GiB = bytes ÷ 1,073,741,824

Sources

Example

8 Mbps video with 128 kbps audio for 90 minutes: total bitrate = 8.128 Mbps, and bytes = 8,128,000 × 5,400 ÷ 8 = 5,486,400,000, which is 5.49 GB or 5.11 GiB. Check: 5,486,400,000 × 8 ÷ 5,400 = 8,128,000 bits per second.

Frequently asked questions

Why divide by eight?

Bitrate counts bits and file sizes count bytes, and there are eight bits in a byte.

GB or GiB?

A GB is 1,000,000,000 bytes, a GiB is 1,073,741,824. Operating systems often show GiB but label it GB.

What if the bitrate varies?

Use the average. Variable bitrate files are larger where there is more motion.

Does it include container overhead?

No. Expect a few percent more in the real file.

Advertisement

Related calculators

Age Calculator

Exact age in years, months and days, plus days until your next birthday.

Date Difference Calculator

Days, weeks, months and business days between two dates.

Tip Calculator

Tip and split the bill between any number of people.

Discount Calculator

The price after a percent discount and how much you save.