molecalculator

Moles & Molar Mass

Unit Conversion Equation: How to Convert Any Unit

Calculator No. 01-10447 · Updated · Formula and assumptions shown below

Converted value 30.4800
Value to convert
100
Set in the form below
Conversion factor (new unit per original unit)
0.3048
Set in the form below
You enter
Value to convert, Conversion factor (new unit per original unit)
You get
Converted value
Rounding
4 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

To convert from one unit to another, use the equation: value in new unit = (value in original unit) × (conversion factor), where the conversion factor is a ratio equal to 1 (e.g., 1 inch / 2.54 cm). You enter the original value, multiply by the appropriate conversion factor, and the result is the equivalent value in the desired unit. This page provides a calculator to perform unit conversions and explains the underlying method, including how to build conversion factors from scratch, common pitfalls, and practical examples.

Formula

The general unit conversion formula is:

Result = Value × Conversion Factor

Where:

  • Value – the numerical quantity you start with (in the original unit).
  • Conversion Factor – a dimensionless ratio that expresses how many new units equal one original unit. For example, to convert feet to meters, the factor is 0.3048 (since 1 ft = 0.3048 m).

If you need to convert in the opposite direction (e.g., meters to feet), use the reciprocal of the factor: 1 / 0.3048 ≈ 3.28084.

Worked Example

Using the default values from the calculator: convert 100 feet to meters.

  1. Original value: 100 ft
  2. Conversion factor: 1 ft = 0.3048 m, so factor = 0.3048
  3. Multiply: 100 × 0.3048 = 30.48

The result is 30.48 meters. The calculator shows 30.4800 (rounded to 4 decimal places).

Assumptions

  • The conversion factor is exact and based on defined relationships (e.g., 1 inch = 2.54 cm exactly).
  • The value is a positive number (or zero); negative values are allowed only if your context permits (e.g., temperature conversions).
  • No rounding is applied to the conversion factor itself; you may round the final result as needed.

How to Build a Conversion Factor from Scratch

Often you don’t have a ready-made factor, but you can derive it from known equivalences. For example, to convert miles per hour to kilometers per hour:

  • Know that 1 mile = 1.60934 km.
  • Since the units are both per hour, the factor is simply 1.60934.

For more complex conversions, break it down step by step. To convert cubic feet per minute to liters per second:

  1. 1 ft³ = 28.3168 L (exact: 0.3048³ × 1000).
  2. 1 minute = 60 seconds.
  3. Factor = 28.3168 / 60 ≈ 0.471947.

Write the factor as a fraction with the desired unit on top and the original unit on the bottom, ensuring the original unit cancels.

When to Use This Equation

Use this equation whenever you need to express a quantity in different units—whether in science, engineering, cooking, or everyday life. It works for:

  • Length, mass, volume, time
  • Speed, acceleration, density
  • Temperature (but with an offset, see below)
  • Energy, pressure, power

The key is that the conversion factor must be a simple multiplier. For temperature conversions between Celsius and Fahrenheit, the relationship is affine (includes an offset), so the simple factor method fails—you need a formula like °F = (°C × 9/5) + 32.

Common Mistakes and How to Avoid Them

  • Using the wrong factor direction: Always check that the units cancel. If you multiply by 0.3048 when converting meters to feet, you get a smaller number, which is wrong.
  • Forgetting to convert derived units: For area or volume, you must cube or square the linear factor. 1 m² = (3.28084 ft)² = 10.7639 ft², not 3.28084 ft².
  • Mixing metric prefixes: 1 kilometer = 1000 meters, but 1 kilogram = 1000 grams. When converting, write out the prefix conversions explicitly.
  • Rounding too early: Keep extra digits during intermediate steps, then round at the end to avoid accumulating errors.

Unit Conversion in Science and Lab Work

In chemistry and physics, unit conversion is non-negotiable. For example, to calculate molarity, you often need to convert mass (g) to moles (mol) using molar mass, and volume (mL) to liters (L). The conversion factor for mL to L is 0.001. Similarly, when using the ideal gas law, you must convert pressure to atm, volume to L, and temperature to Kelvin (add 273.15 to °C).

Always write down your units and cancel them—this is called dimensional analysis. It catches errors before you even do the arithmetic.

Comparison with Other Methods

Some people use online converters or apps that handle many units automatically. Those are convenient, but understanding the equation lets you:

  • Convert units not in the database
  • Verify the app’s results
  • Work offline

Spreadsheet functions like CONVERT in Excel do the same thing under the hood. The equation is universal.

Frequently Asked Questions

How do I convert between units that are not directly related?

Use a chain of conversion factors. For example, to convert gallons to liters, use 1 gallon = 3.78541 liters. For more complex paths, multiply multiple factors together, ensuring intermediate units cancel.

What is the conversion factor for temperature?

Temperature conversions are affine, not multiplicative. To convert °C to °F: multiply by 9/5 and add 32. To convert °C to K: add 273.15. There is no single factor that works for all temperature scales.

Why do some conversion factors have many decimal places?

Because they are based on exact definitions or precise measurements. For example, 1 inch is defined as exactly 2.54 cm, so the factor 2.54 is exact. Others, like 1 mile = 1.609344 km, are exact by definition too. Use as many digits as needed for your precision.

Can I use this equation for currency conversion?

Yes, but exchange rates change over time. The factor is the current exchange rate (e.g., 1 USD = 0.92 EUR). You must look up the rate for the date of conversion; it is not a fixed constant.

What if my conversion factor is less than 1?

That’s normal. For example, 1 foot = 0.3048 meters, so the factor is 0.3048. Multiplying by a factor less than 1 gives a smaller number, which makes sense because meters are larger than feet.

How do I convert a rate like miles per gallon to liters per 100 km?

This requires a more complex calculation because the units are inverted. First convert miles to km (1 mile = 1.60934 km) and gallons to liters (1 gallon = 3.78541 L). Then compute (3.78541 L / (1.60934 km)) × 100 = 235.215 L/100km per mpg. The formula is: L/100km = 235.215 ÷ mpg.

Remember: always double-check your conversion factor and units. A simple mistake can lead to errors in lab results or engineering designs. Follow your lab method, the safety data sheet (SDS) and your supervisor when performing actual measurements.

Related

Formula used
in v | Value to convert | - | 100 | 0
in f | Conversion factor (new unit per original unit) | - | 0.3048 | 0
out r | Converted value | - | v * f | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →