Skip to main content
🔄 Unit Converter

Data Storage Converter

Convert between bytes, KB, MB, GB, TB and the binary KiB, MiB, GiB, TiB (plus bits) instantly — with the decimal-vs-binary difference handled correctly and a full unit breakdown.

MB ↔ GB ↔ TB
Decimal & binary
Bits & bytes
Full breakdown
100% Free
🔄 Open All Converters 📖 Read the Guide

Data storage conversion — Quick answer

Decimal units step by 1000; binary units step by 1024. 1 byte = 8 bits. Don't mix the two.

1 GB = 1000 MB (decimal)  ·  1 GiB = 1024 MiB (binary)

Worked example: 1 GB = 1000 MB = 1,000,000,000 bytes = 0.931323 GiB.

Decimal vs binary

FromEquals
1 GB1000 MB · 0.931323 GiB
1 GiB1024 MiB · 1.073742 GB
1 TB1000 GB · 931.3226 GiB
1 byte8 bits

This is why a "1 TB" drive shows as ~931 GiB in some software.

💾 Data Storage Converter

Enter a value, choose the unit to convert from and to. Decimal (KB/MB/GB) and binary (KiB/MiB/GiB) are labelled separately.

Result
1 from-unit =
1 to-unit =
In bytes

⚠️ Decimal units (KB/MB/GB/TB) step by 1000; binary units (KiB/MiB/GiB/TiB) step by 1024. They are not interchangeable — 1 GB ≠ 1 GiB. One byte = 8 bits. Displayed values are rounded.

A data storage converter moves a digital size between bytes and their multiples — and crucially between the two families that look alike but aren't. Decimal (SI) units step in powers of 1000: KB, MB, GB, TB. Binary (IEC) units step in powers of 1024: KiB, MiB, GiB, TiB. Mixing them is the classic reason a "1 TB" drive looks like only "931 GB" on your computer. This converter keeps both families separate and also handles bits (8 to a byte).

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: IEC 80000-13 binary prefixes and SI decimal prefixes, recomputed in code.

How the conversion works

Via a base unit
result = value × bytes(from) ÷ bytes(to)  (base = bytes)
Decimal (×1000)
1 KB = 10³ B · 1 MB = 10⁶ B · 1 GB = 10⁹ B · 1 TB = 10¹² B
Binary (×1024)
1 KiB = 2¹⁰ B · 1 MiB = 2²⁰ B · 1 GiB = 2³⁰ B · 1 TiB = 2⁴⁰ B · 1 B = 8 bits

Each unit equals a fixed number of bytes. To convert, express your value in bytes by multiplying by the "from" unit's bytes-per-unit, then divide by the "to" unit's. The only subtlety is choosing the right family: a megabyte (MB) is 1,000,000 bytes, while a mebibyte (MiB) is 1,048,576 bytes — about 4.9% more. The gap grows with each step, reaching ~10% at the tera level.

Worked example — 1 GB vs 1 GiB

Scenario: compare a decimal gigabyte with a binary gibibyte.

1 GB to bytes
1 × 10⁹ = 1,000,000,000 bytes = 1000 MB
1 GB to GiB
1,000,000,000 ÷ 1,073,741,824 = 0.931323 GiB
1 TB to GiB
10¹² ÷ 2³⁰ = 931.3226 GiB

A decimal 1 GB is 0.931323 GiB — about 7% smaller than a binary gibibyte. Scale that up and a 1 TB drive is 931.3226 GiB, which is exactly why a freshly formatted "1 TB" disk shows roughly "931 GB" in an operating system that counts in binary but labels it GB. Nothing is missing; it's a decimal-versus-binary units mismatch. And remember bits: 8 bits make a byte, so a 100 Mbps link moves about 12.5 MB per second.

Frequently Asked Questions

MB in a GB?

Decimal: 1 GB = 1000 MB. Binary: 1 GiB = 1024 MiB.

GB vs GiB?

1 GB = 1e9 B; 1 GiB = 1,073,741,824 B (~7.4% more). 1 GB = 0.931323 GiB.

Bits in a byte?

8. Speeds use bits (Mbps); storage uses bytes (MB). 100 Mbps ≈ 12.5 MB/s.

Why does my drive show less?

1 TB (decimal) = 931.3226 GiB. The OS counts in binary but labels it GB.

Decimal or binary?

Decimal for storage marketing/files; binary for exact powers of 1024. State which.

Need more unit converters?

Convert length, weight, temperature, speed and more across the AI Calculator suite.

🔄 Open All Converters — Free

No registration required · 350+ calculators · PDF report export