Data Converter: Convert Bytes KB MB GB TB PB

📖 8 min read 📅 April 13, 2025 💾 Digital Storage

You just bought a 2TB external hard drive. You plug it in, and Windows shows 1.81 TB available. Where did the rest go? Did the manufacturer lie? Is your drive defective? The answer is neither — you've encountered the gap between binary and decimal storage measurement, one of the most misunderstood concepts in computing. In this practical guide, we'll explain exactly what's happening, teach you how to convert between storage units accurately, and introduce our free online data converter tool.

💾 Convert any data unit instantly!

Open Data Converter →

Binary vs Decimal: The Two Number Systems of Storage

Computers operate in binary — ones and zeros. A bit is the smallest unit of data, representing a single binary digit (0 or 1). Eight bits make a byte. From there, storage units scale up, but there are two different scaling systems, and that's where confusion begins.

Decimal (SI) System — Used by Storage Manufacturers

The decimal system uses powers of 10, following standard SI (International System of Units) prefixes. This is the system hard drive, SSD, and USB flash drive manufacturers use when advertising capacity.

UnitValue in BytesFactor
Kilobyte (KB)1,00010³
Megabyte (MB)1,000,00010⁶
Gigabyte (GB)1,000,000,00010⁹
Terabyte (TB)1,000,000,000,00010¹²
Petabyte (PB)1,000,000,000,000,00010¹⁵

Binary (IEC) System — Used by Operating Systems

The binary system uses powers of 2, which is how computers actually address memory and storage. In 1998, the IEC (International Electrotechnical Commission) introduced new prefixes with an "i" to distinguish binary units from decimal ones.

UnitValue in BytesFactor
Kibibyte (KiB)1,0242¹⁰
Mebibyte (MiB)1,048,5762²⁰
Gibibyte (GiB)1,073,741,8242³⁰
Tebibyte (TiB)1,099,511,627,7762⁴⁰
Pebibyte (PiB)1,125,899,906,842,6242⁵⁰

The Conversion Ratio

Each binary unit is approximately 7.37% larger than its decimal counterpart. Specifically, 1 GiB = 1.073741824 GB. This means:

1 GB (decimal) = 0.9313 GiB (binary)
1 GiB (binary) = 1.0737 GB (decimal)

This ~7.37% gap is consistent at every level. It's not much at the kilobyte level (1,000 vs 1,024 is barely noticeable), but at terabyte and petabyte scales, it becomes significant.

Why Storage Manufacturers Use Decimal

There's actually a legitimate historical reason for this. Early storage media — tapes, floppy disks — were measured in decimal units. The original 3.5-inch floppy disk, marketed as 1.44 MB, used a hybrid definition (1,024 × 1,000 bytes). When hard drives became consumer products, manufacturers continued using decimal (SI) units, and the practice was standardized by industry organizations including IDEMA (International Disk Drive Equipment and Materials Association).

In 2007, this became even more official when the IEEE (Institute of Electrical and Electronics Engineers) ratified the IEC binary prefixes. The IEEE explicitly stated that SI prefixes (KB, MB, GB) should refer to powers of 10, while binary prefixes (KiB, MiB, GiB) should refer to powers of 2.

The problem is that operating systems didn't adopt the new naming convention. Windows still displays binary units but labels them with decimal prefixes — showing "GB" when it means "GiB." macOS switched to decimal in Snow Leopard (2009), so a 1TB drive shows approximately 1TB on a Mac. Linux distributions are inconsistent — some use binary with correct labels (GiB), others follow Windows conventions.

Real-World Capacity: What You Actually Get

Here's a practical reference table showing the formatted (usable) capacity you'll see in Windows for commonly advertised drive sizes:

Advertised CapacityActual BytesWindows Shows (GiB)Shortfall
128 GB128,000,000,000119.2 GB8.8 GB
256 GB256,000,000,000238.4 GB17.6 GB
512 GB512,000,000,000476.8 GB35.2 GB
1 TB1,000,000,000,000931.3 GB68.7 GB
2 TB2,000,000,000,0001,862.6 GB137.4 GB
4 TB4,000,000,000,0003,725.3 GB274.7 GB
8 TB8,000,000,000,0007,450.6 GB549.4 GB
⚠️ Note: These calculations only account for the binary/decimal difference. Your actual usable space will be even lower due to filesystem overhead (NTFS, APFS, ext4 all reserve space for metadata), recovery partitions, and pre-installed software. A 256GB laptop drive might show only 220GB available after Windows, recovery partition, and pre-installed apps.

Practical Conversion Tutorial

Let's walk through real conversion scenarios you'll encounter.

Scenario 1: Download Time Estimation

You're downloading a game that's "75 GB" (decimal, as listed by the store) on a 200 Mbps internet connection. How long will it take?

Step 1: Convert file size to megabytes: 75 GB = 75,000 MB
Step 2: Convert speed from Mbps to MB/s: 200 Mbps ÷ 8 = 25 MB/s
Step 3: Calculate time: 75,000 MB ÷ 25 MB/s = 3,000 seconds = 50 minutes

Wait — there's a subtlety here. If the file size was listed in GiB (as many download managers show), it's actually 75 × 1.0737 = 80.5 GB decimal, and the download would take about 54 minutes. This kind of unit ambiguity is exactly why you need a reliable data converter.

Scenario 2: Cloud Storage Planning

You have 15,000 photos averaging 4.5 MB each, 200 videos averaging 2.3 GB each, and 50,000 documents averaging 250 KB each. How much cloud storage do you need?

Photos: 15,000 × 4.5 MB = 67,500 MB = 67.5 GB
Videos: 200 × 2.3 GB = 460 GB
Documents: 50,000 × 250 KB = 12,500,000 KB = 12.5 GB
Total: 67.5 + 460 + 12.5 = 540 GB
Recommended plan: At least 1 TB to allow 46% headroom for growth

Scenario 3: RAM vs Storage Confusion

RAM is always measured in binary (GiB), even though it's commonly labeled "GB." 8 GB of RAM is actually 8 GiB = 8,589,934,592 bytes. This is correct and expected — there's no decimal/binary discrepancy for RAM because memory is addressed in powers of 2. The discrepancy only applies to storage devices.

Beyond Petabytes: The Scale of Modern Data

As data generation explodes, the units keep climbing. Here's the full hierarchy for reference:

UnitDecimalBinaryPerspective
KilobyteKB (10³)KiB (2¹⁰)A short email
MegabyteMB (10⁶)MiB (2²⁰)A photo
GigabyteGB (10⁹)GiB (2³⁰)A HD movie
TerabyteTB (10¹²)TiB (2⁴⁰)500 hours of HD video
PetabytePB (10¹⁵)PiB (2⁵⁰)500 billion pages of text
ExabyteEB (10¹⁸)EiB (2⁶⁰)~11 million 4K movies
ZettabyteZB (10²¹)ZiB (2⁷⁰)~1 trillion hours of video
YottabyteYB (10²⁴)YiB (2⁸⁰)More than all data ever created

For context, global data creation reached approximately 120 zettabytes in 2023 and is projected to exceed 180 ZB by 2025. Major cloud providers — AWS, Google Cloud, Microsoft Azure — each manage multiple exabytes of customer data. Facebook's data warehouse (based on Apache Hive) processes petabytes of data daily. Netflix streams roughly 1 PB of content to users every day.

Internet Speed vs File Size: The 8x Rule

One of the most common conversion mistakes involves confusing internet speed with file size. Internet speeds are measured in bits per second (Mbps, Gbps), while file sizes are measured in bytes. There are 8 bits in a byte, so:

Download Speed (MB/s) = Internet Speed (Mbps) ÷ 8
Connection SpeedTheoretical MaxRealistic Speed1 GB File Time
100 Mbps12.5 MB/s10-11 MB/s~1.5 min
500 Mbps62.5 MB/s50-55 MB/s~18 sec
1 Gbps125 MB/s100-110 MB/s~9 sec
10 Gbps1,250 MB/s900-1,100 MB/s~1 sec
💡 Pro Tip: When your ISP advertises "gigabit" speed, that's Gbps (bits), not GB/s (bytes). A 1 Gbps plan gives you approximately 125 MB/s download speed, not 1,000 MB/s. This is not false advertising — it's correct terminology, just commonly misunderstood.

Use Our Free Data Converter

Manual conversion between data units is tedious and error-prone, especially when you need to account for both binary and decimal systems. Our free online data converter handles all the complexity instantly. Enter any value in any unit — bytes, KB, MB, GB, TB, PB (and their binary counterparts KiB, MiB, GiB, TiB, PiB) — and get accurate conversions across all units in both systems. No sign-up required, works on any device.

💾 Stop guessing about storage sizes.

Open Data Converter →

Conclusion

The gap between what storage manufacturers advertise and what your computer shows isn't a scam — it's a clash of two legitimate measurement systems. Decimal (SI) units make sense for marketing and standardization. Binary (IEC) units reflect how computers actually work. Understanding both systems, knowing the ~7.37% conversion factor, and using accurate conversion tools ensures you'll never be surprised by storage capacity again. Whether you're planning cloud storage, estimating download times, or just trying to understand your hard drive, our data converter gives you the precise numbers you need.

Frequently Asked Questions

Why does my 1TB hard drive show only 931GB?

Manufacturers use decimal (1TB = 1 trillion bytes). Windows uses binary (1GiB = 1,073,741,824 bytes). 1TB ÷ 1,073,741,824 = 931.3 GiB, displayed as 931 GB. You haven't lost storage — it's measured differently.

What is the difference between GB and GiB?

GB = 1,000,000,000 bytes (decimal). GiB = 1,073,741,824 bytes (binary). The 'i' indicates binary (IEC standard). 1 GB ≈ 0.931 GiB. Same applies to KB/KiB, MB/MiB, TB/TiB.

How many MB are in a GB?

Decimal: 1 GB = 1,000 MB. Binary: 1 GiB = 1,024 MiB. Windows uses binary but labels it "GB," so it shows 1,024 MB per GB. Manufacturers use decimal (1,000 MB).

What comes after petabyte (PB)?

Exabyte (EB), zettabyte (ZB), yottabyte (YB). 1 EB = 1,000 PB. The entire internet was ~120 ZB in 2023. Binary equivalents: EiB, ZiB, YiB.

Does internet speed use the same units as file size?

No. Speeds use bits per second (Mbps, Gbps); files use bytes. 8 bits = 1 byte. A 100 Mbps connection downloads at ~12.5 MB/s. An 8 GB file takes ~10.7 minutes at 100 Mbps.