Enter your email address below and subscribe to our newsletter

Home DIY Unit Converter

Convert a single measurement into every other unit in the same family.

Calm Home · Tools

Home DIY Unit Converter

Convert a single measurement into every other unit in the same family.

Only units in the same family are shown. 1 ft = 0.3048 m, 1 sq ft = 0.092903 m², 1 gal = 3.78541 L, 1 lb = 0.45359237 kg.

Everything runs in your browser. No data is uploaded.

Your conversions will appear here Enter a value and choose its unit, then convert to see every equivalent in the same family.

How the unit converter works

The unit converter takes one numeric value and one source unit, then returns the equivalent value in every unit of the same family. Length, area, volume and mass are kept separate: a length entered in feet returns feet, metres, inches and centimetres, while it never returns litres or kilograms. The grouping is deliberate, because a value in one family cannot be expressed in another.

The calculation runs in three stages. First, the source unit is matched to one of four families, each of which has a single base unit. Second, the entered value is converted into that base unit by multiplying by a fixed constant. Third, the base quantity is divided by the constant of every other unit in the same family, producing the full set of results. All four families use the same pattern, so a single table of constants drives the whole tool. Everything runs locally in the browser: no values are transmitted or stored, and every result can be reproduced by hand from the constants published below.

Key principle: the converter deals only with conversion constants. It returns a converted number and nothing else, and only within the family of the source unit. The constants are fixed arithmetic definitions, not values derived from a measurement, and the tool makes no claim about any use of the converted figures.

Why conversions are grouped into families

Conversions are grouped into families because the units inside a family all measure the same kind of quantity. Feet, metres, inches and centimetres all measure length; square feet and square metres measure area; gallons and litres measure volume; pounds and kilograms measure mass. Within a family, every unit relates to every other through one base unit, so a compact table of constants is enough to cover all combinations. Grouping also keeps the output honest: a result set for a length input contains only length units.

Publishing the constants and the base-unit method makes every figure reproducible. A reader can check 12 ft against 3.6576 m without trusting the tool, and can extend the same arithmetic to any value. The units often grouped under imperial or United States customary units are treated here exactly like metric units: each has one fixed factor to a base, with no special cases. The constants are widely used conversion definitions applied purely as arithmetic, and the article makes no claim about any application of the numbers produced.

Reference conversion constants

The first table lists the complete set of constants used by the tool, arranged by family and base unit. The factor is the number of base units contained in one of the listed units; multiplying a value by its factor gives the base quantity, and dividing the base quantity by a factor gives that unit again.

FamilyBase unitUnitFactor to base
Lengthmetre (m)ft0.3048
Lengthmetre (m)m1
Lengthmetre (m)in0.0254
Lengthmetre (m)cm0.01
Areasquare metre (m2)sq ft0.092903
Areasquare metre (m2)sq m1
Volumelitre (L)gal3.78541
Volumelitre (L)L1
Masskilogram (kg)lb0.45359237
Masskilogram (kg)kg1

The length row is equivalent to the single statement 1 ft = 0.3048 m = 12 in = 30.48 cm; from it, 1 in = 0.0254 m and 1 cm = 0.01 m follow by division. The area, volume and mass rows give the corresponding single constants 1 sq ft = 0.092903 m2, 1 gal = 3.78541 L and 1 lb = 0.45359237 kg. These are the only conversion factors applied by the tool.

The second table lists recomputed sample conversions for each family, including inverse conversions that divide rather than multiply. Values are shown to a maximum of six decimal places, rounded, with trailing zeros removed.

FamilyInputSame-family results
Length12 ft12 ft; 3.6576 m; 144 in; 365.76 cm
Area180 sq ft180 sq ft; 16.72254 sq m
Area20 sq m215.278301 sq ft; 20 sq m
Volume5 gal5 gal; 18.92705 L
Volume1 L0.264172 gal; 1 L
Mass10 lb10 lb; 4.535924 kg
Mass1 kg2.204623 lb; 1 kg

Each row follows the base-unit method in section 4. Forward conversions multiply by the source factor and then divide by each target factor; inverse conversions start from a metric or litre value and divide by the imperial factor. No row mixes families.

The conversion formula and rounding rules

Every rule below is a fixed arithmetic convention rather than a formal standard, published in full so any figure can be checked. The constants are the whole subject of the tool: no other factor, correction or adjustment is applied.

The base-unit method

Let v be the entered value and let f(src) be the factor of the source unit from section 3. The base quantity is q = v × f(src). Every unit u in the same family is then result(u) = q / f(u). Because the source unit has its own factor, result(src) = v × f(src) / f(src) = v, so the input always reappears unchanged among the results. This single formula covers length, area, volume and mass without exception. For example, an input in inches is first turned into metres with f(in) = 0.0254, and the metre quantity is then divided by 0.3048, 1, 0.0254 or 0.01 to produce feet, metres, inches or centimetres.

The constants by family

Length uses the metre as base with 1 ft = 0.3048 m, 1 in = 0.0254 m and 1 cm = 0.01 m, equivalent to 1 ft = 0.3048 m = 12 in = 30.48 cm. Area uses the square metre with 1 sq ft = 0.092903 m2. Volume uses the litre with 1 gal = 3.78541 L. Mass uses the kilogram with 1 lb = 0.45359237 kg. These are fixed conversion definitions used here as arithmetic constants, and no further factor is applied to any result.

Rounding and display

Results are displayed to a maximum of six decimal places, rounded, with trailing zeros removed. Exact products that fit within six decimal places are shown in full, which is why 12 ft gives 3.6576 m rather than 3.657600. Quotients that do not terminate, such as dividing by 0.092903, are rounded to six decimal places for display only; the arithmetic keeps full precision until that step. No rounding to a whole unit is applied, because the converter reports a converted value rather than a count of items.

Three worked examples

Each example uses the base-unit method and the constants in section 3. Only same-family results are shown, and Example A is the shipped default. Every figure can be recomputed by multiplying by the source factor and dividing by each target factor.

Example A — the default 12 ft

The source family is length and the base is the metre. The base quantity is q = 12 × 0.3048 = 3.6576 m. Dividing q by each length factor gives ft = 3.6576 / 0.3048 = 12, m = 3.6576 / 1 = 3.6576, in = 3.6576 / 0.0254 = 144 and cm = 3.6576 / 0.01 = 365.76. The result set is therefore 12 ft, 3.6576 m, 144 in and 365.76 cm, matching the shipped default 12 ft -> 3.6576 m, 144 in, 365.76 cm. No area, volume or mass value appears, because the families are kept separate.

Example B — 180 sq ft

The source family is area and the base is the square metre. The base quantity is q = 180 × 0.092903 = 16.72254 m2. Dividing q by each area factor gives sq ft = 16.72254 / 0.092903 = 180 and sq m = 16.72254 / 1 = 16.72254. The result set is therefore 180 sq ft and 16.72254 sq m. The product is exact within six decimal places, so no rounding is needed. An inverse input of 20 sq m would instead compute q = 20, then sq ft = 20 / 0.092903 = 215.278301, rounded to six decimal places as shown in section 3.

Example C — 5 gal

The source family is volume and the base is the litre. The base quantity is q = 5 × 3.78541 = 18.92705 L. Dividing q by each volume factor gives gal = 18.92705 / 3.78541 = 5 and L = 18.92705 / 1 = 18.92705. The result set is therefore 5 gal and 18.92705 L. As with Example B, the product is exact within six decimal places. An inverse input of 1 L would compute gal = 1 / 3.78541 = 0.264172, again rounded to six decimal places.

Each example can be reproduced by entering the same value and source unit in the tool. If a result looks surprising, check the family first; a value can only be converted into units of its own family.

How to prepare a value to convert

Good output depends on naming the quantity and its unit correctly before entry. A written measurement with its unit attached is enough.

  1. Write the value with its unit. Record the number and the unit together, such as 12 ft or 180 sq ft. A bare number has no family and cannot be converted.
  2. Confirm the family. Decide whether the unit measures length, area, volume or mass. The four families are listed in section 3; a square unit belongs to area, not length.
  3. Check the exact unit spelling. Distinguish ft from sq ft, gal from L, and lb from kg. Each is a separate row in the constants table with its own factor.
  4. Enter the value once and keep a record. Note the input, the source factor and the result set. Keeping them makes it easy to check a second value without re-deriving the constants.

Avoid entering a value already converted from another source without noting the conversion, and avoid mixing two units in one field. A single source unit is assumed; if a measurement combines feet and inches, convert one part first so the entry carries a single unit.

Common mistakes

  • Expecting results from another family. A length input returns only length units. Feet cannot produce litres, and square feet cannot produce kilograms.
  • Confusing a unit with its square. 1 ft = 0.3048 m, but 1 sq ft = 0.092903 m2; the area factor is not the square of 0.3048 written as a length conversion.
  • Squaring a length factor by hand. Use the published area constant 0.092903 directly rather than deriving an area factor from a length factor inside the tool.
  • Treating rounded six-decimal results as exact. Quotients such as 20 / 0.092903 are rounded for display; the underlying arithmetic keeps full precision.
  • Mixing an input unit with an output unit. The source unit is chosen once. Entering 12 and reading 144 in is correct; entering 144 and expecting 12 ft requires a new input.
  • Assuming a special case for one unit system. Imperial and metric units are handled by the same factor-to-base rule, with no extra step for either.
  • Checking only one result. The base-unit method returns every unit of the family at once, so the full set is the useful output, not a single number.

Limits and assumptions

The tool uses four families, one base unit per family and one constant per unit. It does not handle compound units, mixed units, temperature, force, pressure, angles, time, or conversions between families. It assumes the entered value is a plain number in the chosen source unit, and it applies no correction for context, precision of the original measurement, or significant figures. The constants are fixed definitions, not values measured from an object, and displayed results are rounded as described in section 4.

The output is an arithmetic conversion and nothing more. No claim is made about the accuracy of the entered measurement, the suitability of a converted figure for any purpose, or any property of the quantity being measured. The tool provides no structural, safety, health, legal or financial assessment of any kind, and no result should be read as one. Treat a converted value as one input alongside the original measurement and its unit.

Frequently asked questions

Why does a length input not show litres?

Conversions are grouped into families, and only same-family results are shown. Length, area, volume and mass are separate, so a length value returns only length units.

Which base unit does each family use?

Length uses the metre, area the square metre, volume the litre and mass the kilogram. Every unit in a family has a factor to that base, published in section 3.

Is 1 sq ft equal to 0.3048 squared?

The tool uses the published area constant 1 sq ft = 0.092903 m2 directly. The length factor 0.3048 applies to length only; the area constant is applied as a single fixed factor.

Why are some results rounded to six decimal places?

Products that terminate within six decimal places are shown in full. Quotients that do not terminate, such as dividing by 0.092903 or 3.78541, are rounded to six decimal places for display only.

Are imperial units handled differently from metric units?

No. Each unit, imperial or metric, has one factor to its family base, and the same multiply-then-divide method is applied to all of them without special cases.

Sources and further reading

The conversion constants and the base-unit method used above are widely published arithmetic definitions rather than a single mandatory standard, and the family grouping is a tool convention rather than a rule issued by any body. The following public references are provided as general examples of home-improvement material in which length, area and volume measurements appear in both imperial and metric units. Links are for verification only, are not an endorsement of any product, organisation or retailer, and no source is claimed to state the exact constants used here.

  • This Old House — a home-improvement publisher with project articles that state dimensions in both imperial and metric units.
  • Family Handyman — DIY how-to guides that work with common length, area and volume measurements.
  • Bob Vila — home-renovation reference articles that use everyday DIY measurement units.
  • IKEA — a home-furnishings retailer whose product specifications list dimensions in centimetres and inches.
  • RoomSketcher: Rug Placement 101 — floor-plan and furnishing articles that show measurements in both feet and metres.

Content last reviewed: November 2026. Conversion conventions and published product dimensions can change; check the current specification before relying on a figure.

This tool provides general planning guidance for informational purposes only. It does not constitute professional interior design, safety, health, legal or financial advice. Always check any figures against the published product specification or other relevant documentation, and consult a suitably qualified professional where a specific decision requires one.

Jack OConnor
Jack OConnor

Renovation expert and DIY enthusiast. Jack empowers you to pick up the power tools and tackle weekend projects, proving that high-end design doesn't need a high-end budget.

Articles: 4

Leave a Reply

Your email address will not be published. Required fields are marked *

Stay informed and not overwhelmed, subscribe now!