Data Units: Decimal vs Binary (GB vs GiB)

ME
Morgan Ellis
Technical Writer & Measurement Specialist · Updated March 2026

Storage makers use decimal prefixes, while many operating systems show binary prefixes. That gap explains why your “512 GB” drive looks smaller on your computer.

Two systems on purpose

  • Decimal (SI): 1 kB = 1000 bytes; 1 MB = 1000 kB; 1 GB = 1000 MB.
  • Binary (IEC): 1 KiB = 1024 bytes; 1 MiB = 1024 KiB; 1 GiB = 1024 MiB.

Both are correct; they answer different questions. Networking gear and marketing often use decimal because it aligns with signals and standards; operating systems historically used binary to match memory addressing.

Why the numbers don’t match

512 GB (decimal) equals about 476.84 GiB (binary) because 1000³/1024³ ≈ 0.931. Your device isn’t missing space; it is measuring with a different yardstick.

Converting between the two

  1. Pick a direction (GB→GiB or GiB→GB).
  2. Use the exact power-of-two ratio (1024) or power-of-ten ratio (1000).
  3. Keep full precision internally; round the display based on context.

Updated {today}

Practical tips

  • When comparing storage devices, convert both numbers to the same system first.
  • For network throughput, assume decimal unless the documentation explicitly shows binary prefixes.
  • When filing a support ticket, state which system you used so your math is reproducible.

Deeper Context for “Data Units: Decimal vs Binary (GB vs GiB)”

Focus: GB vs GiB and where each appears. This section goes beyond the basics with practical choices you can apply immediately.

Rule of thumb: verify unfamiliar numbers by converting there-and-back (forward unit then inverse). If you get close to your start value, your magnitude is sound.

Updated October 08, 2025

Quick Checklist

  1. Confirm the exact units in play (variants noted on our converters).
  2. Enter numbers with the fewest necessary decimals; let the tool handle precision.
  3. Run the inverse conversion to sanity-check magnitude.
  4. Round at the end for reports; keep full precision while calculating.
  5. Document constants used if the result will be shared.

Common Pitfalls & How to Avoid Them

Worked Examples

Worked numeric examples using the same logic as our calculators.

Values rounded for readability; our tools compute with full precision.

FAQs

How do you guarantee accuracy?

We use exact constants when they exist and clearly label variants (e.g., US vs Imperial). Calculations run client-side with full precision; rounding is only for display.

Why don’t my numbers match a label I saw?

Some packaging uses rounded or conventional values. Use back-conversion to sanity-check and confirm the variant on the page.

Can I cite your converters?

Yes—include the unit pair and the constant shown on the page. If your field requires specific standards, list them in your report.

FAQ

How do I avoid hidden rounding errors?

Keep full precision internally and format at the very end. If you need a public figure, show the rounding rule near the number.

Why do results differ from a label I saw?

Labels sometimes use conventional or rounded values. Confirm the variant (e.g., US vs Imperial) and re-run the conversion with the declared constant.

What if my input data mixes units?

Normalize all inputs into a single unit system before combining. Mixing raw mph with km inputs without conversion produces nonsense.

Updated October 08, 2025

Deepen Your Understanding

Why GB ≠ GiB on your screen: Device boxes use decimal prefixes (1 GB = 10^9 bytes). Operating systems often report binary prefixes (1 GiB = 2^30 bytes). 512 GB ≈ 476.84 GiB.

Quick conversions

Practical advice

When comparing drives, convert both specs to the same system. For network rates (e.g., Mbps), assume decimal unless the documentation says otherwise.

Updated October 08, 2025

Throughput vs Capacity

Throughput (MB/s) may be reported in decimal while your OS shows file sizes in binary. Convert both to one system when comparing copy speeds to expectations.

Filesystem Overhead

Capacity reported by the OS also subtracts filesystem overhead. The GB↔GiB conversion explains most of the difference; overhead explains the rest.

Benchmark Recipe

  1. Create a large test file.
  2. Time the copy and compute MB/s in a single unit system.
  3. Compare to the device spec after converting it to the same system.

Updated October 08, 2025

Key Takeaways — Data Units: Decimal vs Binary (GB vs GiB)

Practice Problems

  1. 512 GB to GiB; 256 GiB to GB.
  2. Copy test: 12 GB file transfers in 90 s — compute MB/s in decimal and binary.
  3. RAID shows 3.63 TiB — convert to TB (decimal).

Updated October 08, 2025

Putting This Guide Into Practice

Reading about conversions is helpful, but the real shift comes when you apply the ideas to a specific job, recipe, trip, or project.

When a guide leaves you with a concrete change in how you handle units, it's done its job.

Reflecting After You Use These Ideas

Small moments of reflection turn one-time tips into lasting improvements in how you handle units.

Next Steps After “Data Units: Decimal vs Binary (GB vs GiB)”

You know an article was worth your time when it changes how you handle the next real-world problem.

Discussing “Data Units: Decimal vs Binary (GB vs GiB)” With Others

Talking through ideas out loud often reveals which parts really make sense for your life.

Writing a Personal Note After “Data Units: Decimal vs Binary (GB vs GiB)”

Personal reflections turn general advice into something tailored to you.

Turning “Data Units: Decimal vs Binary (GB vs GiB)” Into a Mini Project

When an article becomes a concrete experiment, its lessons tend to stick.

Decimal vs Binary Prefix Reference

Decimal PrefixBytesBinary PrefixBytesDifference
Kilo (K)1,000Kibi (Ki)1,024+2.4%
Mega (M)1,000,000Mebi (Mi)1,048,576+4.9%
Giga (G)1,000,000,000Gibi (Gi)1,073,741,824+7.4%
Tera (T)1,000,000,000,000Tebi (Ti)1,099,511,627,776+10.0%
Peta (P)10¹⁵Pebi (Pi)2⁵⁰+12.6%

Common Storage Device: Labeled vs Reported

Labeled CapacityActual BytesWindows ReportsApparent Difference
256 GB SSD256,000,000,000 B238.4 GiB17.6 GB "lost"
512 GB SSD512,000,000,000 B476.8 GiB35.2 GB "lost"
1 TB HDD1,000,000,000,000 B931.3 GiB68.7 GB "lost"
2 TB HDD2,000,000,000,000 B1,862.6 GiB137.4 GB "lost"
4 TB HDD4,000,000,000,000 B3,725.3 GiB274.7 GB "lost"

Frequently Asked Questions

Why does my 1 TB hard drive show less than 1 TB in Windows?

Drive manufacturers use decimal prefixes (1 TB = 1,000,000,000,000 bytes). Windows reports in binary (1 TB binary = 1,099,511,627,776 bytes). A "1 TB" drive contains 1,000,000,000,000 bytes, which Windows divides by 1,099,511,627,776 and displays as 931 GB. No storage is missing — it is a units labeling difference.

What is the difference between GB and GiB?

1 GB (gigabyte, decimal) = 1,000,000,000 bytes exactly. 1 GiB (gibibyte, binary) = 1,073,741,824 bytes (2³⁰). The difference is about 7.4%. The IEC defined the binary prefixes (KiB, MiB, GiB, TiB) in 1998 to resolve this ambiguity, but the industry has been slow to adopt them consistently.

Does internet speed use decimal or binary?

Internet speeds (Mbps, Gbps) always use decimal: 1 Mbps = 1,000,000 bits per second. File sizes on your computer are often shown in binary units. This creates a second confusion: a 100 Mbps connection downloads at 100,000,000 bits/sec = 12,500,000 bytes/sec ≈ 11.92 MiB/sec (binary), which is why a "100 Mbps" connection shows ~12 MB/s in download managers.

What is a kibibyte?

1 KiB (kibibyte) = 1,024 bytes exactly (2¹⁰). Compare to 1 KB (kilobyte, decimal) = 1,000 bytes. The difference is 2.4%. Historically "KB" was used to mean 1,024 bytes in computing, which caused the confusion. The IEC binary prefixes (KiB, MiB, GiB) were created to make the distinction unambiguous.

How much smaller does a 512 GB SSD appear in Windows?

512 GB (decimal) = 512,000,000,000 bytes. Divided by 1,073,741,824 (bytes per GiB) = 476.8 GiB, which Windows displays as 476 GB using binary math but the wrong label. You appear to "lose" about 35 GB — all of which is a labeling issue, not missing storage.

Related Guides & Tools