Free tool by DCAST
Bitrate & File Size Calculator
File size from bitrate and duration, or required bitrate from target size. Resolution, FPS, and audio tracks. For streaming and VOD.
Inputs
Presets fill resolution and bitrate; adjust as needed.
Video & time
Recommended video bitrate for 1920×1080 at 30 fps: 8 Mbps (H.264, SDR).
Reference: YouTube recommended upload encoding settings. Live destinations publish their own figures — check the preset above.
Bitrate
Total bitrate = video + (audio × tracks).
Optional: live stream upload check
Use up to 70% of upload speed for stable streaming.
Result
Estimated file size: 2.31 GB
Total bitrate: 5.13 Mbps (video + audio × tracks)
Recommended video bitrate for 1920×1080 at 30 fps: 8 Mbps (H.264, SDR).
Pixels per second: 62.21 Mpx/s (reference)
Formula: Size (bytes) = (Video + Audio × Tracks) × Duration(sec) × 10⁶ ÷ 8. For same quality, HEVC/AV1 need lower bitrate than H.264 — see Duration calculator and Codec cheat sheet.
Already have OBS open? Put your stream on DCAST
Go live on YouTube and Twitch at the same time, and sell access to your stream. Free to start.
How the bitrate calculator works
This calculator estimates video file size from bitrate and duration, or the bitrate you need to fit a target file size. Total bitrate is the sum of video bitrate and all audio tracks (audio bitrate × number of tracks). For live streaming, keep total bitrate at or below 70% of your upload speed to avoid buffering.
Resolution and frame rate do not change the file size directly; they affect the recommended bitrate for a given quality. For the same bitrate, HEVC and AV1 produce smaller files than H.264 at similar quality. See the duration calculator for encoding time and the codec cheat sheet for codec comparison.
Recommended bitrate and file size by resolution
Bitrates are the H.264 (SDR) figures from YouTube's recommended upload settings that this calculator suggests (for 4K, the top of YouTube's 35–45 and 53–68 Mbps ranges); sizes are one hour of video before audio.
| Resolution | 24–30 fps (Mbps) | 48–60 fps (Mbps) | 1 h at 24–30 fps | 1 h at 48–60 fps |
|---|---|---|---|---|
| 360p | 1 | 1.5 | 0.45 GB | 0.68 GB |
| 480p | 2.5 | 4 | 1.13 GB | 1.8 GB |
| 720p | 5 | 7.5 | 2.25 GB | 3.38 GB |
| 1080p | 8 | 12 | 3.6 GB | 5.4 GB |
| 1440p | 16 | 24 | 7.2 GB | 10.8 GB |
| 2160p (4K) | 45 | 68 | 20.25 GB | 30.6 GB |
Audio adds about 58 MB per hour at 128 kbps and 144 MB at 320 kbps. Live streaming has its own figures: Twitch recommends 6 Mbps for 1080p60, and the Twitch preset here warns above that; YouTube Live publishes a separate table for live encoders. Real files land near these numbers, not exactly on them: encoders vary bitrate from scene to scene and the container adds a little.
How to work out your streaming bitrate
- Run a speed test on the connection you'll stream from and note the upload in Mbps.
- Take 70% of it: that's the most your stream, video and audio together, should use; the rest absorbs dips and other traffic.
- Subtract audio (128 kbps = 0.128 Mbps); what's left is your video ceiling.
- Stay under the platform's limit and pick the resolution that fits.
Example: 10 Mbps upload → 7 Mbps for the stream; Twitch's 6 Mbps video + 128 kbps audio = 6.13 Mbps, so 1080p60 fits. On a 4 Mbps line the ceiling is 2.8 Mbps, too little for 1080p; the OBS settings calculator suggests 720p at 30 fps and 2,672 kbps of video, which is 2,800 minus the audio.
- Q:What is video bitrate?
- A:Bitrate is how much data one second of video uses, written in megabits per second (Mbps) or kilobits per second (kbps); 1 Mbps = 1,000 kbps. Speed tests use the same unit, so you can check a stream against your upload directly. Files are counted in bytes, and a byte is 8 bits — divide by 8: 8 Mbps is 1 MB every second, 60 MB a minute, 3.6 GB an hour. More bitrate keeps fast motion sharp up to a point where the picture stops improving; HEVC and AV1 reach that point at a lower bitrate than H.264.
- Q:How is file size calculated from bitrate?
- A:File size (bytes) = (video bitrate + audio bitrate × number of audio tracks) × duration in seconds × 1,000,000 ÷ 8. The calculator uses this formula for both "file size from bitrate" and "required bitrate from target size" modes.
- Q:What bitrate should I use for streaming?
- A:Use up to 70% of your upload speed for stable live streaming. Twitch recommends up to 6,000 kbps for 1080p60; YouTube allows higher. Choose a preset (Twitch, YouTube, 4K) or enter your own values.
- Q:Can I size an audio-only file?
- A:Yes. Set video to 0 Mbps and pick the audio bitrate: a 60-minute podcast is about 57.6 MB at 128 kbps and 144 MB at 320 kbps.
All tools · Duration & encoding time · Codec cheat sheet · Start free
Related reading from the blog
- Live Stream Encoding Settings: Bitrate, Resolution, and FPS Guide
- Video Encoding Settings: Bitrate, Resolution, and Quality Optimization
- Adaptive Bitrate Streaming: How ABR Works and Why It Matters
- How to Compress a Video Without Losing Quality: A Guide for Businesses
- Internet at the Venue: Wired, Cellular, Bonded and Backup Connections
- How Much Bitrate Does Your Live Stream Need?
- Transcoding Pipeline Architecture for Video Platforms
- Per-Title Encoding: Optimizing Quality and Bandwidth