File Size Converter

11 units — decimal (KB/MB/GB) and binary (KiB/MiB/GiB) side by side

← Back to Conversion Tools

Enter a value in any field — all 11 units recalculate

1
Enter a size

Type in any field

2
Compare both systems

Decimal vs binary, side by side

3
Copy any result

Click Copy next to any value

Complete File Size Reference — Decimal vs Binary at Every Scale

UnitAbbreviationSystemBytes
ByteBBase1
KilobyteKBDecimal (SI) — powers of 100010³ = 1,000
MegabyteMBDecimal (SI)10⁶ = 1,000,000
GigabyteGBDecimal (SI)10⁹ = 1,000,000,000
TerabyteTBDecimal (SI)10¹² = 1,000,000,000,000
PetabytePBDecimal (SI)10¹⁵ = 1,000,000,000,000,000
KibibyteKiBBinary (IEC) — powers of 10242¹⁰ = 1,024
MebibyteMiBBinary (IEC)2²⁰ = 1,048,576
GibibyteGiBBinary (IEC)2³⁰ = 1,073,741,824
TebibyteTiBBinary (IEC)2⁴⁰ = 1,099,511,627,776
PebibytePiBBinary (IEC)2⁵⁰ = 1,125,899,906,842,624

Why Your "1 TB" Drive Shows as "931 GB" in Windows

This is the most common file size confusion — and it's not a scam. A 1 TB hard drive contains exactly 1,000,000,000,000 bytes (10¹²). Drive manufacturers use decimal prefixes as defined by the International System of Units (SI). Windows, however, calculates in binary (powers of 1024) but labels the result with decimal abbreviations (GB instead of GiB). So Windows takes 1,000,000,000,000 ÷ 1,073,741,824 (2³⁰) = 931.32 — and displays "931 GB." It's the same number of bytes, counted with a different-sized measuring cup. macOS has used decimal prefixes correctly since version 10.6 (Snow Leopard, 2009), so the same drive shows as "1 TB" on a Mac. Linux distributions vary: Ubuntu shows decimal by default, while many server distros use binary. This converter shows both systems simultaneously — toggle between decimal and binary to see exactly how the numbers diverge at each scale.

The 1998 IEC Standard That Nobody Adopted

In December 1998, the International Electrotechnical Commission (IEC) introduced kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), and their larger siblings to resolve the 1024-vs-1000 ambiguity. The names combine the SI prefix with "bi" (binary): ki-lo-bi-nary = kibi, me-ga-bi-nary = mebi, gi-ga-bi-nary = gibi. The symbols add an "i": KiB, MiB, GiB. 25+ years later, adoption remains abysmal. Windows still uses "GB" to mean GiB. RAM is always measured in binary (a "16 GB" stick is 16 GiB = 17.18 GB). macOS is one of the few major operating systems to correctly use decimal prefixes. Hard drive and SSD boxes use decimal (the smaller number looks bigger). Network speeds (Mbps, Gbps) always use decimal. This converter makes the distinction visually obvious — decimal units on the left, binary on the right, so you can see at a glance how much they diverge.

Divergence at Scale — How the Gap Grows

ScaleDecimalBinaryDifference
Kilo1 KB = 1,000 B1 KiB = 1,024 B2.4%
Mega1 MB = 1,000,000 B1 MiB = 1,048,576 B4.86%
Giga1 GB = 1,000,000,000 B1 GiB = 1,073,741,824 B7.37%
Tera1 TB = 10¹² B1 TiB = 1,099,511,627,776 B9.95%
Peta1 PB = 10¹⁵ B1 PiB = 1,125,899,906,842,624 B12.59%

The percentage gap compounds at each level — from a negligible 2.4% at the kilobyte level to over 12% at the petabyte level. This is why a "1 TB" SSD shows as ~931 GB in Windows: the 9.95% gap at tera-scale means you "lose" about 70 GB per advertised terabyte — purely from measurement differences, not actual missing space.

Frequently Asked Questions

How do I convert bytes to MB or GB?

Enter your byte value in the Byte field. For decimal: divide by 1,000,000 for MB, or 1,000,000,000 for GB. For binary: divide by 1,048,576 for MiB, or 1,073,741,824 for GiB. This converter shows both systems at once — the decimal column on the left, binary on the right.

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

Windows uses binary math (1024³) but labels results as "GB" (which should mean 1000³). Your drive contains exactly 1,000,000,000,000 bytes. Windows divides by 1,073,741,824 and gets ~931 — then labels it "GB." No space is missing — it's the same bytes counted with different math. macOS uses correct decimal prefixes, so the same drive shows as "1 TB" on a Mac.

What is the difference between MB and MiB?

1 MB = 1,000,000 bytes (decimal). 1 MiB = 1,048,576 bytes (binary). The difference is ~4.86%. Hard drive manufacturers use MB, RAM uses MiB (but calls it MB), and your OS may use either. The IEC created MiB/KiB/GiB in 1998 to fix this ambiguity — see the explanation above for why almost nobody adopted them.

How many KB are in a MB? How many KiB in a MiB?

Decimal: 1 MB = 1,000 KB. Binary: 1 MiB = 1,024 KiB. The 2.4% difference at this level grows to ~10% at TB scale. Network speeds (Mbps) always use decimal. OS file managers usually use binary but label as decimal — except macOS which uses decimal correctly.

How many bytes are in a gigabyte (GB)?

1 GB (decimal) = 1,000,000,000 bytes (10⁹). 1 GiB (binary) = 1,073,741,824 bytes (2³⁰). The binary version is about 7.37% larger. When you buy a "64 GB" phone, the manufacturer means 64,000,000,000 bytes. When the OS reports "64 GB" available, it may mean either — depending on the OS. The gap is about 4.4 GB at this scale.