💾 Data Unit Converter
Convert between bit, Byte, KB, MB, GB, TB, PB and binary units (KiB, MiB, GiB, TiB).
Conversion Reference
1 Byte = 8 bits
1 KB = 1,000 B / 1 KiB = 1,024 B
1 MB = 1,000 KB / 1 MiB = 1,024 KiB
1 GB = 1,000 MB / 1 GiB = 1,024 MiB
SI units (KB, MB…) are base-1000; binary units (KiB, MiB…) are base-1024.
Worked examples
1,024 MB is 1 GiB in binary units but 1.024 GB in decimal units, which is why a 1 TB drive shows about 931 GiB in an operating system.
A 100 Mbit/s connection downloads at most 12.5 MB per second, because one byte holds eight bits.
What the conversion assumes
Decimal SI prefixes (KB, MB, GB) multiply by 1,000 and binary prefixes (KiB, MiB, GiB) by 1,024, the difference that makes drives look smaller than their label. Network speeds are quoted in bits per second while files are sized in bytes, so divide by eight. Drive makers and RAM vendors use different conventions on purpose.
Frequently asked questions
- Why does my 1 TB disk show 931 GB?
- 1 TB decimal equals 1,000,000,000,000 bytes, which is 931.3 GiB in binary units, and most operating systems display GiB while printing GB.
- Are Mbps and MB/s the same?
- No. Mbps is megabits per second and MB/s is megabytes per second; divide by eight, so 100 Mbps is a theoretical 12.5 MB/s before overhead.
- Which prefix should I use in a spec?
- Use KiB and MiB for binary sizes such as memory and SI prefixes for storage and network rates; mixing them is the source of most confusion.