Unit Converter
A unit converter changes a measurement from one unit to another, such as inches to millimeters, gallons to liters or grams to cups. Type a number on either side and the other side updates at once. Factors use exact NIST definitions, and the formula is shown so you can check the math.
Quick lookup table
| From | To |
|---|
All converters
Each page opens with its own converter and follows with the formula, a lookup table and FAQ. Rows marked “soon” are in the publishing plan and go live on their dates.
| # | Converter | Direction | |
|---|---|---|---|
| 1 | Unit conversions | all units | Soon |
| 2 | Grams to cups | g → cup | Soon |
| 3 | Millimeters to inches | mm → in | Soon |
| 4 | Kilograms to stone and pounds | kg → st lb | Soon |
| 5 | Gallons to litres | gal → L | Soon |
| 6 | Gallons to liters | gal → L | Soon |
| 7 | Square feet to acres | ft² → ac | Soon |
| 8 | Decimal hours | h:mm → h | Soon |
| 9 | Hours in decimals | h:mm → h | Soon |
| 10 | Time to decimal | h:mm → h | Soon |
| 11 | Steps to distance | steps → mi | Soon |
| 12 | mg to mL | mg → mL | Soon |
| 13 | mgs to mls | mg → mL | Soon |
| 14 | Milligrams to milliliters | mg → mL | Soon |
| 15 | Measurement calculator | fractions | Soon |
| 16 | Hours ago calculator | h → clock time | Open |
| 17 | Planetary hours calculator | sunrise → 24 hours | Open |
| 18 | Weekly timecard calculator | shifts → h | Open |
How unit conversion works
Every conversion multiplies by a fixed factor. To go from inches to millimeters, multiply by 25.4. To go the other way, divide by the same factor. Temperature is the exception because the scales start at different zero points, so it needs an offset as well as a factor.


Exact factors you can rely on
| Quantity | Conversion | Status |
|---|---|---|
| Length | 1 inch = 25.4 mm · 1 foot = 0.3048 m · 1 mile = 1.609344 km | Exact |
| Mass | 1 pound = 0.45359237 kg · 1 ounce = 28.349523125 g · 1 stone = 14 pounds | Exact |
| US volume | 1 gallon = 3.785411784 L · 1 cup = 236.5882365 mL · 1 tablespoon = 14.78676478 mL | Exact |
| UK volume | 1 imperial gallon = 4.54609 L | Exact |
| Area | 1 acre = 4046.8564224 m² = 43,560 ft² · 1 hectare = 10,000 m² | Exact |

Temperature formulas
| From | To | Formula |
|---|---|---|
| °C | °F | °F = °C × 9/5 + 32 |
| °F | °C | °C = (°F − 32) × 5/9 |
| °C | K | K = °C + 273.15 |
Handy checks: 0 °C is 32 °F, 100 °C is 212 °F, body temperature of 37 °C is 98.6 °F, and −40 is the same on both scales.
Decimal hours
Timesheets often need hours as a decimal. Divide minutes by 60 and add the whole hours.
| Minutes | Decimal hours | Example |
|---|---|---|
| 6 | 0.1 | 2:06 = 2.1 h |
| 15 | 0.25 | 7:15 = 7.25 h |
| 30 | 0.5 | 7:30 = 7.5 h |
| 45 | 0.75 | 7:45 = 7.75 h |

Cups and grams in the kitchen
A US cup is a volume of about 236.6 mL, but how much it weighs depends on the ingredient and how it is packed. The converter uses typical weights per cup as follows: all-purpose flour 120 g, granulated sugar 198 g and packed brown sugar 213 g from King Arthur Baking’s ingredient weight chart, butter 227 g (8 US ounces) and honey 336 g (16 tablespoons at 21 g each, same chart). Water is about 237 g. For baking, a kitchen scale is always more accurate than a cup.
Frequently asked questions
How accurate are the conversions?
Length, mass, volume and area factors use the exact definitions published by NIST and the SI system, for example 1 inch = 25.4 mm and 1 pound = 0.45359237 kg. Results show up to eight significant digits.
Is a US gallon the same as an imperial gallon?
No. A US gallon is 3.785411784 liters. An imperial (UK) gallon is 4.54609 liters, about 20 percent larger. Always check which one a recipe, fuel figure or tank rating uses.
Why do grams to cups depend on the ingredient?
A cup measures volume and grams measure mass. A cup of flour weighs much less than a cup of honey, so the converter needs the ingredient’s typical weight per cup. Flour especially varies with how it is scooped.
What is a decimal hour?
It is a fraction of an hour written as a decimal. Divide the minutes by 60: 15 minutes is 0.25 hours, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours. Payroll and billing sheets often need this format.
How do I convert Fahrenheit to Celsius?
Subtract 32 and multiply by 5/9. For example, 98.6 °F minus 32 is 66.6, times 5/9 is 37 °C. To go back, multiply by 9/5 and add 32.
Does the converter store what I type?
No. All conversions run in your browser and nothing is sent to a server.
Did the owl get it right?
Mark this page useful, or tell us what to improve.
Thank you. Your note has been received.