MoxuTools Runs on your device

Data Size Converter

Bytes, KB, MB, GB, TB and the binary KiB, MiB and GiB.

Your numbers

Result

Fill in the boxes and your answer appears here.

Calculated in your browser. Nothing is sent anywhere.

About this calculator

Type a number, choose the unit you have and the unit you want, and this converter gives you the answer at once, along with the same data size and storage in every other unit it knows.

Every conversion factor is exact by definition wherever one exists, and each result shows the working so you can check it.

Worked examples

Real numbers, worked out by the same calculator. Press “Use these numbers” to try one above.

1 TB to GiB

gibibytes (GiB)
931.322574615 GiB
bytes (B)
1,000,000,000,000 B
kilobytes (KB, 1,000 B)
1,000,000,000 KB
megabytes (MB)
1,000,000 MB
gigabytes (GB)
1,000 GB
kibibytes (KiB, 1,024 B)
976,562,500 KiB
mebibytes (MiB)
953,674.316406 MiB
tebibytes (TiB)
0.909494701773 TiB
bits
8,000,000,000,000 bits

1 TB is 931.322574615 GiB.

Show the working
  1. Change to the base unit (bytes): 1 TB × 1,000,000,000,000 = 1,000,000,000,000 bytes.
  2. Change to GiB: 1,000,000,000,000 ÷ 1,073,741,824 = 931.322574615 GiB.

1 GiB to MiB

mebibytes (MiB)
1,024 MiB
bytes (B)
1,073,741,824 B
kilobytes (KB, 1,000 B)
1,073,741.824 KB
megabytes (MB)
1,073.741824 MB
gigabytes (GB)
1.073741824 GB
terabytes (TB)
0.001073741824 TB
kibibytes (KiB, 1,024 B)
1,048,576 KiB
tebibytes (TiB)
0.0009765625 TiB
bits
8,589,934,592 bits

1 GiB is 1,024 MiB.

Show the working
  1. Change to the base unit (bytes): 1 GiB × 1,073,741,824 = 1,073,741,824 bytes.
  2. Change to MiB: 1,073,741,824 ÷ 1,048,576 = 1,024 MiB.

500 MB to GB

gigabytes (GB)
0.5 GB
bytes (B)
500,000,000 B
kilobytes (KB, 1,000 B)
500,000 KB
terabytes (TB)
0.0005 TB
kibibytes (KiB, 1,024 B)
488,281.25 KiB
mebibytes (MiB)
476.837158203 MiB
gibibytes (GiB)
0.465661287308 GiB
tebibytes (TiB)
0.00045474735089 TiB
bits
4,000,000,000 bits

500 MB is 0.5 GB.

Show the working
  1. Change to the base unit (bytes): 500 MB × 1,000,000 = 500,000,000 bytes.
  2. Change to GB: 500,000,000 ÷ 1,000,000,000 = 0.5 GB.

How to convert by hand

There are two systems. Decimal units (KB, MB, GB, TB) go up by 1,000 each step and are used by drive makers and network speeds. Binary units (KiB, MiB, GiB, TiB) go up by 1,024 each step and are what operating systems often show.

A byte is 8 bits. Multiply by the size of the unit you have (in bytes), then divide by the size of the unit you want.

Conversion factors used

Each unit is stored as its size in bytes. The sizes below are the ones this converter uses.

UnitSize
bytes (B)1 bytes
kilobytes (KB, 1,000 B)1,000 bytes
megabytes (MB)1,000,000 bytes
gigabytes (GB)1,000,000,000 bytes
terabytes (TB)1,000,000,000,000 bytes
kibibytes (KiB, 1,024 B)1,024 bytes
mebibytes (MiB)1,048,576 bytes
gibibytes (GiB)1,073,741,824 bytes
tebibytes (TiB)1,099,511,627,780 bytes
bits0.125 bytes

Common conversions

FromTo
1 KB1,000 B
1 KiB1,024 B
1 MB1,000 KB
1 GB1,000 MB
1 GiB1.073741824 GB
1 TB1,000 GB
1 TB931.322574615 GiB
1 B8 bits

Why a 1 TB drive shows less space

A drive sold as 1 TB holds 1,000,000,000,000 bytes. An operating system that counts in binary units reports that as about 931 GiB, which looks like missing space but is only two different definitions of “gigabyte”.

Frequently asked questions

How many MB are in a GB?

1 GB is 1,000 MB in the decimal system, and 1 GiB is 1,024 MiB in the binary system.

Why does my 1 TB drive show about 931 GB?

The drive is 10¹² bytes; the computer divides by 2³⁰ and shows about 931 GiB.

How many bits are in a byte?

Eight bits make one byte.

How accurate is this converter?

It uses the exact defined factors wherever they exist and shows up to 12 significant digits, so the results are accurate to far more digits than you will normally need.

Formulas tested against hand-worked answers. Last reviewed 29 September 2026. These calculators do arithmetic only; they are not financial, tax or legal advice.