Storage Unit Converter

Convert bytes, KB, MB, GB, TB, KiB, MiB, GiB and TiB. Compare decimal vs binary storage units and see why 1 TB appears as about 931 GiB.

2.5K uses Updated · 2026-06-04 Runs locally · zero upload
AD

Quick answer: KB vs KiB, MB vs MiB, GB vs GiB

Storage units use two different systems:

  • Decimal SI units use powers of 1000: 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes.
  • Binary IEC units use powers of 1024: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes, 1 GiB = 1,073,741,824 bytes.

That is why a drive sold as 1 TB can appear as about 931 GiB in an operating system:

1,000,000,000,000 bytes / 1,073,741,824 bytes per GiB = 931.32 GiB

Use this Storage Unit Converter when you need to translate between marketing storage sizes, operating system file sizes, memory units, network transfer calculations, and binary engineering notation.

How to use the Storage Unit Converter

  1. Enter a numeric value in the input field.
  2. Select the source unit from the dropdown (SI decimal or IEC binary).
  3. Read the equivalent values in bytes, KB, MB, GB, TB, KiB, MiB, GiB and TiB.
  4. Use the decimal column for disk labels, SSD packaging and bandwidth estimates; use the binary column for RAM, file systems and operating system capacity displays.

Standards explained

There are two competing standards for storage unit prefixes.

SI (decimal, base-10)

Defined by the International System of Units. Each prefix multiplies by 1,000:

UnitSymbolBytes
KilobyteKB1,000
MegabyteMB1,000,000
GigabyteGB1,000,000,000
TerabyteTB1,000,000,000,000
PetabytePB1,000,000,000,000,000

Used by hard drive manufacturers, network bandwidth specs, and the SI standard.

IEC (binary, base-2)

Defined by IEC 80000-13. Each prefix multiplies by 1,024:

UnitSymbolBytes
KibibyteKiB1,024
MebibyteMiB1,048,576
GibibyteGiB1,073,741,824
TebibyteTiB1,099,511,627,776
PebibytePiB1,125,899,906,842,624

Used by operating systems (Linux, macOS), RAM specifications, and file system tools.

Common conversions

InputDecimal resultBinary result
1 KB1,000 bytes0.9766 KiB
1 KiB1,024 bytes1.024 KB
1 MB1,000,000 bytes0.9537 MiB
1 MiB1,048,576 bytes1.0486 MB
1 GB1,000,000,000 bytes0.9313 GiB
1 GiB1,073,741,824 bytes1.0737 GB
1 TB1,000,000,000,000 bytes931.32 GiB

Which unit should I use?

Use KB, MB, GB and TB for storage products, internet speed discussions, cloud storage quotas and most consumer-facing documentation. These are decimal units and match the way manufacturers usually label drives.

Use KiB, MiB, GiB and TiB when exact binary capacity matters: memory pages, RAM sizes, file system blocks, low-level storage tooling, operating system reports and programming tasks.

If you are comparing a drive label with what Windows, macOS or Linux shows, convert the labeled decimal capacity into GiB or TiB. The device has not necessarily lost space; the two displays may simply be using different unit systems.

Storage unit formulas

Decimal conversion:

bytes = value × 1000^unit_power

Binary conversion:

bytes = value × 1024^unit_power

For example, converting 256 GB to GiB:

256 GB = 256 × 1,000,000,000 bytes
256,000,000,000 / 1,073,741,824 = 238.42 GiB

Frequently asked questions about Storage Unit Converter

Why does my 1 TB hard drive show as ~931 GB in Windows?

Hard drive manufacturers use decimal GB (1 GB = 10⁹ bytes). Windows reports capacity in GiB (1 GiB = 2³⁰ bytes ≈ 1.074 × 10⁹ bytes). So 1,000,000,000,000 bytes ÷ 1,073,741,824 ≈ 931 GiB.

When should I use KiB instead of KB?

Use KiB when working with memory addressing, file system block sizes, or any context where the base-2 meaning is intended. Use KB for network bandwidth or SI-standard storage labeling.

Is my data stored?

No. All conversions happen in your browser; nothing is sent to a server.