Data Storage Converter

Convert digital storage between bits, bytes and every unit from kilobytes to exabytes, in both the decimal (base 1,000) and binary IEC (base 1,024) systems. The result updates as you type.

Convert data size

Decimal places"Max" keeps every significant digit.
1 GB
1,​000,​000,​000 bytes
1 GiB
1,​073,​741,​824 bytes
Gibibyte (GiB)
0.931323
Equivalent in bytes
1,​000,​000,​000

How to use this calculator

  1. Type the data size into the Enter data size field.
  2. Pick the unit you are converting From and the unit you want the answer To. Every option shows the name and the symbol, so Gigabyte (GB) and Gibibyte (GiB) are never mixed up.
  3. Choose how many decimal places the result shows. Max keeps every significant digit, so a tiny conversion such as 1 bit to GB still reads 0.000000000125 rather than rounding to zero.
  4. Read the headline conversion, with the exact byte equivalent beside it. The unit definitions in bytes appear under the inputs.

How is a data storage conversion calculated?

Every unit is converted through bytes, so there is one exact factor per unit:

bytes = value × (bytes in the source unit)
result = bytes ÷ (bytes in the destination unit)
  • 1 GB = 1,000,000,000 bytes (decimal, base 1,000).
  • 1 GiB = 1,073,741,824 bytes (binary, base 1,024).

Example: convert 1 GB to GiB

  1. 1 GB × 1,000,000,000 = 1,000,000,000 bytes.
  2. 1,000,000,000 ÷ 1,073,741,824 = 0.931323 GiB.

Decimal vs binary storage units

Digital storage can be measured using decimal or binary units. Decimal units use steps of 1,000, while binary units use steps of 1,024. A lowercase b means bits and an uppercase B means bytes.

Each SI prefix as a decimal unit (base 1,000) and its binary IEC counterpart (base 1,024), in bytes
PrefixDecimal (base 1,000)Binary (base 1,024)
Kilo1 kB = 1,000 bytes1 KiB = 1,024 bytes
Mega1 MB = 1,000,000 bytes1 MiB = 1,048,576 bytes
Giga1 GB = 1,000,000,000 bytes1 GiB = 1,073,741,824 bytes
Tera1 TB = 1,000,000,000,000 bytes1 TiB = 1,099,511,627,776 bytes

Why can a hard drive appear smaller than advertised?

Storage manufacturers usually describe capacity using decimal units. For example, a 1 TB drive contains 1,000,000,000,000 bytes. When software reports that same capacity using binary-based calculations, it is approximately 931 GiB, so the displayed number can appear lower even though the drive capacity has not changed.

Precisely, 1 TB is about 909.495 GiB, while many operating systems label that binary-based value as roughly 931 “GB”. No storage is lost — only the unit used to describe it differs.

What is the difference between bits and bytes?

A bit is the smallest unit of digital information. A byte is made up of 8 bits. Use lowercase b for bits and uppercase B for bytes: for example, 100 Mbps is different from 100 MB/s.

Common data storage conversions

Common data storage values and their equivalents
ValueEquivalent
8 bits1 byte
1 kB1,000 bytes
1 KiB1,024 bytes
1 MB1,000 kB
1 MiB1,024 KiB
1 GB1,000 MB
1 GiB1,024 MiB
1 TB1,000 GB
1 TiB1,024 GiB

Frequently asked questions

What is the difference between KB and KiB?

A kilobyte (kB) is 1,000 bytes. A kibibyte (KiB) is 1,024 bytes. The difference comes from decimal storage units using base 1,000 and binary units using base 1,024.

What is the difference between GB and GiB?

A gigabyte (GB) equals 1,000,000,000 bytes. A gibibyte (GiB) equals 1,073,741,824 bytes. One GB is approximately 0.931323 GiB.

How many bytes are in a megabyte?

One decimal megabyte (MB) is 1,000,000 bytes. One binary mebibyte (MiB) is 1,048,576 bytes.

How many bits are in a byte?

There are 8 bits in 1 byte.

Why does my drive show less storage than the label?

Drive manufacturers generally use decimal units, while some operating systems display capacity using binary calculations. This difference in measurement can make the reported number appear smaller.

Is 1 TB equal to 1,000 GB?

Yes. In decimal units, 1 TB equals 1,000 GB. In binary units, 1 TiB equals 1,024 GiB.