DevToolPal
EN

Data Size Converter

Convert between bits, bytes, KB, MB, GB, TB and binary KiB, MiB, GiB units.

Runs locally, never uploaded

Options

Size

Result

Result appears here

What it does

The data size converter translates a file size, disk capacity or bandwidth figure into every common unit at once: bits, bytes, the decimal kilobyte to petabyte series, and the binary kibibyte to pebibyte series. It is handy when a download page says 4.7 GB, your operating system says 4.38 GB, and your internet plan is sold in megabits per second.

Decimal and binary units

There are two families of units and they are easy to confuse.

  • Decimal (SI) units go up in steps of 1000: 1 KB = 1000 bytes, 1 MB = 1000 KB, 1 GB = 1000 MB. Hard drive and SSD makers, memory card labels and network speeds use these.
  • Binary (IEC) units go up in steps of 1024: 1 KiB = 1024 bytes, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB. Memory sizes and many operating system file browsers use these, even when they write the label as “GB”.

That is why a “1 TB” drive shows up as roughly 931 GB on Windows: 10¹² bytes divided by 2³⁰ is about 931 GiB.

How to use

  1. Type a size with its unit, such as 1.5 GB, 500 MiB, 8 bits or 100 Mbps. Units are not case sensitive, except that B means byte and a lone b means bit.
  2. If you type a bare number, the tool uses the unit chosen in Unit of a bare number.
  3. Read the result table. Each row can be copied on its own.

Commas and underscores used as thousands separators are ignored, and scientific notation such as 1e9 B works.

Example

Entering 1.5 GB gives 1500 MB, 12 Gbit, 1430.51 MiB and about 1.397 GiB. Entering 100 Mbps gives 12.5 MB, which is the most a 100 megabit connection can transfer each second before protocol overhead.

Precision

Results show up to 12 significant digits, which hides floating-point noise while keeping enough detail for byte counts in the terabyte range. Very large or very small values switch to scientific notation.

FAQ

› Is 1 GB 1000 MB or 1024 MB?

Both are in use. Under the SI standard 1 GB is 1000 MB, which is what drive makers and network speeds use. Operating systems such as Windows often mean 1024 MiB when they say GB. This tool lists both so you can see the difference.

› What is the difference between Mbps and MB/s?

Mbps counts megabits and MB/s counts megabytes. One byte is eight bits, so a 100 Mbps connection moves at most 12.5 MB per second.

› How do I type bits instead of bytes?

Write bit, Kbit, Mbit, Gbit or Mbps after the number. A capital B always means byte and a lone lowercase b means bit.

› Is my data uploaded?

No. The conversion runs in your browser.