ThisCalculator

Everyday

Gb Bitrate Calculator: Formula, Examples & FAQ

Updated · Standard formula, shown below

File size (from bitrate) 1.50 GB
Bitrate (from size)
3.33 Mbps
Result
Duration (from size)
60.06 min
Result
File size
1.5 GB
You entered

This calculator converts a file size in gigabytes (GB) into a bitrate in megabits per second (Mbps) for a given duration, or converts a bitrate and duration into the resulting file size. You enter any two of the three values (file size, duration, bitrate), and the calculator works out the third using the standard digital-data formulas below.

Formula

The core relationship is: File size (in bits) = Bitrate (in bits per second) × Time (in seconds). To keep units consistent, remember that 1 byte = 8 bits, 1 GB = 1,000,000,000 bytes (decimal), and 1 Mbps = 1,000,000 bits per second.

  • File size (GB) = (Bitrate (Mbps) × Duration (seconds)) / 8000 – because 1 GB = 8,000 megabits.
  • Bitrate (Mbps) = (File size (GB) × 8000) / Duration (seconds) – the inverse.
  • Duration (seconds) = (File size (GB) × 8000) / Bitrate (Mbps) – the other inverse.

If your duration is in minutes, multiply by 60 to get seconds. If your file size is in GiB (binary, 2^30 bytes), the conversion factor becomes 8 × 1,073,741,824 bits per GiB, which is roughly 8,590 Mbps per GiB per second. Most consumer storage and internet plans use decimal GB, so this calculator uses that convention.

Worked Example

Using the default values: file size = 1.5 GB, duration = 60 minutes, bitrate = 3.33 Mbps.

  1. Convert duration to seconds: 60 min × 60 = 3600 s.
  2. Convert file size to megabits: 1.5 GB × 8000 = 12,000 Mb.
  3. Calculate bitrate: 12,000 Mb ÷ 3600 s = 3.333… Mbps, which rounds to 3.33 Mbps.

That matches the default bitrate. If you instead want the file size produced by a 3.33 Mbps stream over 60 minutes: (3.33 × 3600) / 8000 = 1.4985 GB, which rounds to 1.50 GB.

When to Use a Gb Bitrate Calculator

You’ll find this calculation useful in several real-world situations:

  • Video encoding: You have a 4 GB video file and want to stream it at a certain quality for 2 hours – what bitrate keeps the size under a limit?
  • Network bandwidth planning: A security camera records 10 Mbps continuously. How much storage does a week of footage take?
  • Upload/download time estimation: If your internet upload is 5 Mbps, how long to send a 2 GB file? (Bitrate is not exactly throughput, but it’s a close approximation.)
  • Audio files: A 320 kbps MP3 (0.32 Mbps) – how many hours fit on a 1 GB drive?

In all cases, you’re balancing quality (higher bitrate = better quality but larger files) against storage or bandwidth constraints.

How to Read the Result

The first output (File size from bitrate) is the headline answer. If you enter a bitrate and duration, it tells you the file size in GB that will result. The other two outputs let you swap the unknown. For example:

  • Enter file size and duration → get the required average bitrate.
  • Enter file size and bitrate → get the duration you can record or stream.

Remember that this is an average bitrate. Video encoders often use variable bitrate (VBR) where complex scenes use more bits and simple scenes fewer. The average over the whole file is what matters for size calculations. If you’re working with constant bitrate (CBR), the result is exact.

Common Mistakes and Misconceptions

The biggest pitfall is mixing up decimal GB (1,000,000,000 bytes) and binary GiB (1,073,741,824 bytes). Operating systems often display “GB” but actually report GiB, which can make a 1.5 GB file appear as 1.4 GB. Always check which unit your software uses.

Another frequent error is forgetting that 1 Mbps = 1,000,000 bits per second, not 1,048,576. The “mega” prefix in networking is decimal. Similarly, 1 MB (megabyte) = 8 Mb (megabits) – note the lowercase “b” for bits. A 10 MB/s download speed is 80 Mbps.

Also, don’t confuse bitrate with resolution. A 4K video can be compressed to a low bitrate, but quality will suffer. Bitrate is the amount of data per second, not the pixel count.

Limits of This Formula

The formula assumes a constant bitrate over the entire duration. Real-world files often have headers, metadata, and variable bitrate, so the calculated size may differ slightly from actual. For video, the container (e.g., MP4, MKV) adds overhead, but it’s usually negligible (a few MB).

Also, this calculator does not account for audio tracks, subtitles, or multiple video streams. If you’re estimating a file with multiple audio languages, add those bitrates separately.

Finally, network throughput is never exactly equal to bitrate due to protocol overhead, latency, and congestion. Use the result as a planning estimate, not a guarantee.

Frequently Asked Questions

How many Mbps are in 1 GB?

There are 8,000 megabits in 1 decimal gigabyte. This is because 1 byte = 8 bits and 1 GB = 1,000,000,000 bytes = 8,000,000,000 bits = 8,000 Mb. However, “Mbps” is a rate, not a quantity, so you need a time component to convert between GB and Mbps.

What is the difference between GB and GiB?

GB (gigabyte) is decimal: 1 GB = 1,000,000,000 bytes. GiB (gibibyte) is binary: 1 GiB = 1,073,741,824 bytes. Hard drive manufacturers typically use GB, while RAM and some operating systems use GiB but label it “GB”. This calculator uses GB, which matches most internet and storage marketing.

How long does it take to download a 1.5 GB file at 10 Mbps?

Using the formula: duration = (1.5 × 8000) / 10 = 1200 seconds = 20 minutes. That’s the theoretical minimum; actual time is longer due to overhead and speed fluctuations. At 50 Mbps, it would be 240 seconds (4 minutes).

Can I use this for audio files?

Yes. Audio bitrates are usually given in kbps (kilobits per second). Just divide the kbps by 1000 to get Mbps. For example, a 320 kbps MP3 is 0.32 Mbps. A 1 GB drive holds about (1 × 8000) / 0.32 = 25,000 seconds ≈ 6.94 hours of audio.

Why does my video file size not match the calculated size?

Because most video encoders use variable bitrate (VBR). The average bitrate may be lower or higher than the peak, and container overhead adds a small amount. Also, if your software reports GiB, the size will appear smaller than the decimal GB calculation.

What bitrate do I need for 1080p video?

There’s no single answer – it depends on codec (H.264, H.265, etc.), frame rate, and desired quality. As a rough guide, H.264 1080p at 30 fps often uses 8–12 Mbps for good quality, while H.265 can achieve similar quality at half that. Use this calculator to see what file size those bitrates produce over your target duration.

Related

Formula used
in file_size | File size | GB | 1.5 | 0
in duration | Duration | min | 60 | 0
in bitrate | Bitrate | Mbps | 3.33 | 0
out size_from_bitrate | File size (from bitrate) | GB | (bitrate * duration * 60) / 8000 | 2
out bitrate_from_size | Bitrate (from size) | Mbps | (file_size * 8000) / (duration * 60) | 2
out duration_from_size | Duration (from size) | min | (file_size * 8000) / (bitrate * 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.