HandyBench

Digital Storage Converter

Convert KB, MB, GB, TB and binary units.

1 MB = 0.001 GB

1 MB in every digital storage unit

Bit8,000,000 bit
Byte1,000,000 B
Kilobit8,000 kbit
Megabit8 Mbit
Gigabit0.008 Gbit
Kilobyte1,000 kB
Megabyte1 MB
Gigabyte0.001 GB
Terabyte0.000001 TB
Petabyte1.0000e-9 PB
Kibibyte976.5625 KiB
Mebibyte0.9536743 MiB
Gibibyte0.0009313226 GiB
Tebibyte9.0949e-7 TiB

How to use the Digital Storage Converter

  1. 1 Choose the units to convert from and to.
  2. 2 Enter a value.
  3. 3 Read the result and the full table of storage units.

Two meanings of "kilo": decimal and binary

Storage units come in two families that look alike and differ by a growing percentage. The decimal (SI) family multiplies by 1,000: a kilobyte is 1,000 bytes, a megabyte 1,000,000 and so on. The binary (IEC) family, standardised in 1998 to end the ambiguity, multiplies by 1,024 and uses names like kibibyte (KiB), mebibyte (MiB), gibibyte (GiB) and tebibyte (TiB). Memory chips are naturally sized in powers of two, so RAM is binary, while drive makers and network gear sell in decimal units.

This converter holds bit, kilobit, megabit, gigabit, byte, kB, MB, GB, TB, PB, KiB, MiB, GiB and TiB against the byte (one bit is 0.125 B). The decimal 1,000-byte kilobyte is labelled kB, as strict SI writes it, though people also search for it as KB. The bit units are decimal too: a megabit is 1,000,000 bits, or 125,000 bytes, so a 100 Mbit figure converts straight to 12.5 MB.

Why a "1 TB" drive shows about 931 GiB

A manufacturer's 1 TB is 1,000,000,000,000 bytes. Windows historically divides by 1,024³ and labels the result "GB", although the number is gibibytes, giving 1,000,000,000,000 / 1,073,741,824 = 931.32. Nothing is missing from the drive. Only the unit changed, and the gap grows with scale.

Prefix stepBinary / decimalGap
KiB vs kB1,024 / 1,0002.4%
MiB vs MB1,048,576 / 1,000,0004.9%
GiB vs GB1,073,741,824 / 1097.4%
TiB vs TB1,099,511,627,776 / 101210.0%

More worked examples

  • 256 GB (decimal) is 238.42 GiB. A 2 TB drive is 1,862.6 GiB, or 1.819 TiB.
  • 1,024 MB is only 1.024 GB, but 1,024 MiB is exactly 1 GiB.
  • A 4.7 GB DVD holds about 4.377 GiB.
  • 16 GiB of RAM is 17.18 GB in decimal terms.

Conventions and mistakes

  • macOS and many Linux tools display decimal units, Windows historically shows binary values with decimal labels, and some tools use the IEC names. Check which a tool uses before comparing.
  • Bytes are 8 bits, so a "100 Mbps" line moves at most 12.5 MB per second, before protocol overhead.
  • For non-storage number systems such as hex and binary, the number base converter is the right tool, and to shrink a file rather than measure it, see the image compressor.

Examples

  • ▸ Convert 1024 MB to GB.
  • ▸ Compare a 1 TB drive in tebibytes (TiB).

Frequently asked questions

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes (decimal), while a mebibyte (MiB) is 1,048,576 bytes (binary, 1024²). Storage is often sold in decimal units but reported by operating systems in binary, which is why a “1 TB” drive shows as about 931 GiB.

How many megabytes are in a gigabyte?

In decimal units, 1 GB = 1,000 MB. In binary units, 1 GiB = 1,024 MiB. The converter supports both so you can match whichever your system uses.

Why does my 1 TB drive show less space?

The maker counts 1 TB as 1,000,000,000,000 bytes, while the operating system may divide by 1,024³ and show 931.3 GiB (often labeled GB). The drive is not missing space; only the unit changed.

How many bits are in a byte, and can I convert Mbps here?

A byte is 8 bits. The converter has bits, kilobits, megabits and gigabits as well as bytes, so you can convert directly, or divide megabits per second by 8: 100 Mbps is at most 12.5 MB/s.

What are KiB, MiB and GiB?

They are the IEC binary units introduced in 1998: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes, 1 GiB = 1,073,741,824 bytes. They avoid the confusion with KB, MB and GB, which are decimal in SI.