Karo Convert
Home / Guides / Data units explained
Digital storage

Data units explained: KB, MB, GB and TB

Two counting systems and a bit-vs-byte mix-up cause most data-size confusion. Here’s the whole picture, clearly.

Quick answer

There are two systems. Decimal (SI): each step is ×1000 (kB, MB, GB, TB). Binary (IEC): each step is ×1024 (KiB, MiB, GiB, TiB). And remember: 8 bits = 1 byte.

Decimal vs binary

Historically, “KB/MB/GB” were used loosely for both 1000- and 1024-based values, which is exactly why a drive’s size can look different in different places. The IEC introduced separate binary names (KiB, MiB, GiB) to remove the ambiguity.

Decimal — SI (×1000)
UnitEqualsBytes
1 kilobyte (kB)1,000 bytes10³
1 megabyte (MB)1,000 kB10⁶
1 gigabyte (GB)1,000 MB10⁹
1 terabyte (TB)1,000 GB10¹²
Binary — IEC (×1024)
UnitEqualsBytes
1 kibibyte (KiB)1,024 bytes2¹⁰
1 mebibyte (MiB)1,024 KiB2²⁰
1 gibibyte (GiB)1,024 MiB2³⁰
1 tebibyte (TiB)1,024 GiB2⁴⁰

Bits vs bytes

A bit is a single 1 or 0; a byte is eight bits. Storage is measured in bytes (with a capital B: MB, GB). Network and internet speeds are measured in bits (lower-case b: Mbps, Gbps). To convert a connection speed to a download rate, divide by 8:

100 Mbps ÷ 8 = 12.5 MB/s

Worked example

You buy a “2 TB” drive. That’s 2,000,000,000,000 bytes (decimal). Your operating system may report it in binary: 2,000,000,000,000 ÷ 1024³ ≈ 1,862 GiB (about 1.82 TiB). Same drive, two labels.

Frequently asked questions

Why does my 1 TB drive show about 931 GB?
Drive makers count in decimal (1 TB = 1,000,000,000,000 bytes), but operating systems often display binary units. 1,000,000,000,000 ÷ 1024³ = about 931 GiB, so nothing is missing — it’s just two ways of counting.
What’s the difference between a bit and a byte?
A byte is 8 bits. Storage (files, drives) is measured in bytes; data-transfer speeds are usually measured in bits.
Why is my internet ‘100 Mbps’ but downloads show ~12 MB/s?
Because 100 megabits ÷ 8 = 12.5 megabytes per second. Speeds are in bits, file sizes in bytes — divide by 8 to compare.
Should I use MB or MiB?
Use MB (decimal, 1000-based) for general and marketing contexts, and MiB (binary, 1024-based) when you need the exact memory/OS figure.
Convert any data sizeKaro Convert supports both SI and binary — try “5 GB to MB” or “1 TiB to GB”.
Open converter
Advertisement
Reserved slot — slim, labeled, and out of the way.