Data Converter

Convert an amount of data between bits, bytes, kB, MB, GB, TB and the binary units KiB, MiB, GiB and TiB.

This tool applies Dutch rules. Text translated from Dutch; the Dutch version prevails. Open the Dutch version

The amount of data you want to convert.

The unit you enter the data in.

The unit you want the result in. The button swaps From and To.

Please check

Result

1,000 MB

Add to your site

Last reviewed: · 8 fixed checks

Please note: The result is an estimate and has been rounded. Actual costs and values may differ, and no rights can be derived from this calculation.

How the calculation works

Convert MB to GB, GB to MB, kB to MB and more straight away. Enter an amount of data, choose which unit to convert from and to, and see the result at once. The button swaps From and To.

There are two kinds of units: decimal (kB, MB, GB, TB, with a factor of 1,000) and binary (KiB, MiB, GiB, TiB, with a factor of 1,024). In the questions further down the page you can read why a disk can seem smaller than the number it is sold with.

Every unit is defined as a number of bits. A byte is 8 bits. A kilobyte is 1,000 bytes, a megabyte 1,000,000 bytes, a gigabyte 1,000,000,000 bytes and a terabyte 1,000,000,000,000 bytes. A kibibyte is 1,024 bytes, a mebibyte 1,048,576 bytes, a gibibyte 1,073,741,824 bytes and a tebibyte 1,099,511,627,776 bytes. The calculator first converts your data to bits and then to the unit you choose. That way every combination is right, without a separate table for each pair.

Rounding happens only at the end, to six decimals.

Formula

Result = amount × bits per unit of from ÷ bits per unit of to. Bits per unit: bit 1, byte 8, kB 8,000, MB 8,000,000, GB 8,000,000,000, TB 8,000,000,000,000, KiB 8,192, MiB 8,388,608, GiB 8,589,934,592, TiB 8,796,093,022,208.

Assumptions

  • kB, MB, GB and TB are decimal: 1 GB is exactly 1,000,000,000 bytes.
  • KiB, MiB, GiB and TiB are binary: 1 GiB is exactly 2³⁰ = 1,073,741,824 bytes.
  • A byte is 8 bits.
  • Rounding happens only at the end, to six decimals.

What this tool leaves out

  • A small amount in a large unit can become 0 after rounding to six decimals.
  • If a program calls a binary unit 'GB', the conversion with GiB is right, not the one with GB. The calculator keeps GB and GiB apart.

Example calculations

The button fills in the calculator above, so you can carry on from there.

  • Gigabytes in megabytes

    Result

    1,000 MB

    Amount of data 1 · gigabyte (GB) · megabyte (MB)

  • Gibibytes in mebibytes

    Result

    1,024 MiB

    Amount of data 1 · gibibyte (GiB) · mebibyte (MiB)

  • A 500 GB disk

    Result

    465.661287 GiB

    Amount of data 500 · gigabyte (GB) · gibibyte (GiB)

  • A byte in bits

    Result

    8 bit

    Amount of data 1 · byte (B) · bit

Frequently asked questions

How many MB is 1 GB?

Decimal, 1 GB is exactly 1,000 MB. Binary, 1 GiB is exactly 1,024 MiB. Which one you need depends on what it says on the packaging or in the program.

What is the difference between GB and GiB?

A GB is 1,000,000,000 bytes, a GiB is 1,073,741,824 bytes, about 7.4% more. The prefix 'giga' stands for 10⁹ bytes and 'gibi' for 2³⁰ bytes.

Why does my 500 GB disk seem smaller?

500 GB is 465.661287 GiB. If a program shows the space in GiB but calls it 'GB', space seems to be missing.

How many bits is a byte?

A byte is 8 bits. An internet speed in megabits per second (Mbit/s) is therefore 8 times as large as the same speed in megabytes per second (MB/s).

How many GB is 1 TB?

Decimal, 1 TB is exactly 1,000 GB. Binary, 1 TiB is exactly 1,024 GiB.

Sources and checks

How we check it

This calculator has 8 fixed checks: 8 calculations with a result that is fixed in advance, and 0 cases of invalid input that must be rejected. They all run automatically every time we publish; if one fails, the calculator does not go live.

See the calculations
  • Amount of data 1 · gigabyte (GB) · megabyte (MB) → Result 1,000 MB
  • Amount of data 1 · gibibyte (GiB) · mebibyte (MiB) → Result 1,024 MiB
  • Amount of data 1 · gigabyte (GB) · gibibyte (GiB) → Result 0.931323 GiB
  • Amount of data 500 · gigabyte (GB) · gibibyte (GiB) → Result 465.661287 GiB
  • Amount of data 1 · megabyte (MB) · kilobyte (kB) → Result 1,000 kB
  • Amount of data 1 · byte (B) · bit → Result 8 bit
  • Amount of data 1 · terabyte (TB) · tebibyte (TiB) → Result 0.909495 TiB
  • Amount of data 1 · gibibyte (GiB) · gigabyte (GB) → Result 1.073742 GB
Changes
  • : First version. Convert data, such as MB to GB, decimal and binary.

Last reviewed: · How we build and check our tools

Add this tool to your site

Have a website? Add this tool to it as a widget. You choose the colours, the tool stays up to date and you don't need an account. How widgets work

More tools

Find a tool

    More on the privacy page