Start Submit a site

Data Storage Converter

Developer Tools

Convert between bits and bytes, KB, MB, GB and TB in both decimal (1000) and binary (1024) units.

Your inputs

Browse all tools

Result

Decimal (1000-based) —
  • Binary (1024-based) —
  • Bytes, decimal reading —
  • Bytes, binary reading —
  • Binary vs decimal gap — %

Change any input and the result updates instantly.

Formula and rules

  • Decimal: 1 KB = 1,000 B, 1 MB = 1,000 KB, 1 GB = 1,000 MB, 1 TB = 1,000 GB
  • Binary: 1 KiB = 1,024 B, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB, 1 TiB = 1,024 GiB
  • Bytes = amount × size of the from-unit in bytes
  • Gap = (binary bytes ÷ decimal bytes − 1) × 100, which reaches about 7.37% at the gigabyte scale
  • 1 byte = 8 bits

Worked examples

1 GB to MB

Input 1 GB to MB.

Result 1,000 MB in decimal units or 1,024 MiB in binary units, a 7.37% gap.

500 MB to GB

Input 500 MB to GB.

Result 0.5 GB decimal and 0.488281 GiB binary, both exactly 500,000,000 or 524,288,000 bytes.

A network speed in bits

Input 8 bit to Byte.

Result Exactly 1 byte in both systems, so the gap is 0%.

FAQ

Why does my 1 TB drive show only about 931 GB?

Drive makers use decimal units, so 1 TB is 1,000,000,000,000 bytes. An operating system that reports binary units divides by 1,024 four times and gets 931.3 GiB, which older systems still label as GB.

Should I write KB or KiB?

KB officially means 1,000 bytes and KiB means 1,024 bytes under the IEC standard. Many tools and people still use KB for 1,024, which is exactly why this calculator shows both readings.

How do I convert a 100 Mbps connection to megabytes?

Divide by 8 first: 100 megabits per second is 12.5 megabytes per second. A one-hour download at full speed then moves about 45,000 MB, or 45 GB decimal.

Disclaimer: Results follow the formula shown on this page and are for reference only. Real-world quantities vary with materials, technique and conditions, so allow a margin before ordering.