Home › Unit Converters › Data Storage Converter

Data Storage Converter

Convert bits, bytes, KB, MB, GB, TB and PB. Binary units (KiB, MiB, GiB, TiB and PiB) are included too, so you can see both answers.

Enter a size such as 1, 500 or 2.5. Up to 4 decimal places.

Result

-

What is a data storage converter?

A data storage converter changes a file or disk size from one unit to another, such as megabytes to gigabytes or terabytes to gibibytes. Choose the value and the units, and the converter shows the answer and the same size in all 12 units.

Decimal and binary units

Decimal: 1 KB = 1,000 bytes, 1 MB = 1,000 KB, 1 GB = 1,000 MB
Binary: 1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB
1 byte = 8 bits

KB, MB, GB, TB and PB are the decimal (SI) units, which count in thousands. KiB, MiB, GiB, TiB and PiB are the binary (IEC) units, which count in powers of 1,024. Because they differ, 1 GB is about 0.93 GiB, and the gap grows with size: 1 TB is about 0.91 TiB.

Quick reference

UnitBytes
1 KB / 1 KiB1,000 / 1,024
1 MB / 1 MiB1,000,000 / 1,048,576
1 GB / 1 GiB1,000,000,000 / 1,073,741,824
1 TB / 1 TiB1012 / 1,099,511,627,776

Why a drive shows less space than advertised

Drive makers state capacity in decimal units, so a "500 GB" drive holds 500,000,000,000 bytes. Some operating systems show sizes using binary units, and that same drive appears as about 465.66 GiB. Nothing is missing. The two numbers measure the same amount of data with different units.

Example

A 2.5 MB photo is 2.5 × 1,000 = 2,500 KB, or about 2,441.41 KiB. A 500 GB drive is 0.5 TB, or about 0.4547 TiB.

Bits and bytes

Internet speeds are usually quoted in bits (Mbps), and file sizes in bytes (MB). Divide megabits by 8 to get megabytes, so a 100 Mbps connection moves at most 12.5 MB per second.

Related tools: all unit converters.

Need another calculator?

Browse all calculators
Scroll to Top