Bytes Converter

Type a size, such as 1 TB or 512 MiB, and see it in bits, bytes, decimal units and binary units at once. Decimal and binary are kept apart.

How it works

Decimal units count in powers of 1,000: a kilobyte (kB) is 1,000 bytes and a gigabyte (GB) is 1,000,000,000 bytes. Binary units count in powers of 1,024: a kibibyte (KiB) is 1,024 bytes and a gibibyte (GiB) is 1,073,741,824 bytes.

The page shows the two families in separate groups, so you never mix a GB with a GiB. A bit is an eighth of a byte.

You can type the unit after the number, such as 1.5 GiB or 700 MB. Everything runs on this page.

How to use it

  1. 1 Type a size in the Value box, such as 1 or 1 TB.
  2. 2 If you typed only a number, pick its unit in the From unit list.
  3. 3 Read the size in bits and bytes, in decimal units and in binary units.
  4. 4 Press Copy beside any result, or Copy all results.

Good to know

  • Windows File Explorer counts in binary but writes KB, MB, GB and TB. To match what Windows shows, read the binary row.
  • Drive makers, network speeds and macOS count in decimal. To match a box or a Mac, read the decimal row.
  • Typing "mb" in lower case is read as megabytes, not megabits. This page has no megabit unit; divide the bits row by 1,000,000 for that.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Decimal and binary data sizes, kept apart

There are two ways to count large amounts of data, and they share almost the same names. The decimal way uses the SI prefixes from the metric system. A kilobyte is 1,000 bytes, a megabyte 1,000,000, a gigabyte 1,000,000,000 and a terabyte 1,000,000,000,000. The binary way counts in powers of 1,024, because computer memory is built in powers of two. Its units are the kibibyte, mebibyte, gibibyte and tebibyte, written KiB, MiB, GiB and TiB, names the IEC set out in 1998.

The gap between the two grows with each step. A KiB is 2.4% bigger than a kB. A MiB is 4.9% bigger than a MB, a GiB 7.4% bigger than a GB, and a TiB 10% bigger than a TB. That is why the confusion gets worse as drives get larger.

Here is the worked example most people need. A drive sold as 1 TB holds 1,000,000,000,000 bytes. Divide by 1,024 to get 976,562,500 KiB. Divide again to get 953,674.3 MiB, and once more to get 931.3225746 GiB. Windows shows that last number and calls it 931 GB. Type 1 TB into this page and both figures appear, in their own groups, with the bytes and bits beside them.

Who uses which? Drive and memory card makers, network speeds and macOS since 2009 use decimal units. Windows File Explorer uses binary values with decimal labels. RAM is sized in binary units, even when the label says GB. Linux tools vary; many write a size such as 4.0G and mean GiB. When two figures for the same file do not match, the units are almost always the reason.

The tool has limits. It goes up to terabytes and tebibytes, with no petabyte or larger row. It has bits and bytes but no kilobit or megabit units, so a network speed needs dividing by hand. It does not work out download times. A typed "mb" is read as megabytes. Results are rounded to 10 significant digits, so a very large byte count copied from here may lose its last digits.

Frequently asked questions

Why does my 1 TB drive show as 931 GB?

The maker counts 1 TB as 1,000,000,000,000 bytes. Windows divides by 1,024 three times and gets 931.32, which it labels GB though it means GiB. No space is missing; the same bytes are counted in a different unit.

Is a kilobyte 1,000 or 1,024 bytes?

By the standard, 1,000. In 1998 the IEC gave 1,024 its own name, the kibibyte (KiB), so that kB could mean 1,000 as kilo does everywhere else. Many programs still write KB for 1,024, so check which one a figure means.

What is the difference between a bit and a byte?

A byte is 8 bits. File sizes are given in bytes and network speeds in bits per second, so a 100 megabit per second line moves at most 12.5 megabytes per second.

Why is RAM sold in binary sizes?

Memory chips are built in powers of two, so 16 GB of RAM is really 16 GiB, 17,179,869,184 bytes. Storage has no such limit, so drives are sold in decimal sizes.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.