Byte / KB / MB / GB Converter
Convert between bytes, KB, MB, GB, and TB — both SI and IEC.
Runs locally in your browser. Your input is not uploaded or stored. You can verify this in your browser’s network panel.
What does this tool solve?
KB is 1,000 bytes (SI) while KiB is 1,024 bytes (IEC) — the 2.4% difference per magnitude is why disk sizes and memory sizes never seem to agree. Convert any value across both systems here.
What examples should you start with?
SI to IEC
Input
1 KB
Output
1,000 B = 0.9766 KiB
IEC to SI
Input
1 MiB
Output
1.0486 MB
Large values
Input
1.5 TB
Output
1,500,000,000,000 B = 1.3642 TiB
How does it work?
The value is normalized to bytes by multiplying with the unit's factor (powers of 1000 for SI, powers of 1024 for IEC), then divided out to every other unit.
SI units (KB, MB, GB, TB) are decimal; IEC units (KiB, MiB, GiB, TiB) are binary. Storage is usually marketed in SI, operating systems often report IEC.
What are the edge cases and limits?
- Older docs and tools use KB to mean 1024 bytes — check which convention your source uses.
- Network speeds are measured in bits (Mb), not bytes (MB) — divide by 8 before using this tool.
- Very small results switch to exponential notation to stay readable.
Technical reference
Related tools
- Number Base ConverterConvert numbers between binary, octal, decimal, and hex.
- Unix Timestamp ConverterConvert Unix timestamps to readable dates and back.