Data Storage Converter

Convert between bytes, KB, MB, GB, TB, and PB in both binary (1024-based) and decimal (1000-based) systems.

Quick Reference

Understanding Data Storage Units

Data storage uses two measurement systems: decimal (base-10, used by storage manufacturers) and binary (base-2, used by operating systems). This is why a "1 TB" hard drive shows as approximately 931 GB in your OS.

Decimal vs Binary

Decimal (SI)Value in BytesBinary (IEC)Value in Bytes
1 KB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB1,000,000,000,0001 TiB1,099,511,627,776
1 PB10¹⁵1 PiB2⁵⁰

Real-World Storage Examples

Frequently Asked Questions

Drive manufacturers use decimal (1 TB = 1,000,000,000,000 bytes), but your operating system uses binary (1 TiB = 1,099,511,627,776 bytes). So 1 TB — 1.0995 — 931 GiB, which is what your OS reports.
KB (kilobyte) = 1,000 bytes (decimal, SI standard). KiB (kibibyte) = 1,024 bytes (binary, IEC standard). The "bi" in KiB stands for "binary." Windows traditionally labels binary values as "KB" which causes confusion.
In decimal: 1 GB = 1,000 MB. In binary: 1 GiB = 1,024 MiB. Most consumer contexts (ISPs, storage) use the decimal definition.

Decimal vs. binary: the heart of every storage discrepancy

The reason a "1 TB" hard drive shows up in your operating system as 931 GB has nothing to do with reserved space or fraud. It is purely the difference between decimal-base and binary-base counting. Manufacturers count 1 TB as 1,000,000,000,000 bytes (10¹²). Most operating systems display sizes in binary, where 1 TiB = 1,099,511,627,776 bytes (2⁴⁰). Divide the decimal TB by 1.0995 to get the binary TiB figure, and the math lines up exactly.

Standard prefixes you should know in 2026

Where each system is used

Hard-drive and SSD vendors use decimal. Network speed measurements use decimal (and bits, not bytes — a 100 Mbps link is 100,000,000 bits per second). RAM is sold in binary. Linux and macOS finder display in decimal-look binary numbers in newer versions; Windows still uses binary throughout. Cloud-storage pricing is decimal.

Bandwidth vs. storage gotcha

Bandwidth is measured in bits per second; storage in bytes. A 100 Mbps connection transfers about 12.5 MB per second under perfect conditions, because 1 byte = 8 bits. Real-world overhead from TCP, encryption, and packetisation typically reduces sustained throughput to 80–90% of the raw figure.