Skip to content
CornerTools

Data Storage Converter

Convert bytes, KB, MB, GB and TB to KiB, MiB, GiB and TiB, and see why a 1 TB drive shows 931 GB.

1 GB =

1,000 MB

as drive makers and macOS count · MB = GB × 1,000

1,024 MB

as Windows and RAM count, officially MiB · MB = GB × 1,024

In every unit of data storage

UnitValue
Byte1,000,000,000 B
Kilobyte1,000,000 kB
Megabyte1,000 MB
Gigabyte1 GB
Terabyte0.001 TB
Mebibyte953.6743164 MiB
Gibibyte0.9313225746 GiB

Converts data sizes between bits and bytes, the decimal units — kB, MB, GB, TB and PB — and the binary ones — KiB, MiB, GiB, TiB and PiB — plus kilobits, megabits and gigabits. Between units such as GB and MB it gives both answers in use, 1,000 and 1,024, each with its formula, and the same size in every other unit.

How to use it

Type a value and choose the units to convert from and to. The pickers accept gigs, bytes and other common spellings. Case tells bits from bytes: Mb is the megabit and MB the megabyte.

Between bytes, KB, MB, GB, TB and PB the result gives two answers: 1 GB = 1,000 MB, as drive makers and macOS count, and 1 GB = 1,024 MB, as Windows, RAM and most textbooks count. Each has its own copy button. Choose KiB, MiB, GiB, TiB or PiB, the official names of the 1024 units, or bits, for a single answer.

Values show in full, up to 10 significant figures and every whole-number digit. Sizes cannot be negative.

Why a 1 TB drive shows 931 GB

Drive makers count in decimal units: a terabyte is a trillion bytes and a gigabyte a billion. The binary units count in powers of 1024 instead, so a gibibyte is 1,073,741,824 B and every step up the scale widens the gap.

A 1 TB drive is therefore 931.3225746 GiB, or 0.9094947018 TiB. Software that counts in binary units shows it as 931 GiB — or as 931 GB, where it keeps the decimal names for binary units, as Windows does. Nothing is missing. Formatting the drive takes some space on top of that.

Both counts use the same names, so 1 TB to GB has two right answers: 1,000 GB, as the drive is sold, and 1,024 GB where each step is 1024. That is why the converter shows both.

A byte is 8 bits. The symbols tell them apart — b for bits, B for bytes — so a gigabit is 125 MB.

GiB = TB ÷ 0.001073741824
GiB = GB ÷ 1.073741824
MB = MiB × 1.048576
bit = B × 8

Examples

A 1 TB drive

1 TB is 931.3225746 GiB. Formula: GiB = TB ÷ 0.001073741824.

A file size in MiB

700 MiB is 734.0032 MB. Formula: MB = MiB × 1.048576.

Gigabits to megabytes

8 Gbit is 1,000 MB. Formula: MB = Gbit × 125.

Conversion tables

Drive sizes in binary units
Sold asGiBTiB
128 GB119.20928960.1164153218
256 GB238.41857910.2328306437
500 GB465.66128730.4547473509
512 GB476.83715820.4656612873
1 TB931.32257460.9094947018
2 TB1,862.6451491.818989404
4 TB3,725.2902983.637978807
8 TB7,450.5805977.275957614
16 TB14,901.1611914.55191523
Decimal and binary units
Binary unitDecimal unit1 binary unit is
KiBkB1.024 kB
MiBMB1.048576 MB
GiBGB1.073741824 GB
TiBTB1.099511628 TB
PiBPB1.125899907 PB

Definitions and sources

The decimal prefixes are the SI ones, counting in thousands. The binary prefixes — kibi, mebi, gibi, tebi and pebi — were standardised by the IEC to count in powers of 1024, so that kilo, mega and giga keep their decimal meaning. Storage makers state capacity in decimal units, while some operating systems and apps report it in binary ones.

Sources

Reviewed

See also