The formula
File size (bytes) = (video bitrate + audio bitrate) × duration (s) ÷ 8
Size per minute (MB) ≈ total Mbps × 7.5; per hour (GB) ≈ total Mbps × 0.45
Recording time = storage (bits) ÷ total bitrate
Upload time ≈ file size (bits) ÷ (upload speed × 0.9)
Worked example
- 10 minutes of 4K 30 fps video at 35 Mbps with 256 kbps audio:
- Total bitrate = 35.256 Mbps; size = 35.256 × 600 ÷ 8 = 2,644 MB (2.64 GB).
- That's 264 MB a minute, so a 128 GB card holds about 8 h 4 min.
- Uploading at 20 Mbps takes about 20 minutes.
How video file size is calculated
Video file size depends on bitrate and duration. Bitrate is the amount of data recorded each second, usually measured in megabits per second (Mbps). Multiply the combined video and audio bitrate by the length in seconds and divide by 8 to convert bits to bytes. Resolution, frame rate and codec don't appear directly in the formula, but they determine the bitrate your camera or encoder uses. Container overhead and metadata add a little, usually under 1%.
Typical bitrates
Delivery codecs such as H.264 (AVC) and H.265 (HEVC) compress video heavily. YouTube recommends roughly 8–12 Mbps for 1080p uploads and 35–68 Mbps for 4K, depending on frame rate and HDR. Consumer cameras and phones typically record 4K at 50–150 Mbps. Editing codecs such as Apple ProRes and Avid DNxHR use much higher bitrates, about 147 Mbps for ProRes 422 at 1080p30 and several hundred Mbps at 4K, because they're designed for quality and fast editing rather than small files. RAW video can exceed 1 Gbps.
Variable bitrate
Most cameras and encoders use variable bitrate (VBR), spending more data on complex, fast-moving scenes and less on simple, static ones. The quoted bitrate is usually an average or maximum, so actual file sizes vary. H.265 achieves similar quality to H.264 at roughly half the bitrate, and newer codecs such as AV1 compress even more efficiently. For planning, use your camera's stated bitrate for the mode you'll use, or the presets as a guide.
Memory cards and storage
Use the storage field to see how much footage fits on a memory card or drive. High-bitrate modes need fast cards: look for the card's minimum sustained write speed, such as V30 (30 MB/s) or V60 and V90 for high-bitrate 4K and 8K. Remember that 1 MB/s is 8 Mbps, so a 200 Mbps codec needs at least 25 MB/s sustained. Back up footage to two places before formatting cards, and plan project storage: a documentary shoot can easily generate several terabytes.
Uploading and sharing
Large files take a long time to upload on typical home connections, especially asymmetric ones with slow upload speeds. The calculator estimates upload time at your speed, allowing for about 10% overhead. To reduce upload size, export with an efficient codec at the platform's recommended bitrate rather than uploading the original camera files. Our data transfer time calculator compares different connection speeds.
Audio
Audio adds relatively little to video files: 128–320 kbps for compressed AAC audio, or about 1.5 Mbps for uncompressed 48 kHz 16-bit stereo PCM. For podcasts and audio-only recordings, see our audio file size calculator. For multi-camera productions, enter the number of clips or cameras to multiply the total.
Frame rate, resolution and quality
Doubling the frame rate from 30 to 60 fps doesn't always double the bitrate, because modern codecs predict much of each frame from the previous one, but high frame rates still need noticeably more data for the same quality. Moving from 1080p to 4K quadruples the number of pixels, so 4K bitrates are typically three to five times higher. Fast motion, fine detail such as foliage and water, film grain and noise all need more bitrate, so a clip of a crowded street will be larger than a talking-head interview at the same settings.
Related production tools
Plan the length of a video from its script with the script word count calculator, and work out shooting intervals with the time-lapse calculator. For frame sizes and crops, the aspect ratio calculator resizes footage for different platforms, and the RAID calculator sizes storage arrays for editing.