Toolman 100% local

Digital Storage converter

Convert between any two of 12 digital storage units. Conversion runs in your browser.

Runs on your devicenothing is uploadedHow to check

More detailsUnits covered · Everyday digital storage conversions · Why a 1 TB drive shows as 931 GB

Units covered

UnitSymbolIn bytes
ByteB1
KilobyteKB1,000
MegabyteMB1,000,000
GigabyteGB1,000,000,000
TerabyteTB1,000,000,000,000
PetabytePB1.000000e+15
KibibyteKiB1,024
MebibyteMiB1,048,576
GibibyteGiB1,073,741,824
Bitb0.125
MegabitMb125,000
GigabitGb125,000,000

Everyday digital storage conversions

1 of theseBKBMBGBTBb
Byte10.0010.0000011.000000e-091.000000e-128
Kilobyte1,00010.0010.0000011.000000e-098,000
Megabyte1,000,0001,00010.0010.0000018,000,000
Gigabyte1,000,000,0001,000,0001,00010.0018,000,000,000
Terabyte1,000,000,000,0001,000,000,0001,000,0001,00018,000,000,000,000
Bit0.1250.0001251.250000e-071.250000e-101.250000e-131

Each row is one of that unit, given in each of the others.

Why a 1 TB drive shows as 931 GB

Two different definitions of the prefixes are in use. Storage manufacturers use the decimal SI meaning, where a terabyte is 1012 bytes. Operating systems have traditionally used binary multiples, where the same quantity is 240 bytes. The drive is not smaller than advertised; the two systems are counting in different bases, and the gap widens with each prefix — 2.4% at kilo, 7.4% at giga, 10% at tera.

The IEC introduced kibibyte, mebibyte and gibibyte (KiB, MiB, GiB) for the binary meanings so that the SI prefixes could keep their decimal ones. Adoption is partial: Linux tools and macOS report decimal, Windows reports binary while labelling it "GB", and RAM is always sold in binary multiples regardless. Both conventions are available here so you can convert between them explicitly rather than guessing which one a number came from.