Bitrate Calculator

Calculate file size, bitrate, or duration from any two of the three. Includes presets for YouTube, Netflix, Spotify, and Blu-ray.

Bitrate, file size, and duration are linked by a single formula: if you know any two, you can calculate the third. This calculator works in all three directions - find file size from bitrate and duration, find bitrate from file size and duration, or find duration from file size and bitrate. Built-in presets for common media formats like YouTube, Netflix, Spotify, and Blu-ray speed up the process. All calculations run in your browser with no data sent anywhere.

Ad
Ad

About Bitrate Calculator

How the Bitrate Formula Works

The core relationship is straightforward: File Size (bits) = Bitrate (bits per second) x Duration (seconds). Since file sizes use bytes and bitrates use bits, divide by 8 to convert bits to bytes.

Worked example: A 2-hour recording at 8 Mbps (YouTube 1080p upload bitrate). First, convert to seconds: 2 hours = 7,200 seconds. Then multiply: 8,000,000 bits/sec x 7,200 sec = 57,600,000,000 bits. Divide by 8 to get bytes: 7,200,000,000 bytes = 7.2 GB. That is your estimated file size before compression.

The calculator handles three modes depending on which value you need:

ModeYou KnowYou GetUse Case
Bitrate + DurationBitrate (e.g. 25 Mbps) and duration (e.g. 2 hours)Estimated file sizePlanning storage for a recording session
File Size + DurationTarget file size (e.g. 4.7 GB) and duration (e.g. 2 hours)Required bitrateEncoding to fit a specific storage limit like a DVD
File Size + BitrateFile size and known bitratePlayback durationEstimating how long a downloaded media file will play

Video Streaming and Upload Bitrates

Every major streaming platform and upload service has recommended bitrate ranges. These numbers determine both video quality and how much storage or bandwidth a video consumes.

Platform / FormatResolutionRecommended Bitrate1 Hour File Size
YouTube upload1080p 30fps8 Mbps~3.6 GB
YouTube upload1080p 60fps12 Mbps~5.4 GB
YouTube upload4K 30fps35-45 Mbps~15.75-20.25 GB
YouTube upload4K 60fps53-68 Mbps~23.85-30.6 GB
Netflix streamingSD (480p)~0.7 Mbps~300 MB
Netflix streamingHD (1080p)~5 Mbps~2.25 GB
Netflix streaming4K HDR~15-25 Mbps~7 GB
Twitch live stream1080p 60fps6,000 kbps (max)~2.7 GB
Blu-ray disc1080pUp to 40 Mbps~18 GB
4K UHD Blu-ray2160pUp to 128 Mbps~57.6 GB

YouTube's recommended upload bitrates come from Google's official encoding guidelines. YouTube re-encodes every upload, so uploading at a higher bitrate preserves more detail through that process. Netflix uses adaptive bitrate streaming, meaning the actual rate adjusts based on your connection speed - the numbers above are typical peak rates. Twitch enforces a hard cap of 6,000 kbps for all streamers. Standard Blu-ray supports up to 40 Mbps total (video plus audio), while 4K UHD Blu-ray supports up to 128 Mbps using HEVC/H.265 compression (Blu-ray Disc Association specification).

Audio Bitrate Reference

Audio files and streams use much lower bitrates than video, but the same formula applies. Here are the common formats and quality tiers:

Service / FormatQuality TierBitrate1 Hour File Size
Spotify FreeNormal96 kbps (Ogg Vorbis)~43 MB
Spotify FreeHigh (max for free)160 kbps~72 MB
Spotify PremiumVery High320 kbps (Ogg Vorbis)~144 MB
Spotify PremiumLossless (since Sep 2025)~1,411 kbps (FLAC)~635 MB
Apple MusicLossless~1,411 kbps (ALAC 16-bit/44.1kHz)~635 MB
Apple MusicHi-Res LosslessUp to ~9,216 kbps (ALAC 24-bit/192kHz)~4.15 GB
CD Audio (PCM)Uncompressed1,411 kbps~635 MB

The CD audio bitrate of 1,411 kbps comes directly from its specification: 44,100 samples per second x 16 bits per sample x 2 channels (stereo) = 1,411,200 bits per second. This is uncompressed PCM audio. Lossy codecs like Ogg Vorbis (Spotify) and AAC (Apple) compress this down to 128-320 kbps by discarding audio data that most listeners cannot hear.

Bits vs Bytes - Why the Difference Matters

Bitrate uses bits per second (bps), but file sizes and storage use bytes. There are 8 bits in 1 byte. This distinction catches people out regularly because internet speeds are advertised in bits (Mbps) while downloads show bytes (MB/s).

UnitSymbolTypical UseConversion
Kilobits per secondkbpsAudio bitrates, low-bandwidth streams1 kbps = 125 bytes/sec
Megabits per secondMbpsVideo bitrates, broadband speeds1 Mbps = 125 KB/sec
Gigabits per secondGbpsFibre connections, data centre links1 Gbps = 125 MB/sec
MegabytesMBFile sizes, app sizes1 MB = 8 Megabits
GigabytesGBStorage, large downloads1 GB = 8 Gigabits

A practical example: a 100 Mbps internet connection can transfer 100/8 = 12.5 MB per second. A 7 GB Netflix 4K movie would take about 7,000/12.5 = 560 seconds, or roughly 9.3 minutes to download at full speed. The file transfer time calculator handles these calculations across all common connection types.

How Video Codecs Affect Real File Sizes

The calculator produces a constant bitrate (CBR) estimate, but real video files almost always use variable bitrate (VBR) encoding through a specific codec. The codec matters because newer codecs compress more efficiently, producing smaller files at the same visual quality.

CodecTypical 1080p BitrateEfficiency vs H.264Common Use
H.264 (AVC)4,500-6,000 kbpsBaselineOlder devices, broad compatibility
H.265 (HEVC)2,250-3,000 kbps~50% smaller4K Blu-ray, Apple devices, newer streaming
AV11,800-2,400 kbps~50-60% smallerYouTube, Netflix (newer content), Twitch (2026)
VP92,500-3,500 kbps~35-45% smallerYouTube (legacy), Google services

H.265 roughly halves the bitrate needed compared to H.264 for the same quality. AV1 improves on that by another 20-30%, meaning a 4,000 kbps AV1 stream can match a 6,000 kbps H.264 stream visually. AV1 is also royalty-free, unlike H.265 which requires licensing from three separate patent pools. YouTube, Netflix, and Twitch are all actively rolling out AV1 support. If you are encoding with a newer codec, expect actual file sizes to be 30-50% smaller than what this calculator estimates using raw bitrate alone.

Variable vs Constant Bitrate Encoding

TypeHow It WorksFile Size PredictabilityQuality Behaviour
CBR (Constant)Same bitrate every secondPredictable (this calculator assumes CBR)Wastes bits on simple scenes, may lack bits for complex ones
VBR (Variable)Adjusts per-frame based on complexityLess predictable, typically smaller than CBR at same qualityMore bits for complex scenes, fewer for static ones
ABR (Average)Targets an average but varies moment to momentClose to predicted but not exactCompromise between CBR predictability and VBR efficiency

Nearly all modern video uses VBR or ABR encoding. A fast-action scene with lots of motion needs more data than a static title card. VBR encoding allocates bits where they are needed most, so actual file sizes are typically 5-15% different from a CBR estimate. For rough storage planning, the CBR estimate from this calculator is close enough. For precise encoding targets, use a two-pass VBR encode and measure the output.

Common Mistakes When Estimating File Size

A few things regularly trip people up when estimating media file sizes:

Forgetting audio tracks. Video bitrate is usually quoted alone, but a typical video file also contains an audio track at 128-320 kbps. For short clips this is negligible, but for long recordings it adds up. A 2-hour video with 256 kbps audio adds about 230 MB on top of the video data.

Confusing bits and bytes. An "8 Mbps" stream does not produce 8 MB per second of data. It produces 1 MB per second because there are 8 bits in a byte. This is the single most common source of confusion.

Ignoring container overhead. Real files include metadata, chapter markers, subtitle tracks, and container formatting (MP4, MKV, WebM). This typically adds 1-3% to the raw audio/video data size.

Using upload bitrate for streaming estimates. YouTube recommends uploading at 8 Mbps for 1080p, but it re-encodes and streams at a lower rate (typically 3-5 Mbps for 1080p playback). The upload bitrate is intentionally higher to give YouTube more data to work with during re-encoding.

How Much Storage Does Streaming Actually Use?

Streaming data consumption is one of the most practical applications of bitrate calculations. Here is what common streaming activities consume per hour, based on published platform data:

ActivityTypical BitrateData Per HourData Per 2h Movie
Spotify (Normal quality)96 kbps~43 MB~86 MB
Spotify (Very High / Premium)320 kbps~144 MB~288 MB
Netflix SD (480p)~0.7 Mbps~300 MB~600 MB
Netflix HD (1080p)~5 Mbps~2.25 GB~4.5 GB
Netflix 4K HDR~15-25 Mbps~7 GB~14 GB
YouTube 1080p playback~3-5 Mbps~1.35-2.25 GB~2.7-4.5 GB
YouTube 4K playback~15-20 Mbps~6.75-9 GB~13.5-18 GB
Twitch 1080p60 stream6,000 kbps~2.7 GB~5.4 GB

Netflix's data figures come from its official help centre (help.netflix.com). The service uses adaptive bitrate streaming, so actual consumption varies based on your connection. Newer codecs like HEVC and AV1 (now used by Netflix for much of its catalogue) deliver the same quality at 30-50% lower bitrates than older H.264 encoding. This means a Netflix 4K stream in 2026 uses significantly less data than the same content would have a few years ago.

For a household with limited broadband or a mobile data cap, these numbers matter. Watching 2 hours of Netflix 4K content per day uses roughly 420 GB per month - enough to blow through many home broadband fair-use policies. Dropping to 1080p cuts that to about 135 GB per month.

Storage Planning for Recordings

Content creators and security camera operators need to plan storage around expected bitrate and recording duration. A quick reference for common scenarios:

Security cameras: A single 1080p IP camera at 4 Mbps (a typical setting) produces about 1.8 GB per hour. Running 24/7, that is 43.2 GB per day or roughly 1.3 TB per month per camera. Four cameras at the same bitrate need about 5.2 TB per month.

Podcast recording: Uncompressed WAV audio at CD quality (1,411 kbps) produces about 635 MB per hour. A typical 1-hour weekly podcast recorded in stereo WAV generates about 2.5 GB per month of raw audio. After compressing to 128 kbps MP3 for distribution, the final files are about 57 MB per episode.

Video production: Shooting in 4K at 100 Mbps (common for cameras like the Sony A7 series and Blackmagic Pocket) produces 45 GB per hour. A full day of shooting (8 hours of footage) generates about 360 GB of raw files, which is why professional videographers carry multiple fast SD cards or SSDs.

For converting between storage units like KB, MB, GB, and TB, the storage unit converter handles all common conversions. To estimate how much video footage fits on a drive, try the video storage calculator which factors in resolution and frame rate.

Sources

Frequently Asked Questions

What is bitrate?

Bitrate is the amount of data processed per second in a media stream. It is measured in bits per second (bps). Higher bitrates generally mean better quality for audio and video, but also larger file sizes.

How do I estimate the size of a video recording?

Multiply the bitrate by the duration. For example, a 2-hour video at 8 Mbps uses roughly 7.2 GB. This calculator handles the maths for you across different units.

What bitrate should I use for YouTube uploads?

YouTube recommends about 8 Mbps for 1080p at 30fps and 35-45 Mbps for 4K at 30fps. Higher frame rates need roughly 50% more bitrate. These are guidelines - YouTube re-encodes everything after upload.

Why does the calculated file size differ from my actual file?

Real files include container overhead, metadata, variable bitrate encoding, and multiple tracks (audio, subtitles). The calculator gives a close estimate based on a constant bitrate, which works well for planning storage and bandwidth.

What is the difference between kbps and Mbps?

kbps (kilobits per second) and Mbps (megabits per second) differ by a factor of 1,000. Audio is usually measured in kbps (128-320 kbps), while video uses Mbps (5-50 Mbps). Both use bits, not bytes.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/bitrate-calculator/" title="Bitrate Calculator - Free Online Tool">Try Bitrate Calculator on ToolboxKit.io</a>