Conversions

Data Storage Conversion

Convert between bits, bytes and decimal or binary kilobytes, megabytes, gigabytes and terabytes.

FreeNo sign-in
Share

Inputs

Press Enter to calculate · nothing is sent anywhere

Awaiting input

Fill in the fields and press Calculate. Your result appears here and stays in view as you scroll.

The guide

Understanding the Data Storage Conversion

Convert between bits, bytes and decimal or binary kilobytes, megabytes, gigabytes and terabytes.

What each input means

The calculator asks for 3 pieces of information. Every field is validated before the maths runs, so an impossible value is refused rather than quietly producing a wrong answer.

InputWhat it asks forExample
Value to convertA number.500
FromChoose one of 10 options.Gigabytes (GB, 1000 MB)
ToChoose one of 10 options.Gibibytes (GiB, 1024 MiB)

A worked example using the default inputs

With value to convert of 500, from of Gigabytes (GB, 1000 MB), to of Gibibytes (GiB, 1024 MiB), the calculator returns 465.661 GiB, 1024 MiB.

Result lineValue
500.000 GB, 1000 MB in GiB, 1024 MiB465.661 GiB, 1024 MiB
Conversion rate1 GB, 1000 MB = 0.93132 GiB, 1024 MiB
Bits (b)4,000,000,000,000.00 b
Bytes (B)500,000,000,000.00 B
Kilobytes (kB, 1000 B)500,000,000.00 kB, 1000 B
Megabytes (MB, 1000 kB)500,000.00 MB, 1000 kB

The same arithmetic runs whatever you type into the form above, so you can reproduce any figure by matching the inputs listed here.

How this is calculated

Decimal units step by 1,000 and binary units step by 1,024. Convert to bytes first, then divide by the target factor.

Working values are kept at full precision and rounded only for display. Impossible dates, zero denominators, negative amounts where they make no sense, and out-of-range values are rejected before any result is shown.

How these conversions stay exact

Conversions are multiplications by fixed factors, so accuracy depends entirely on using the right factor and the right definition. Where a factor is defined exactly by international agreement it is used exactly; where a unit is a measurement convention, the agreed value is used and shown to a precision the input can support.

FamilyThe approachWhere it is used
Exact defined factors1 inch = 25.4 mm, 1 pound = 0.45359237 kgLength, weight
Base-unit chainConvert into the SI base unit, then out to the target unitEvery converter in this section
Affine scalesF = C × 9/5 + 32; K = C + 273.15Temperature
US versus imperialUS gallon = 3.785411784 L; imperial gallon = 4.54609 LVolume, fuel economy
PrecisionOutput rounded to the precision the input supportsEvery converter in this section

Temperature is the one family where the conversion is not a simple ratio. Because the scales start in different places, you multiply and then offset, which is why 20 °C is not twice as warm as 10 °C in any physical sense: it is 293 K against 283 K.

Recipe cups are the classic trap. A US customary cup is 236.6 mL, a metric cup is 250 mL and an Australian cup is 250 mL, so a cup of flour measured in different countries is a different weight before density is even considered.

Three worked examples from this section

Ten kilometres in miles

One mile is exactly 1.609344 km, so 10 ÷ 1.609344 = 6.2137 miles. For a quick check, multiply by 5 and divide by 8: 10 km is about 6.25 miles, which is close enough to sanity-check the number.

180 pounds in kilograms

One pound is exactly 0.45359237 kg, so 180 × 0.45359237 = 81.65 kg. In the other direction, a 70 kg adult is 70 ÷ 0.45359237 ≈ 154.3 lb.

180 lb
81.65 kg
70 kg
154.3 lb
1 stone
6.35 kg

100 °F in Celsius and kelvin

Subtract 32, multiply by 5 and divide by 9: (100 − 32) × 5 ÷ 9 = 37.8 °C. Adding 273.15 gives 310.9 K. The same steps reversed turn 37.0 °C into 98.6 °F.

Conversion factors and significant figures

Conversions use the exact defined factors where they exist (an inch is exactly 25.4 mm, a pound exactly 0.45359237 kg, a US gallon exactly 3.785411784 litres) and the internationally agreed values where measurement is involved.

  • Results are shown to a precision that reflects the input. Multiplying a two-figure measurement by an exact factor still leaves you with a two-figure answer.
  • US and imperial units differ: a US gallon is about 3.79 litres, an imperial gallon about 4.55. Choose the right one for the recipe or the vehicle.
  • Temperature conversions are affine, not multiplicative; the offset is why doubling a Celsius temperature does not double a Fahrenheit one.

Sources and further reading

Reviewed 4 November 2026 · CalcFlow editorial

Common questions

Frequently asked

Why does my 1 TB drive show as 931 GB?+

The drive holds 1 × 10¹² bytes. Reported in binary gigabytes that is 1 × 10¹² ÷ 1,073,741,824 ≈ 931 GiB. Nothing is missing.

Is a megabit the same as a megabyte?+

No. Internet speeds are usually megabits per second, so divide by 8 for megabytes: a 100 Mbps line downloads at about 12.5 MB/s.

Keep going

Often used together

Pairs well with

The next question people ask after this one usually sits in another section.