File Size Converter
Convert file and storage sizes between bytes, decimal units, and binary units without mixing up GB and GiB. Useful for downloads, SSD capacity, upload limits, and cloud storage plans.
See how a decimal-labeled download size compares with a binary storage reading.
The result changes because decimal units count powers of 1000 bytes, while binary units count powers of 1024 bytes.
Was this useful?
Examples
How It Works
Formula
Variables
- Input value
- Equivalent size in bytes(B)
- Converted result in the target unit
- Bytes per source unit(B)
- Bytes per target unit(B)
The calculator converts your entry into bytes first, then divides by the target unit factor. That keeps decimal SI units and binary IEC units aligned through the same base.
Reference factors used by the calculator (bytes per unit):
- 1 B = 1 B
- 1 KB = 1000 B
- 1 MB = 1000² B
- 1 GB = 1000³ B
- 1 TB = 1000⁴ B
- 1 PB = 1000⁵ B
- 1 KiB = 1024 B
- 1 MiB = 1024² B
- 1 GiB = 1024³ B
- 1 TiB = 1024⁴ B
- 1 PiB = 1024⁵ B
The value is multiplied by the source factor to get bytes, then divided by the target factor to get the converted size.