Skip to content
RK Calculator
Menu

Data Storage Converter

Convert data sizes between bits, bytes, kilobytes, megabytes, gigabytes and terabytes, in both decimal (1,000) and binary (1,024) units.

Change the values and press Calculate to work out your own figures.

Enter an amount of data, choose its unit and the unit you want. The answer is exact until it is shown, and the same value appears in every other unit.

About valueA number, fraction (3/8), mixed number (1 1/2), scientific notation (2.5e6) or a simple sum such as 2*3.
About toThe unit you want the answer in. Swap exchanges the two units.
Result
Result
1,000 MB
bits
8,000,000,000 bit
nibbles
2,000,000,000 nibble
bytes
1,000,000,000 B
kilobits
8,000,000 kbit
megabits
8,000 Mbit
gigabits
8 Gbit
terabits
0.008 Tbit
petabits
8 × 10⁻⁶ Pbit
exabits
8 × 10⁻⁹ Ebit
kilobytes
1,000,000 kB
terabytes
0.001 TB
petabytes
1 × 10⁻⁶ PB
exabytes
1 × 10⁻⁹ EB
kibibits
7,812,500 Kibit
mebibits
7,629.39453125 Mibit
gibibits
7.45058059692 Gibit
tebibits
0.00727595761418 Tibit
pebibits
7.1054273576 × 10⁻⁶ Pibit
exbibits
6.93889390391 × 10⁻⁹ Eibit
kibibytes
976,562.5 KiB
mebibytes
953.674316406 MiB
gibibytes
0.931322574615 GiB
tebibytes
0.000909494701773 TiB
pebibytes
8.881784197 × 10⁻⁷ PiB
exbibytes
8.67361737988 × 10⁻¹⁰ EiB

1 GB = 1,000 MB

Show the working
  1. 1 GB = 1000 MB
  2. 1 × 1000 = 1000 MB

How to use it

Type an amount of data, choose the unit it is in and the unit you want, then press Calculate. You can type decimals, fractions such as 3/8, mixed numbers such as 1 1/2, very large or small numbers such as 2.5e6, and simple sums such as 2*3. Swap exchanges the two units.

The answer is worked out with exact fractions and only rounded for display, to 12 significant figures. Below it you get the same value in every other unit on the list, and Show the working gives the factor that was used.

Key definitions

1 byte = 8 bits; 1 nibble = 4 bits
1 kB = 1,000 B; 1 MB = 1,000 kB; 1 GB = 1,000 MB
1 KiB = 1,024 B; 1 MiB = 1,024 KiB; 1 GiB = 1,024 MiB

Why a 1 TB drive shows 931 GB

Drive makers use decimal units: a terabyte is 1,000,000,000,000 bytes. Many operating systems count in binary units, where a 'gigabyte' is really 1,073,741,824 bytes (a gibibyte), and so report the same drive as about 931 GB. Nothing is missing; the two numbers use different units.

This converter keeps the two apart: kilobyte, megabyte and gigabyte are the decimal units, and kibibyte, mebibyte and gibibyte are the binary ones.

Questions

How many megabytes are in a gigabyte?

1,000 in decimal units. In binary units, a gibibyte is 1,024 mebibytes.

Is a kilobyte 1,000 or 1,024 bytes?

By the international standard, 1,000. The 1,024-byte unit is properly a kibibyte (KiB), although some software still labels it KB.

Formulas

result = (value × f(from) + o(from) − o(to)) ÷ f(to)

Sources

Limitations

  • Only the units listed are supported here; other data-storage units arrive with later M4 slices.

Formula version 0.1.0Reviewed