Data size converter

Convert bytes, kB, MB, GB, TB (1000) and KiB, MiB, GiB, TiB (1024) side by side, see why a 1 TB drive shows less, convert Mbps to MB/s and estimate

loading Data size converter
About this tool

What is a data size converter?

A data size converter turns bytes into kilobytes, megabytes and gigabytes and back, and answers the questions that confuse almost everyone: why a 1 TB drive shows less than 1 TB in the operating system, how many MB/s a 100 Mbps connection really delivers and how long a download will take. It converts between decimal units (kB, MB, GB, TB, PB, where each step is 1,000), binary units (KiB, MiB, GiB, TiB, PiB, where each step is 1,024) and bits (bit, kbit, Mbit, Gbit, Tbit), all side by side.

The confusion exists because there are two systems. The SI prefixes (kilo, mega, giga) mean powers of 1,000, and that is what storage makers, network providers and the SI standard use: 1 GB = 1,000,000,000 bytes. Operating systems and memory use powers of 1,024 because computers count in binary, and for decades called those units kB, MB and GB too. To remove the ambiguity the IEC created the names kibibyte (KiB), mebibyte (MiB), gibibyte (GiB) and so on for the binary multiples, described in the NIST reference on prefixes for binary multiples. 1 GiB = 1,073,741,824 bytes.

The tool shows both systems for the number you type, adds a drive-size explainer (advertised size against what your computer shows), a transfer-rate converter between Mbps and MB/s and a download-time estimator. All of it runs in your browser; nothing is uploaded.

How to convert data sizes

  1. Type the value and choose its unit (bytes, kB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB or bits).
  2. Read the table: the same size in the decimal, binary and bit units. Click a row to copy it.
  3. For a drive, type the advertised size (for example 1 TB). The tool shows what the operating system reports and the percentage difference, with the reason.
  4. For a connection, enter the speed in Mbps, Gbps, MB/s or another rate unit and pick the unit to convert to.
  5. For a download, enter the file size and the connection speed to get the estimated time. Real speeds are lower because of protocol overhead, Wi-Fi and the server.
  6. Use the precision control for compact, automatic or fixed decimals.

Examples

Why a 1 TB drive shows 931 GB

1 TB = 1,000,000,000,000 bytes. In binary units that is 931.32 GiB, or 0.909 TiB, which is 6.87% less than the number on the box. Nothing is missing: the system counts in 1,024 but writes GB. A 512 GB drive also shows 476.84 GiB.

Binary steps

1 GiB = 1,024 MiB, and 1 MiB = 1,048.576 kB. 1 GB = 0.9313 GiB, and 500 GB = 465.66 GiB.

Mbps to MB/s

Network speeds are quoted in bits. 100 Mbps is 12.5 MB/s, because a byte has 8 bits, and 1 Gbps is 125 MB/s.

Download time

A 1 GB file at 100 Mbps: 8,000 Mbit ÷ 100 = 80 seconds. 50 GB at 500 Mbps takes 800 seconds (13 min 20 s). 700 MB at 20 Mbps takes 280 seconds.

Bits and bytes

8 Mbit is exactly 1 MB.

Common mistakes

  • Mixing Mb and MB. A lowercase b is a bit and an uppercase B is a byte. A "100 Mbps" plan moves at most 12.5 MB per second.
  • Assuming kB means 1,024. In SI it means 1,000. Use KiB for 1,024.
  • Expecting a download to run at the full line speed. Overhead, Wi-Fi, server speed and congestion all reduce it; treat the estimate as a best case.
  • Believing the missing space on a drive is a defect. It is the difference between decimal and binary counting, plus a small amount used by the file system.
  • A negative value or a zero speed. The tool asks for 0 or more, and a speed above 0 to estimate a time.
  • Converting memory sizes with decimal units. RAM modules are binary: 16 GB of memory is 16 GiB.

Frequently asked questions

How many MB are in a GB?

1,000 MB in a GB with SI units, and 1,024 MiB in a GiB with binary units.

Why does my 1 TB drive show 931 GB?

The maker counts in decimal and the system in binary: 1 TB is 931.32 GiB.

How do I convert Mbps to MB/s?

Divide by 8. 100 Mbps is 12.5 MB/s.

How many bytes are in a KB?

1,000 bytes in a kB (SI), and 1,024 bytes in a KiB.

What next?

Convert any other measure with the unit converter, count the bytes of a text with the word counter or convert numbers between bases with the base converter.

Report a problem