Data Storage Converter

Convert between decimal and binary storage units: bytes, KB, MB, GB, TB and their KiB, MiB, GiB, TiB counterparts.

Calculations happen locally. We do not send your values to our server.

Example

1 GB is 1,000,000,000 bytes, which is about 953.67431641 MiB, while 1 GiB is 1,073,741,824 bytes, or 1,073.741824 MB. A 1 TB drive holds about 931.32257462 GiB.

Calculation method

Decimal units follow the SI and use powers of 1,000: 1 KB is 1,000 bytes and 1 MB is 1,000,000 bytes. Binary units use powers of 1,024: 1 KiB is 1,024 bytes and 1 MiB is 1,048,576 bytes. Every value is normalised to bytes first, so the two families convert cleanly.

Important notes

The explicit “i” units avoid the ambiguity of an unlabelled GB, which may mean either family depending on who wrote it. This converter handles bytes and byte-based units; for network speeds quoted in bits per second, use the Data Transfer Rate Converter instead.

Decimal and binary prefixes

Storage uses two sets of prefixes. Decimal units follow the SI: 1 KB is 1,000 bytes, 1 MB is 1,000,000 bytes and 1 GB is 1,000,000,000 bytes. Binary units use powers of 1,024: 1 KiB is 1,024 bytes, 1 MiB is 1,048,576 bytes and 1 GiB is 1,073,741,824 bytes. So 1 GiB is 1,073.741824 MB, and 1 GB is about 953.67431641 MiB. Choosing the explicit “i” units avoids the ambiguity of an unlabelled “GB”.

Why a new drive looks smaller

Drive makers label capacity in decimal units, while some operating systems count in binary units but still display “GB”. A 1 TB drive holds 1,000,000,000,000 bytes, which is about 931.32257462 GiB, so Windows shows it as roughly 931 GB before formatting. A 500 GB drive appears as about 465.66 GiB. Nothing is missing; the same bytes are counted with a different prefix, and formatting and recovery partitions take a little extra space on top of that.

Memory, discs and file sizes

Computer memory is built in binary sizes, so a 256 GiB module holds about 274.87790694 GB in decimal units. A single-layer DVD labelled 4.7 GB holds about 4.3772161 GiB, which is why a folder showing 4.5 GB in some tools will not fit. macOS and many phone systems show storage in decimal units, while Windows uses binary counting, so the same file can show slightly different sizes on different devices. For network speeds in bits per second, use the Data Transfer Rate Converter.

Worked examples
InputResult
1 GB → MiB953.67431641
500 GB → GiB465.66128731
1 TB → GiB931.32257462
1 GiB → MB1,073.741824
256 GiB → GB274.87790694
4.7 GB → GiB4.3772161

Frequently asked questions

Why does a new drive look smaller than advertised?

Because drive makers label capacity in decimal units while some operating systems count in binary units and still print “GB”. A 1 TB drive holds 1,000,000,000,000 bytes, about 931.32257462 GiB, so Windows shows roughly 931 GB before formatting, and a 500 GB drive appears as about 465.66 GiB. No space is missing: the same bytes are counted with a different prefix, and formatting and recovery partitions take a little extra on top.

What is the difference between GB and GiB?

A GB is 1,000,000,000 bytes and a GiB is 1,073,741,824 bytes, so a GiB is roughly seven percent larger. That gap grows with size, which is why 1 GB is about 953.67431641 MiB rather than 1,024, and why a 500 GB drive reads as 465.66128731 GiB.

Why will a 4.7 GB disc not hold my 4.5 GB folder?

Because the two numbers use different prefixes. A single-layer DVD labelled 4.7 GB in decimal units holds about 4.3772161 GiB, so a folder that a tool reports as 4.5 GiB is actually larger than the disc. Memory works the other way: a 256 GiB module holds about 274.87790694 GB in decimal units.

Related tools