AllMyCalculators

Data Storage Converter

Converts digital storage between decimal units (kB, MB, GB — powers of 1,000) and binary units (KiB, MiB, GiB — powers of 1,024). Both are listed, because the difference is exactly why a "1 TB" drive shows up as 931 GB in your operating system.

Result

Share sends a link that reopens these numbers. Copy details pastes the full breakdown as a list.

The formula

result = value × (from factor ÷ to factor)

Each data unit is defined by its size relative to the byte, so converting between any two is a single multiplication.

Every data unit

Unit Symbol In one byte
bit bit 8
byte B 1
kilobyte kB 0.001
megabyte MB 0.000001
gigabyte GB 0.000000001
terabyte TB 0.000000000001
kibibyte KiB 0.0009765625
mebibyte MiB 0.00000095367432
gibibyte GiB 0.00000000093132257
tebibyte TiB 0.0000000000009094947

Frequently Asked Questions

Why does my 1 TB drive show as 931 GB?

The manufacturer sells 1 TB = 1,000,000,000,000 bytes. Windows reports in binary units but labels them "GB", so it divides by 1,024³ and gets 931. Nothing is missing — the two are just counting differently.

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes. A mebibyte (MiB) is 1,048,576 bytes — 1,024². The gap widens at each step: it is 2.4% at kB and 10% by TB.

Why are internet speeds in megabits, not megabytes?

Networking has always counted bits. A 100 Mbps connection transfers at most 12.5 MB per second, since there are 8 bits in a byte.