File size calculator
Bitrate is quoted in bits per second and file size in bytes, and the factor of eight between them is the single most common slip in this calculation. An 8,000 kbps stream is 1,000 kilobytes a second, not 8,000, so 45 minutes comes to about 2.51 GB instead of 20. The same confusion is why a "100 megabit" connection downloads at about 12 megabytes a second.
Bitrate, duration and file size are one equation with three unknowns: fix any two and this gives the third. An 8,000 kbps stream for 45 minutes is about 2.51 GB, because bitrate is bits per second and size is bytes, eight apart. It also gives card capacity and the uncompressed bitrate of a PCM audio session.
How to work out a file size
Every answer on this page comes from one relationship: bits per second times seconds gives bits. All the mistakes come from the units on either side of it.
The factor of eight, and the other one underneath it
Bitrate is quoted in bits and file size in bytes, so eight is where most wrong answers start. An 8,000 kbps stream is a thousand kilobytes a second, not eight thousand, and 45 minutes of it comes to about 2.51 GB instead of 20. It is the same confusion that makes a "100 megabit" line download at roughly 12 megabytes a second.
Underneath that sits a smaller ambiguity: whether a megabyte is 1,000,000 bytes or 1,048,576. Storage manufacturers use the decimal figure and operating systems have historically shown the binary one, and the gap is about 5% at the megabyte and 7% at the gigabyte. This page uses binary megabytes, so the answer matches what a file manager reports; a file showing 2.5 GB on disk is about 2.68 decimal gigabytes on a drive label.
Hitting a size target
A single encoding pass has to guess how to spend its bits before it has seen the footage, and typically overshoots or undershoots by several per cent. Two-pass analyses the whole file first and then distributes the bits toward the complex sections, and for an upload ceiling like a mail attachment or a Discord limit that difference is the difference between a file that fits and one you encode twice.
The figure this page gives is the total, so take your audio off it to get the video allowance, typically 128 to 320 kbps for stereo. Leave one or two per cent of margin as well, because container overhead and encoder variance both land on the wrong side of a hard limit.
Cards hold less than the arithmetic says
Recording adds a figure that is not in the equation at all. A 100 Mbps camera needs 12.5 MB/s of sustained write, and card speeds are quoted in megabytes while camera bitrates are quoted in megabits, so the comparison is not the one on the packaging. That is what the V-ratings are for: V30 and V60 guarantee 30 and 60 MB/s sustained, and the sustained figure is the one to read.
The capacity figure needs reading carefully too. A card sold as 128 GB holds 128 decimal gigabytes, which an operating system shows as about 119; that is the same bytes counted differently, not less card, and the answer here counts the full 128. What genuinely costs you space is the filesystem, a per cent or two. What costs you a take is write performance, which degrades as a card fills and as it ages, and on a marginal card can stop a recording partway through. Professional practice is to swap cards at about 80% instead of filling them, which gives up a little capacity and removes a whole class of failure.
Uncompressed audio
This is the one case where the bitrate is a consequence, not a setting: sample rate times bit depth times channels. CD audio is 44,100 × 16 × 2, which is 1,411 kbps, and that single figure is why 74 minutes of it takes about 750 MB.
Nyquist sets the ceiling at half the sample rate, but not the practical one. A real converter needs an anti-aliasing filter below that half, and no filter is infinitely steep, so 44.1 kHz gives clean response to about 20 kHz rather than a hard 22.05. That margin is exactly why 44.1 was chosen instead of 40. Video uses 48 kHz for a separate reason: it has a clean relationship with common frame rates, which simplifies synchronisation.
Higher sample rates cost storage linearly and deliver much less than the numbers suggest for finished audio, since 44.1 already captures everything above the range of human hearing. Where they genuinely help is during processing, so studios often work at 96 kHz and deliver at 48. Bit depth is the more consequential choice when recording, because 24-bit leaves far more room for a conservative input level.
What people use it for
- Estimating an export size before rendering
- Finding the bitrate that fits a video into an upload limit
- Working out how long a memory card holds at a given bitrate
- Checking a card can sustain the write speed a camera needs
- Deciding how many cards a day of shooting will take
- Planning storage for a shoot or a multitrack session
- Choosing a session sample rate and seeing the bitrate it costs
- Comparing a WAV master against a compressed delivery format
- Seeing how long a given amount of free space will hold
Questions
Multiply bitrate by duration in seconds, then divide by eight. The eight is because bitrate counts bits per second and file size counts bytes, and there are eight bits in a byte.
About 3.35 GB, including nothing for audio.
It depends on length. Ten minutes into 25 MB is about 350 kbps total, which will look poor above 480p.
Two, whenever you have a size target. One pass has to guess and usually misses by several per cent.
Yes. The figure here is total; take your audio bitrate off it to get the video allowance, typically 128–320 kbps for stereo.
Container overhead and encoder variance. Leave one or two per cent of margin.
Storage labels use 1000; operating systems usually show 1024. File sizes here are binary, to match what you will see on disk, while a card size is read as the decimal figure printed on the card.
About 2 hours 51 minutes at 100 Mbps, or 1 hour 25 at 200 Mbps.
Bitrate divided by eight, so a 100 Mbps recording needs 12.5 MB/s sustained. V30 and V60 guarantee 30 and 60 MB/s sustained, which matters far more for video than the burst speed on the packaging.
It is not, quite. A 128 GB card holds 128 decimal gigabytes and your computer counts in binary ones, so it reports about 119. Same bytes, different arithmetic; the filesystem takes a per cent or two on top.
No. Write performance degrades as a card fills and as it ages, which on a marginal card stops a recording mid-take. Swapping at about 80% removes that whole class of failure.
When recording, yes. 24-bit leaves far more room for a conservative input level. A higher sample rate does nothing audible on playback and buys headroom for heavy processing, which is why studios track at 96 kHz and deliver at 48.
About 605 MB at 44.1 kHz 16-bit stereo, or 908 MB at 24-bit.
Sample rate × bit depth × channels. CD audio is 44,100 × 16 × 2, which is 1,411 kbps; 48 kHz 24-bit stereo is 2,304.
Half the sample rate is the highest frequency representable. A real anti-aliasing filter cannot be infinitely steep, so 44.1 kHz gives clean response to about 20 kHz rather than a hard 22.05. That margin is exactly why 44.1 was chosen over 40.
It divides cleanly against common frame rates, which simplifies synchronisation.