Audio and Video
Bitrate, sample rate, codecs, containers and streaming.
Sound and video are streams of data, and the key number is the bitrate: how many bits are used for each second. Bitrate multiplied by duration gives the size of a file, which makes planning easier than it first seems.
This topic builds the idea from the ground up. It starts with sample rate and bit depth and shows where the 1,411,200 bits per second of CD audio come from. It compares lossless and lossy audio formats, separates codecs from containers, and explains the difference between constant and variable bitrate. You will learn how to estimate the size of a video from its bitrate, and how to work backward from a size limit to a bitrate you can afford. The last guide estimates how much data streaming uses per hour.
The audio file size, video file size and streaming data usage calculators go with these articles, with the formula visible on every page.
All 9 articles in this topic
Audio and Video
What Is Bitrate? Audio and Video Explained
Bitrate counts the data used per second of playback, so it sets file size directly. Units, formula and pitfalls.
Audio and Video
Sample Rate and Bit Depth: Where CD Audio's 1,411 kbps Comes From
CD audio's 1,411 kbps is three numbers multiplied together. Derive it step by step and see what each setting costs.
Audio and Video
How Big Is an Audio File? Size by Minute and Hour
Tables of audio size per minute and per hour, plus the two formulas behind them, for uncompressed and compressed audio.
Audio and Video
Lossless and Lossy Audio Formats: WAV, FLAC, MP3 and AAC
WAV is uncompressed, FLAC is lossless, MP3 and AAC are lossy. See what sets each format's size and how to calculate it.
Audio and Video
Codec vs. Container: What MP4, MKV and WebM Actually Are
MP4, MKV and WebM are containers, not codecs. Learn what each layer does and which one sets the size of the file.
Audio and Video
How to Calculate Video File Size from Bitrate and Duration
A step-by-step method to turn a bitrate and a running time into a file size, with examples in MB and GiB.
Audio and Video
How to Choose a Bitrate for a Target File Size
Work backward from a size limit to the bitrate that fits, with a method, two examples and a note on headroom.
Audio and Video
Constant vs. Variable Bitrate: What Changes for File Size
Constant bitrate gives a predictable size, variable bitrate gives an average. A labeled example shows the gap.
Audio and Video
How Much Data Does Streaming Use per Hour?
Data per hour depends on the stream's bitrate. Example rates from 1 to 8 Mbps, and the step from hourly to monthly use.