Calcylator
Video

How big will the video be?
Estimating file size from bitrate and duration

Work out storage, upload time or a target bitrate before you export, record or stream a single frame.

Calcylator Editorial Team

Updated · 5 min read

From bitrate and running time to megabytes

Video size is decided by how many bits the encoder spends on each second of footage and how many seconds there are. Resolution and frame rate matter only because they push the bitrate you need up or down. If you know the bitrate and the length, the size follows with one multiplication and one division.

Bitrates are quoted in bits per second, while file sizes are quoted in bytes. That factor of eight is the part people forget, and it is why a 10 Mbps stream does not produce 10 MB every second but 1.25 MB.

File size =(video bitrate + audio bitrate) × duration ÷ 8
bitrate:
bits per second, for example 8 Mbps = 8,000,000 bits/s
duration:
length of the clip in seconds
÷ 8:
converts bits to bytes
Divide the result by 1,000,000 for MB or by 1,000,000,000 for GB.
  • Video bitrate

    8 Mbps

  • Audio bitrate

    128 kbps

  • Duration

    10 minutes = 600 s

File size

≈ 609.6 MB

(8,000,000 + 128,000) × 600 ÷ 8 = 609,600,000 bytes, which is 0.57 GiB if your operating system counts in powers of 1024.

A calculator does the same sum, and it is handy for checking an export dialog that shows an estimate before you commit to a long render.

What bitrate to expect for each resolution

Bitrate is a choice you make in the encoder, so there is no single correct figure. The ranges below are commonly cited starting points for H.264 at 30 frames per second; newer codecs such as HEVC and AV1 reach similar quality with noticeably less, and fast action needs more than a talking head.

Illustrative H.264 settings, so check the figures your platform currently recommends
ResolutionTypical video bitrateApprox. size for 10 min
480p2.5 Mbps≈ 197 MB (with 128 kbps audio)
720p5 Mbps≈ 385 MB
1080p8 Mbps≈ 610 MB
4K (2160p)35 Mbps≈ 2.64 GB (with 192 kbps audio)

Notice that 4K is not four times the size of 1080p in this table but about 4.3 times, because platforms recommend a bitrate that grows a little faster than pixel count. In practice the encoder decides: constant-quality modes such as CRF spend more bits on busy scenes and fewer on still ones, so the real size can land well off an estimate.

Spending a size budget on frame rate and resolution

Every extra pixel and every extra frame has to be paid for in bits. Sixty frames per second is not double the cost of thirty, because neighbouring frames are very similar and compress well, but platforms commonly recommend roughly one and a half times the bitrate. Higher resolution raises the need further.

Each figure is total bitrate × 1,800 s ÷ 8, with 128 kbps audio included
SettingTotal bitrate30-minute lecture
720p, 30 fps5.128 Mbps≈ 1.15 GB
1080p, 30 fps8.128 Mbps≈ 1.83 GB
1080p, 60 fps12.128 Mbps≈ 2.73 GB

A talking-head lecture or screen recording has little motion, so 720p at 30 fps is usually plenty. Sport or gameplay is the opposite: motion is where low bitrates fall apart, and the extra frame rate is visible. Choose the setting that matches the content, then use the formula to see what it costs.

Constant and variable bitrate change the estimate

With constant bitrate (CBR) every second gets roughly the same budget, so the formula is almost exact. Variable bitrate (VBR) and quality-based modes average out to a target but fluctuate, and an estimate is only as good as that average.

  • CBR: size is predictable, which suits live streaming and broadcast delivery.
  • Two-pass VBR: the encoder analyses the clip first and hits your average bitrate closely, at the cost of more encode time.
  • CRF or quality-based: you set a quality level, not a size, so the file size is an outcome rather than an input.

When a size limit is the real constraint, such as an email or upload cap, work backwards and pick a bitrate that fits. That is the use of the next formula.

Working backwards: the bitrate that fits a size limit

Target bitrate =size in bytes × 8duration in seconds
size:
the file size you can afford, in bytes
duration:
clip length in seconds
Subtract the audio bitrate from the result to get the video bitrate you can set.
  • Space available

    700 MB

  • Running time

    90 min = 5,400 s

Total bitrate

≈ 1.04 Mbps

700,000,000 × 8 ÷ 5,400 = 1,037,037 bits per second. About 0.9 Mbps would remain for video after a 128 kbps audio track.

That is thin for 1080p, so the answer in this case is a lower resolution, not a clever setting. Shrinking the picture often looks better than starving a large one of bits.

Why the downloaded file is not the size you computed

  • Container overhead: MP4 and MKV headers and index data usually add a percent or two.
  • Decimal versus binary units: 609.6 MB is also about 581 MiB, and a drive or app may report either.
  • Multiple audio tracks, subtitles and chapters add their own bits.
  • Hardware encoders in phones and cameras often run at a fixed high bitrate regardless of scene content.

Streaming, data packs and hours per gigabyte

Turn the same relationship around to see what a data pack buys. One hour at 5 Mbps moves 2.25 GB, at 8 Mbps it moves 3.6 GB, and at 2.5 Mbps it moves 1.125 GB. A 1.5 GB daily pack therefore lasts about 25 minutes of 8 Mbps video, or about 80 minutes at 2.5 Mbps.

Streaming services adapt the bitrate to your connection and screen, so the real figure sits somewhere between the tiers they offer. Many apps include a data-saver option that simply picks a lower tier.

  • Lower the quality setting on mobile data, since small screens hide most of the loss.
  • Download over Wi-Fi in advance where the service allows it.
  • Check whether the figure on a plan is decimal GB, since 1 GiB is about 7 percent larger.

Using the number for uploads and storage

The same figure drives two practical questions. Upload time is size in bits divided by your upload speed, so a 610 MB file on a 20 Mbps uplink needs about four minutes at best, since 609.6 MB is 4,877 megabits and 4,877 ÷ 20 is roughly 244 seconds. Real-world throughput is lower than the line rate, so allow extra.

For archives, multiply size per hour by hours recorded. A camera writing 50 Mbps fills about 22.5 GB an hour, so a day of ten-hour shoots produces over 200 GB before backups. Run these numbers before buying cards and drives, not after.

Common questions

How many MB is one minute of video?

It depends on bitrate. At 8 Mbps plus 128 kbps audio, a minute is about 61 MB. At 5 Mbps (720p) it is about 38 MB, and at 35 Mbps (4K) roughly 264 MB. Multiply total bits per second by 60 and divide by 8.

What is the formula for video file size?

File size in bytes equals total bitrate in bits per second multiplied by duration in seconds, divided by 8. Add video and audio bitrates together first. Divide by one million for MB, or by one billion for GB.

Does resolution or bitrate decide file size?

Bitrate decides it directly. Resolution and frame rate only influence how many bits are needed for acceptable quality. Two 1080p files can differ ten times in size if one is encoded at 4 Mbps and the other at 40 Mbps.

Why is my exported video larger than the estimate?

Container overhead, extra audio tracks, subtitles and variable bitrate peaks add to the average. Quality-based encodes also grow on busy footage. Expect real files to land a few percent above a plain bitrate times duration estimate.

How do I fit a video under a size limit?

Divide the limit in bits by the duration in seconds to get the total bitrate, then subtract the audio bitrate. A 100 MB limit for a 5 minute clip allows about 2.67 Mbps in total.

Was this guide helpful?

Continue reading

View all blogs