Data Unit Calculator
Convert between data units (KB, MB, GB, TB).
Convert between data sizes in both systems at once: decimal units (bytes, kB, MB, GB, TB, which go up by 1,000) and binary units (KiB, MiB, GiB, TiB, which go up by 1,024), plus bits. Enter a value and unit to see every equivalent. It explains why a "1 TB" drive shows about 931 GB in Windows: the drive maker counts in decimal and Windows counts in binary but labels it GB.
| Bits | 4,000,000,000,000 | |
|---|---|---|
| Bytes | 500,000,000,000 | |
| KB (×1000^1) | 500,000,000 | |
| MB (×1000^2) | 500,000 | |
| GB (×1000^3) | 500 | |
| TB (×1000^4) | 0.5 | |
| PB (×1000^5) | 0.0005 | |
| KiB (×1024^1) | 488,281,250 | |
| MiB (×1024^2) | 476,837.158203 | |
| GiB (×1024^3) | 465.661287 | |
| TiB (×1024^4) | 0.454747 | |
| PiB (×1024^5) | 0.000444 |
Decimal units (KB, MB, GB) step by 1,000 and are used by drive makers, macOS and network speeds. Binary units (KiB, MiB, GiB) step by 1,024 and are what Windows and RAM sizes actually use.
Common use cases
- Understand why a drive or memory card looks smaller than advertised
- Convert file sizes between MB and MiB for documentation
- Convert bits and bytes for network and storage planning
How to use
- Enter a value.
- Choose its unit.
- Read the equivalent in every other unit.
FAQ
Is a kilobyte 1,000 or 1,024 bytes?
Officially 1,000 (kB); 1,024 bytes is a kibibyte (KiB). Windows and much older software still use KB to mean 1,024.
How long will a file take to download?
Use the bandwidth calculator.
Related tools
- Bandwidth CalculatorCalculate bandwidth and transfer times.
- Time Unit ConverterConvert between time units (seconds, minutes, hours, days).
- Regex Cheat SheetRegular expression syntax reference with a live tester: click any token to see what it matches.
- Cron Expression BuilderBuild cron expressions with interactive UI.
- Cron Expression ParserParse cron expressions to human-readable format.
- Megabytes to GigabytesIn Converters
- Kilobytes to MegabytesIn Converters
- Gigabytes to TerabytesIn Converters