Toolbit

Storage Unit Converter (GB, GiB, Mbit)

Convert between bytes, KB, MB, GB, TB and their binary counterparts KiB, MiB, GiB, TiB, and between bits and bytes, with a transfer time calculator.

Two systems behind the same word

"A gigabyte" can mean two different amounts depending on who's saying it. In the decimal (SI) system — used by drive manufacturers, internet providers, and most technical specs — each prefix multiplies by 1,000: a kilobyte is 1,000 bytes and a gigabyte is 1,000³ = 1,000,000,000 bytes. In the binary system — used by RAM and much of the software world — each prefix multiplies by 1,024 (2¹⁰): a "kilobyte" is 1,024 bytes and a "gigabyte" is 1,024³ = 1,073,741,824 bytes.

To end the ambiguity, the IEC defined dedicated binary prefixes in 1998: kibi, mebi, gibi, tebi (KiB, MiB, GiB, TiB). So GB should always mean 10⁹ bytes and GiB, 2³⁰ bytes. The trouble is that plenty of software still writes "GB" while computing in GiB — which is where the most common storage question comes from: why does a 1 TB drive show up as 931 GB?

Unit table

Decimal (SI)BytesBinary (IEC)BytesDifference
1 kB1,0001 KiB1,0242.3%
1 MB1,000²1 MiB1,024²4.6%
1 GB1,000³1 GiB1,024³6.9%
1 TB1,000⁴1 TiB1,024⁴9.1%
1 PB1,000⁵1 PiB1,024⁵11.2%
1 EB1,000⁶1 EiB1,024⁶13.3%

The difference column shows how much smaller a decimal capacity looks once it's expressed in binary units. The gap widens with each prefix: at kilobytes you barely notice, but at terabytes it's nearly 10%.

Network speeds are measured in bits, not bytes, and always with decimal prefixes: 1 Mbit/s is 1,000,000 bits per second. Since a byte has 8 bits, divide by 8 to get bytes per second.

How to use the converter

  • Enter an amount (with a decimal point or comma) and pick its unit: the converter shows the exact equivalent in every decimal, binary, and bit unit at once. It uses exact arithmetic, with no floating-point rounding errors, so 1 TB comes out as exactly 931.322574615478515625 GiB (the table shows up to six decimals).
  • If the unit is decimal, a note shows how Windows would display that capacity: the binary figure, but with the decimal label File Explorer uses.
  • The transfer time block works out how long that much data takes to move at a given speed — say, over a 300 Mbit/s connection or to a disk that copies at 150 MB/s.
  • The amount and unit are kept in the URL, so a link like 4 TB opens the converter with those values.

Reference capacities

Advertised capacityIn GiBIn TiBWhat Windows shows
128 GB119.21 GiB0.12 TiB119 GB
256 GB238.42 GiB0.23 TiB238 GB
500 GB465.66 GiB0.45 TiB465 GB
512 GB476.84 GiB0.47 TiB476 GB
1 TB931.32 GiB0.91 TiB931 GB
2 TB1,862.65 GiB1.82 TiB1.81 TB
4 TB3,725.29 GiB3.64 TiB3.63 TB
8 TB7,450.58 GiB7.28 TiB7.27 TB

Windows truncates instead of rounding, which is why 1.82 TiB shows up as "1.81 TB." On top of that gap comes the space taken by the file system, recovery partitions, and — on Linux with ext4 — the 5% reserved for root by default. All of it, with examples from each operating system, is covered in GB vs. GiB: Why a 1 TB Drive Shows 931 GB.

Connection speeds in bytes per second

Plan speedTheoretical maximum1 GB takes at least
10 Mbit/s1.25 MB/s13 min 20 s
100 Mbit/s12.5 MB/s1 min 20 s
300 Mbit/s37.5 MB/s27 s
500 Mbit/s62.5 MB/s16 s
1 Gbit/s125 MB/s8 s

These are theoretical maximums: TCP, IP, and Ethernet headers eat roughly 5% of the bandwidth, and real-world speed also depends on the server at the other end, the Wi-Fi network, and the destination disk. In practice, a 1 Gbit/s connection rarely downloads faster than 110–118 MB/s.

Where each system shows up

ContextSystemExample
Drives, SSDs, flash drives (manufacturer)Decimal"1 TB = 1,000,000,000,000 bytes" on the box
Windows File ExplorerBinary with decimal labels931 GB
macOS (since 10.6)Decimal1 TB
df -h, ls -lh, du -h on LinuxBinary932G
df -H on LinuxDecimal1.0T
RAMBinary16 GB of RAM is 16 GiB
Network and internet speedsDecimal, in bits300 Mbit/s

Privacy

All conversions are calculated in your browser. Only the amount and unit are kept in the URL so you can share the result; nothing is sent to a server.

Frequently asked questions

Why does my 1 TB drive only show 931 GB?

Because the manufacturer counts in decimal units (1 TB = 10¹² bytes) while Windows counts in binary units (1 GiB = 2³⁰ bytes) even though it labels them GB. 10¹² bytes is 931.32 GiB, and Windows displays «931 GB». No space is missing: it's the same number of bytes measured with a different ruler. What does take real capacity is the file system and recovery partitions.

How many MB/s is 100 Mbps?

12.5 MB/s as a theoretical maximum, because network speeds are measured in bits and a byte has 8 bits: 100 ÷ 8 = 12.5. In practice, network protocol headers take about 5%, so a real-world download at 100 Mbit/s lands around 11.5–11.8 MB/s.

Does RAM use GB or GiB?

RAM is always built in powers of 2, so «16 GB of RAM» is really 16 GiB: 17,179,869,184 bytes. It's the one case where nearly everyone, manufacturers included, uses GB with the binary meaning.