File size calculator
Choose the type of file, video, compressed audio, uncompressed audio or an uncompressed image, and enter the settings and duration, and this tool estimates the file size.
Results
Enter your values to see the result.
About this tool
It shows the size in bytes, kilobytes, megabytes, gigabytes and their binary versions, and the duration in seconds. It helps you plan storage and uploads.
- How it is calculated
- video or audio: size in bytes = (video bitrate + audio bitrate) in bits per second × seconds ÷ 8; uncompressed image: width × height × bits per pixel ÷ 8; uncompressed audio (PCM): sample rate × bits per sample × channels × seconds ÷ 8. Compressed images and the container around a stream add or save a little: this is the size of the raw data.
- Worked example
- With Type of file: Video (with sound); Video bitrate: 5,000 kbps; Audio bitrate: 128 kbps; Hours: 1; Minutes: 30; Seconds: 0, the result is: Size: 3,461,400,000 bytes; Size: 3,461,400 KB; Size: 3,461.4 MB; Size: 3.46 GB; Size: 3,301.05 MiB; Size: 3.22 GiB; Duration: 5,400 seconds.
- Good to know
- For video and audio, the size is the total bitrate times the seconds divided by eight. For an uncompressed image, it is width times height times bits per pixel divided by eight, and for uncompressed audio it is the sample rate times the bits per sample times the channels times the seconds divided by eight. Real files add a small container and may be compressed.
Frequently asked questions
Is the result the exact size of my file?
No. It is the size of the raw data. A compressed image or a variable bitrate video may be smaller or larger, and the file wrapper adds a little.
How do I find the bitrate of my video?
Check the export settings of your editor or the file's properties, which show the video and audio bitrates in kilobits per second.
Why is an uncompressed image so big?
It stores every pixel in full, so the size grows with the width, the height and the colour depth. Formats such as JPEG and PNG make the file much smaller.