Conversion

Data Storage Converter

Convert bytes, KB, MB, GB, and TB with binary (1024) units.

Convert data storage between bytes, kilobytes, megabytes, gigabytes, and terabytes using the binary (1024-based) units your devices actually use. Check file sizes, plan storage, and understand what your hard drive really holds.

Introduction

Data storage conversion has a famous trap: there are two different 'kilobytes.' Storage manufacturers and the SI system use decimal units — 1 kilobyte (kB) = 1,000 bytes, 1 megabyte (MB) = 1,000,000 bytes, 1 gigabyte (GB) = 1,000,000,000 bytes. Operating systems and memory engineers traditionally use binary units — 1 kibibyte (KiB) = 1,024 bytes, 1 mebibyte (MiB) = 1,048,576 bytes, 1 gibibyte (GiB) = 1,073,741,824 bytes. The two systems agree at small sizes and diverge as they grow: by the terabyte, the gap is about 10 percent. This is exactly why a '1 TB' hard drive shows up as roughly 931 GB in your operating system — the drive holds 10^12 bytes, and the OS divides by 2^30.

The full ladder, decimal: bit, byte (8 bits), kB (10^3), MB (10^6), GB (10^9), TB (10^12), PB (10^15). Binary equivalents use KiB, MiB, GiB, TiB, PiB with powers of 1,024. Network speeds add a second trap: they are quoted in bits per second (Mbps), while file sizes are in bytes — so a '100 Mbps' connection downloads at a theoretical maximum of 12.5 megabytes per second, and real-world overhead takes another 10 percent or so off that.

For practical conversions, decide which system your context uses: hard drives, SSDs, and USB sticks are sold in decimal units; RAM and operating-system displays use binary; internet plans use bits. Convert within one system by powers of 1,000 or 1,024, and cross between bits and bytes by factors of 8. This calculator handles both systems and the bit/byte divide explicitly.

How it's calculated

Binary storage units scale by 1,024 at each step: 1 KB = 1,024 B, 1 MB = 1,024 KB, and so on. The result is value × 1024^(from-step) ÷ 1024^(to-step).

Worked examples

100 Mbps internet speed to MB/s download rate

Divide bits by 8 to get bytes: 100 / 8 = 12.5 megabytes per second theoretical maximum. In practice, protocol overhead consumes roughly 10 percent, so expect about 11 MB/s of real throughput. A 1 GB (1,000 MB) file at 12.5 MB/s takes 1,000 / 12.5 = 80 seconds — about a minute and twenty seconds. This single division is the most useful data conversion in daily life: it translates the number on your internet bill into the download times you actually experience.

1 TB hard drive in gibibytes (why it shows 931 GB)

The drive holds 10^12 = 1,000,000,000,000 bytes (decimal terabyte). The operating system reports in gibibytes: divide by 2^30 = 1,073,741,824. 1,000,000,000,000 / 1,073,741,824 = 931.323, or about 931.3 GiB. Nothing is missing or defective — the same bytes are being counted in larger binary 'buckets.' The gap grows with size: a 4 TB drive shows about 3.64 TiB. Memory (RAM) avoids the confusion because it is genuinely manufactured and sold in binary sizes.

Frequently asked questions

How many megabytes are in a gigabyte?

1,024 MB. Enter 1, choose GB → MB — storage units step by 1,024.

Why 1024 and not 1000?

This uses the binary convention (1 KB = 1,024 bytes) that operating systems use. Drive makers sometimes advertise decimal units (1,000-based), which is why a “1 TB” drive shows as ~931 GB.

How much space do 1,000 photos take?

Roughly 0.93 GB — enter 1, choose MB → GB, and multiply by 1000. A thousand photos at 5 MB each is about 4.9 GB.

Related calculators