How to Calculate Bitrate
Updated · Figures verified · Sources
To calculate bitrate, divide the file size in bits by the running time in seconds: bitrate = file size in bytes × 8 ÷ duration in seconds. A 2 GB file that runs 30 minutes is 2,000,000,000 × 8 ÷ 1,800 = 8.89 Mb/s.
Run it the other way to size a file (size = bitrate × seconds ÷ 8), or to find the bitrate that fits a size limit. The free bitrate calculator does all three in your browser. Below: the three calculations worked through, real camera data rates, Apple's ProRes rates, and what YouTube, Twitch and Facebook recommend for live streams.
Open the bitrate calculatorBits, bytes and the units that trip people up
Bitrate is how many bits a file or stream uses per second of running time. Video rates are quoted in megabits per second: 1 Mb/s = 1,000 kb/s = 1,000,000 bits per second. Network speeds use bits (Mb/s); drive and card speeds usually use bytes (MB/s). One byte is 8 bits, so 1 MB/s = 8 Mb/s.
Sizes are decimal when drive makers and macOS count them (1 GB = 109 bytes) and binary when Windows does (it labels 230 bytes "GB"). The same 2 "GB" file read the Windows way is 9.54 Mb/s over 30 minutes, 7.4% more. The TB vs TiB guide shows which tools count which way.
The three bitrate calculations
Bitrate (b/s) = File size (bytes) × 8 ÷ Duration (s)The answer is the file's overall rate: video, audio and container together.
Example: A 2 GB file that runs 30 minutes
- Calculation:
- 2,000,000,000 × 8 ÷ 1,800
- Result:
- 8,888,889 b/s = 8.89 Mb/s
File size (GB) = Bitrate (Mb/s) × Duration (s) ÷ 8,000Dividing by 8 turns bits into bytes; dividing by 1,000 turns MB into GB.
Example: 8.89 Mb/s for 30 minutes
- Calculation:
- 8.89 × 1,800 ÷ 8,000
- Result:
- 2.00 GB
Video bitrate (Mb/s) = Size (GB) × 8,000 ÷ Duration (s) − Audio (Mb/s)For an upload limit or a delivery spec that caps file size. Aim a little under: the container adds a small overhead.
Example: A 45-minute episode that must fit in 4 GB, with 192 kb/s audio
- Calculation:
- 4 × 8,000 ÷ 2,700 = 11.85 Mb/s; − 0.192 = 11.66 Mb/s
- Result:
- Encode the video at about 11.5 Mb/s
Data rates of real camera formats
Camera data rates decide how many cards a shoot needs and how much storage post has to buy. The table is built from CineMath's camera database, using only formats for which the maker publishes a rate at each frame rate, read at 24 fps.
| Camera | Format | Mb/s | MB/s | GB per hour | Minutes per TB |
|---|---|---|---|---|---|
| Canon EOS C400 | Cinema RAW Light HQ · 6K FF · 24p | 1,730 | 216.3 | 778.5 | 77 |
| Canon EOS C400 | Cinema RAW Light ST · 6K FF · 24p | 850 | 106.3 | 382.5 | 157 |
| Canon EOS C400 | Cinema RAW Light LT · 6K FF · 24p | 553 | 69.1 | 248.9 | 241 |
| Canon EOS R5 C | Cinema RAW Light ST · 8K FF · 24p | 1,580 | 197.5 | 711.0 | 84 |
| Canon EOS R5 Mark II | XF-AVC S Intra HQ · 4K DCI · 24p | 480 | 60.0 | 216.0 | 278 |
| Leica SL3-S | ProRes 422 HQ · C4K · 24p | 779 | 97.4 | 350.6 | 171 |
| DJI Ronin 4D-8K | ProRes 422 HQ · 8K FF · 24p | 2,880 | 360.0 | 1,296.0 | 46 |
| DJI Ronin 4D-8K | ProRes 422 HQ · 4K FF · 24p | 720 | 90.0 | 324.0 | 185 |
| Sony FX6 (ILME-FX6V) | XAVC-I · DCI 4K · 24p | 240 | 30.0 | 108.0 | 556 |
| Sony FX3 | XAVC S-I · DCI 4K · 24p | 240 | 30.0 | 108.0 | 556 |
GB per hour = Mb/s × 3,600 ÷ 8 ÷ 1,000. Minutes per TB = 8 × 1012 ÷ (Mb/s × 106) ÷ 60. Formatted cards hold slightly less than their label. For another frame rate, use the manufacturer’s figure at that setting.
Worked example: storage for a five-day shoot
A documentary shoots 5 days on a Canon EOS C400 in Cinema RAW Light LT, 6K FF at 24 fps, recording about 3 hours a day. The post supervisor sizes the drives:
- • Camera originals: 553 Mb/s × 3,600 ÷ 8,000 = 248.9 GB an hour; × 15 hours = 3.73 TB.
- • Three copies (two on set, one at the post house): 11.2 TB, so three drives of at least 4 TB each, more with headroom.
- • Edit proxies in ProRes 422 Proxy at 1920 × 1080 24p (36 Mb/s, Apple's target): 16.2 GB an hour, 243 GB for the shoot. The whole offline fits on one laptop drive.
The storage planning guide goes further into copies, RAID and archive; the RAID calculator sizes the arrays.
Apple ProRes target data rates
ProRes is the most common editing and delivery codec, and Apple publishes a target rate for each flavor, raster and frame rate. Its rates are close to a fixed number of bits per pixel: ProRes 422 HQ spends 3.54–3.56 bits per pixel per frame in every row below. That lets you estimate rasters Apple doesn't list. At 6144 × 3240 24p, 3.552 bits × 6144 × 3240 × 24 = 1,697 Mb/s; Apple's own 6K table (p. 21 of the white paper) lists 1,697.
| Raster | Rate | ProRes 422 Proxy | ProRes 422 LT | ProRes 422 | ProRes 422 HQ | ProRes 4444 | ProRes 4444 XQ |
|---|---|---|---|---|---|---|---|
| 1920×1080 | 24p | 36 | 82 | 117 | 176 | 264 | 396 |
| 1920×1080 | 50i, 25p | 38 | 85 | 122 | 184 | 275 | 413 |
| 1920×1080 | 60i, 30p | 45 | 102 | 147 | 220 | 330 | 495 |
| 1920×1080 | 50p | 76 | 170 | 245 | 367 | 551 | 826 |
| 1920×1080 | 60p | 91 | 204 | 293 | 440 | 660 | 990 |
| 3840×2160 | 24p | 145 | 328 | 471 | 707 | 1,061 | 1,591 |
| 3840×2160 | 25p | 151 | 342 | 492 | 737 | 1,106 | 1,659 |
| 3840×2160 | 30p | 182 | 410 | 589 | 884 | 1,326 | 1,989 |
| 3840×2160 | 50p | 303 | 684 | 983 | 1,475 | 2,212 | 3,318 |
| 3840×2160 | 60p | 363 | 821 | 1,178 | 1,768 | 2,652 | 3,977 |
| 4096×2160 | 24p | 155 | 350 | 503 | 754 | 1,131 | 1,697 |
| 4096×2160 | 25p | 162 | 365 | 524 | 786 | 1,180 | 1,769 |
| 4096×2160 | 30p | 194 | 437 | 629 | 943 | 1,414 | 2,121 |
| 4096×2160 | 50p | 323 | 730 | 1,049 | 1,573 | 2,359 | 3,539 |
| 4096×2160 | 60p | 388 | 875 | 1,257 | 1,886 | 2,828 | 4,242 |
GB per hour for any cell = Mb/s × 0.45, which reproduces Apple's own GB/hr column: 422 HQ at UHD 24p is 318 GB an hour.
Live-stream bitrates by platform
For a live stream, the bitrate is limited twice: by your upload speed and by what the platform accepts. Leave headroom on the connection, then use the platform's figure if it is lower.
Video bitrate = Upload speed × 0.8 − Audio bitrate, capped at the platform's figureThe 80% is a common rule of thumb for headroom, not a platform rule. Twitch says a stable stream matters more than a high bitrate.
Example: A 10 Mb/s upload, 1080p60, 160 kb/s audio
- Calculation:
- 10 × 0.8 = 8 Mb/s; − 0.16 = 7.84 Mb/s
- Result:
- Twitch: 6 Mb/s (its 1080p60 figure). YouTube: about 7.8 Mb/s, above its 6 Mb/s minimum but under its 17 Mb/s recommendation.
| Format | YouTube Live | Twitch | Facebook Live |
|---|---|---|---|
| 2160p60 | 50 Mb/s (min 14) | — | — |
| 2160p30 | 42 Mb/s (min 11) | — | — |
| 1440p60 | 34 Mb/s (min 8) | — | — |
| 1080p60 | 17 Mb/s (min 6) | 6 Mb/s | 4.5–9 Mb/s |
| 1080p30 | 14 Mb/s (min 5) | 4.5 Mb/s | 3–6 Mb/s |
| 720p60 | 8 Mb/s (min 3) | 4.5 Mb/s | 2.25–6 Mb/s |
| 720p30 | 8 Mb/s (min 3) | 3 Mb/s | 1.5–4 Mb/s |
All three ask for a keyframe every 2 seconds. YouTube's AV1 and HEVC figures are lower for the same picture: 2160p60 35 Mb/s (min 10), 1080p60 12 Mb/s (min 4), 1080p30 10 Mb/s (min 4). Audio: YouTube 128 kb/s AAC or MP3 stereo; Twitch AAC-LC, 96 kb/s recommended, 160 kb/s maximum; Facebook AAC-LC, 128 kb/s, 256 kb/s maximum. For uploads rather than live streams, see the YouTube video specs.
Common bitrate mistakes
- • Reading MB/s as Mb/s. They differ by a factor of 8.
- • Mixing decimal GB and binary GiB. They are 7.4% apart.
- • Leaving audio out. Six channels of 24-bit 48 kHz PCM add 6.9 Mb/s.
- • Dividing by minutes. The formula wants seconds.
- • Streaming at the full measured upload. Any dip in the connection drops frames.
In CineMath
The app's Data & Storage calculator solves for file size, record time or the bitrate that hits a target size, with camera presets carrying each maker's published rates (Pro). For a finished file, Upload Time works out how long it takes to send.
Sources
- DJI Ronin 4D X9-8K recording specifications, DJI. ProRes 422 HQ rows for the full-frame 8192 × 4320 and 4096 × 2160 rasters. The chart gives storage rates in MB/s for each listed frame rate. (checked )
- YouTube Help: Choose live encoder settings, bitrates, and resolutions, Google. H.264 and AV1/HEVC recommended and minimum bitrates per resolution and frame rate (custom stream key, manual settings); AAC or MP3 audio at 128 kb/s stereo; keyframes every 2 s, no more than 4 s; CBR. (checked )
- Twitch Help: Broadcasting Guidelines, Twitch. x264 and NVENC specs: 1080p60 6,000 kb/s, 1080p30 and 720p60 4,500 kb/s, 720p30 3,000 kb/s, CBR, 2 s keyframes; AAC-LC audio, 96 kb/s recommended, 160 kb/s maximum. (checked )
- Meta for Developers: Live Video API reference, recommended settings, Meta. Video bitrate ranges per resolution and frame rate; AAC-LC audio at 44.1 or 48 kHz, 128 kb/s preferred, 256 kb/s maximum; keyframes every 2 s, no more than 4 s. (checked )
- Apple ProRes White Paper (April 2022), Appendix: Target Data Rates, Apple. ProRes 422 Proxy to 4444 XQ target rates for 1920 × 1080, 3840 × 2160 and 4096 × 2160 at 24p to 60p. Still the current edition at this URL. (checked )
- CineMath camera database, CineMath. 164 cameras, each figure checked against the manufacturer's published specs; exported 2026-11-28. The camera data-rate table uses only modes for which the maker publishes a rate per frame rate.