Byte Size Converter

Convert a data size between decimal units (kB, MB, GB, TB, PB), binary units (KiB, MiB, GiB, TiB, PiB) and network bits (kbit, Mbit, Gbit) in one step. Type a value, optionally with its unit, and every equivalent appears at once together with a human-readable summary in SI and IEC notation, and a transfer-time estimate shows how long that size takes at a given speed. All conversions run locally in your browser.

How to use

  1. Type a number in the input field, or a number with a unit such as "1.5 GB", "500 MiB" or "8 kbit".
  2. If you typed only a number, pick its unit from the dropdown; a unit typed in the input is detected automatically.
  3. Read the result cards for every decimal, binary and bit unit, plus the human-readable SI and IEC summary.
  4. Click Copy on any card to copy that value to the clipboard.

Example

Input

1.5 GB

Output

Bytes:  1,500,000,000
MB:     1,500
MiB:    1,430.511475
GiB:    1.396984
Mbit:   12,000
Human-readable: 1.5 GB (SI) / 1.396984 GiB (IEC)

Frequently asked questions

What is the difference between MB and MiB?

A megabyte (MB) is a decimal SI unit of 1,000,000 bytes, while a mebibyte (MiB) is a binary IEC unit of 1,048,576 bytes (1024 × 1024). Disk vendors and network equipment usually use decimal units; operating systems and RAM sizes usually use binary units.

How do I convert Mbit to MB?

Divide by 8, because one byte is 8 bits. For example, a 100 Mbit/s connection moves about 12.5 MB per second. Enter "100 Mbit" in the converter to see every equivalent.

Why does my 1 TB drive show as about 931 GB?

The drive is sold as 1 TB = 10^12 bytes, but many operating systems report sizes in binary units. 10^12 bytes equals about 931 GiB, which is often labelled "GB" by the operating system.

Is my input sent to a server?

No. Every conversion happens locally in your browser; nothing is uploaded or logged.

How long does it take to transfer 10 GB at 100 Mbit/s?

About 13 min 20 sec at best. 10 GB is 80,000 Mbit, and 80,000 Mbit ÷ 100 Mbit/s = 800 seconds. Enter the size in the converter and set any speed in the transfer-time estimate; the estimate assumes the theoretical maximum speed and ignores protocol overhead, so real transfers take a little longer.

Related tools