CALCULATE ALL — every calculation, from tomorrow

Math • Finance • Health • Conversion • Education — 100% free, no sign-up

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.

Is the Data Storage Converter free to use?

Yes. The Data Storage Converter on CalculateAll is completely free — no sign-up, no usage limits and nothing to install. The calculation runs entirely in your browser, so the numbers you enter never leave your device.

Does the Data Storage Converter work on mobile phones?

Yes. The Data Storage Converter is fully responsive and works on phones, tablets and computers. Open the page, enter your values, and the result updates instantly — no app download needed.

Converting storage sizes with this 1,024 ladder

Worked example: 2.5 GB expressed in megabytes and bytes

Enter 2.5, set From to Gigabytes (GB) and To to Megabytes (MB). This converter steps by 1,024 at each rung, so the result is 2.5 × 1,024 = 2,560 MB. Convert the same 2.5 GB all the way down to Bytes (B) and the two steps compound: 2.5 × 1,024 × 1,024 × 1,024 = 2,684,354,560 B. That long byte count is the number that matters when a system reports an exact file size in bytes and you need to know whether it matches the rounded gigabyte figure you were quoted — divide the byte count by 1,073,741,824 (1,024³) and you should land back on 2.5. Converting in the opposite direction divides instead of multiplying: 750 GB entered with To set to Terabytes (TB) returns 750 ÷ 1,024 = 0.7324 TB, which is how a partly filled drive's free space reads when a backup tool asks for terabytes.

Worked example: a photo archive of 500,000 KB

An exported archive reported as 500,000 KB converts to 500,000 ÷ 1,024 = 488.28125 MB, shown as 488.2813 MB, and converting the kilobytes straight to gigabytes gives 500,000 ÷ 1,048,576 = 0.4768 GB. So the archive is a little under half a gigabyte in this converter's units — small enough for any modern USB stick, but the exercise matters at larger scales: a folder reported in kilobytes always looks enormous until you climb two rungs of the ladder. Use the From unit that matches the number in front of you rather than converting by hand first; entering a megabyte figure while the From field still says KB understates the size by a factor of 1,024, the single most common way these conversions go wrong.

What this converter's units do and do not cover

Every unit in the two dropdowns — B, KB, MB, GB, and TB — follows the binary ladder described in the formula above, with 1 KB equal to 1,024 bytes. That means this tool's gigabyte behaves the way operating systems count, not the way drive packaging counts. A USB stick labelled 64 GB by its maker holds 64,000,000,000 decimal bytes; enter that byte count here and convert to GB and you get 64,000,000,000 ÷ 1,073,741,824 = 59.6046 GB, which is the capacity your computer will report. Neither figure is wrong — they are the same bytes counted in different-sized units. The converter has no bit unit, so it cannot translate network speeds quoted in megabits per second into file sizes; for that, divide the bit rate by 8 yourself first, then convert the resulting bytes. Zero converts to zero in every unit, and converting a value to the same unit you started from returns it unchanged — a quick sanity check that the From and To fields are set the way you intended.

Related calculators