Tech & wiring
File Size Calculator
This calculator converts a file size between bits, bytes, and prefixed units from kilo through exa. Each step multiplies or divides by 1024 (IEC binary, KiB/MiB/GiB) or 1000 (SI decimal, KB/MB/GB), with bytes equal to bits divided by 8. Toggle the base to match OS file managers or vendor drive labels. Results update live in the browser; it does not scan disks or enforce attachment limits.
By Jeff Beem
Updated
File size
Enter a size and unit; results update as you type. Use binary (1024) like most OSes, or decimal (1000) for vendor and network specs.
1 GiB expressed as:
Information hub
How the math works
Binary (IEC): each step is 1024 (2ยนโฐ). So 1 KiB = 1024 B, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB. One byte = 8 bits.
- Using binary (1024): 1 GiB = 1024^3 = 1,073,741,824 bytes.
- 1 ร 1,073,741,824 = 1,073,741,824 bytes.
- Total: 1,073,741,824 bytes = 8,589,934,592 bits.
Common media and storage sizes
Sizes vary by format and quality; use this as a ballpark.
How to use this calculator
Enter a size and unit in section 01, then pick binary (1024) or decimal (1000) on the Base control to match the label you are checking. The dark results card lists every equivalent unit (bits through exabytes) as you type. The How the math works panel shows multiply-by-1024 or multiply-by-1000 steps for your current input; Common media and storage sizes is a static ballpark table you can re-enter in section 01. Calculations run locally in the browser.
Reading your conversion results
The dark results card lists the same byte count in every unit. Match the Base toggle in section 01 to the source: binary (1024) for most OS file managers, decimal (1000) for drive stickers and many data caps.
Base toggle: decimal (1000) for vendor specs
Bits unit in the dropdown
File size calculator: bits, bytes, and binary vs decimal
This calculator converts prefixed file-size units with 1024 or 1000 at each step and treats bytes as bits divided by 8. Results update live in the browser and do not scan disks or enforce attachment limits.
What this calculator does
- Binary (IEC):
Used by Windows, Linux, and most file managers for on-disk sizes.
- Decimal (SI):
Used on drive packaging and many network data caps.
- Bits vs bytes:
Speeds use bits per second; file sizes use bytes.
How the math works
Limits of the model
File Size Calculator FAQ
Why does my 1 TB drive show only about 931 GB in Windows?
What is the difference between KB and KiB in this calculator?
How do I convert file size from bits to bytes here?
What does the Base toggle in section 01 do?
Why 1024 instead of 1000 for "kilo" in file sizes?
Does the Common media and storage sizes table change with my input?
What file size can I safely send by email?
What are typical file sizes for photos, video, and audio?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.