calculatortoolshub
Runs on your device

Length converter

Convert between eight common length units.

Your inputs

Inputs stay on your device.

Your result
2.54

Centimeters (cm)

1 in = 2.54 cm

View breakdown
Conversion factor 2.54
Precision Up to 6 decimal places
Need a percentage calculation? Open Percentage calculator

What the length converter does

A length converter translates linear distance measurements between the metric system (millimeters, centimeters, meters, kilometers) and customary imperial/US units (inches, feet, yards, miles) using exact international standards.

Pressing the swap button (↔) between the From and To dropdowns flips the conversion direction in place while keeping your entered number, so you can check both directions without retyping.

When you need to add a 10% or 15% cutting-waste allowance to converted lumber, flooring, or fabric lengths, use the Percentage calculator to compute the extra material required.

Common use cases

  • Woodworking, construction, and DIY plansConvert inches and feet on architectural drawings or hardware spec sheets into millimeters, centimeters, or meters.
  • Road, travel, and athletic distancesTranslate 5 km and 10 km race distances into miles, or convert highway mileage into kilometers.
  • E-commerce, shipping, and manufacturing specsCompare product dimensions, screen sizes, and parcel limits across US and international metric catalogs.
  • Height and athletic measurementsConvert stature or field measurements between feet/inches, centimeters, and yards.

How metric and imperial length conversions work

Every supported unit is anchored to the SI base unit of length, the meter (m), by an exact definition. To convert from any unit A to unit B, the engine multiplies the input by unit A's exact meter factor and divides by unit B's exact meter factor.

Converted Length = Input × (From_Unit_Meters ÷ To_Unit_Meters)
  • Input: The non-negative length quantity you want to convert.
  • From_Unit_Meters: Exact number of meters in 1 unit of the starting measurement (for example, 0.0254 m for 1 inch).
  • To_Unit_Meters: Exact number of meters in 1 unit of the target measurement (for example, 0.01 m for 1 centimeter).

Opening View breakdown beneath the primary answer displays the 1-unit conversion factor to 10 decimal places so you can use the exact multiplier in engineering spreadsheets or CAD drawings.

Because the 1959 International Yard and Pound Agreement fixed the international yard at exactly 0.9144 meters, every imperial length unit maps to the metric system with a terminating decimal ratio. Routing every conversion through meters eliminates the cumulative drift that occurs when chaining rounded conversion factors (such as 3.281 feet per meter or 0.621 miles per kilometer) across multiple steps.

For land surveying and legacy civil engineering drawings, note that the National Institute of Standards and Technology (NIST) and the National Geodetic Survey retired the legacy U.S. survey foot (1,200/3,937 meters) after December 31, 2022. Modern maps, construction plans, and GPS coordinates now standardize on the international foot of exactly 0.3048 meters used by this converter.

According to National Institute of Standards and Technology (NIST), one international yard is defined as exactly 0.9144 meters, making one international foot exactly 0.3048 meters and one international inch exactly 2.54 centimeters.

You can find all measurement conversion tools in the Math & Conversion calculators hub.

How to use this length converter

Enter a measurement and select your starting and target units.

  1. Enter the length value: Type any zero or positive number into the Length field, or click a preset chip above the form.
  2. Select From and To units: Choose the unit you are converting from and the unit you want to convert into, or press ↔ to swap them.
  3. Copy the converted measurement: Press Calculate (or read the live output), expand View breakdown to see the conversion factor, and click Copy.

To convert a 5-kilometer road race into miles, click the '5 km → mi' preset chip (or enter 5, From: Kilometers, To: Miles). The result panel displays 3.106856 Miles (mi) along with the equation 5 km = 3.106856 mi.

To see how all unit conversions run locally in your browser tab without server requests, read how local browser processing works.

Worked numerical examples

Convert 1 inch to centimeters

1 in × (0.0254 m ÷ 0.01 m)

Result2.54 cm
Convert 1 mile to meters

1 mi × (1,609.344 m ÷ 1 m)

Result1,609.344 m
Convert 6 feet to meters

6 ft × (0.3048 m ÷ 1 m)

Result1.8288 m
Exact international definitions for all 8 supported length units
Exact international definitions for all 8 supported length units
UnitSymbolSystemExact value in meters (m)Common equivalent
MillimetermmMetric (SI)0.001 m0.1 cm · ~0.0393701 in
CentimetercmMetric (SI)0.01 m10 mm · ~0.3937008 in
MetermMetric (SI)1 m (base unit)100 cm · ~3.2808399 ft
KilometerkmMetric (SI)1,000 m1,000 m · ~0.6213712 mi
InchinImperial / US0.0254 m (exact)2.54 cm · 25.4 mm
FootftImperial / US0.3048 m (exact)12 in · 30.48 cm
YardydImperial / US0.9144 m (exact)3 ft · 36 in
MilemiImperial / US1,609.344 m (exact)1,760 yd · 5,280 ft

Key measurement standards and unit relationships

Modern metric and customary length units are tied together by international treaty rather than physical metal bars.

1959 International Yard and Pound Agreement

In 1959, the United States, United Kingdom, Canada, Australia, New Zealand, and South Africa defined the international yard as exactly 0.9144 meters, fixing the inch at 25.4 millimeters.

Base-meter bridge conversion

Routing every conversion through the meter avoids maintaining 64 separate pairwise approximations and ensures that converting A → B → A returns the original quantity.

Metric powers-of-ten scaling

Moving between millimeters, centimeters, meters, and kilometers shifts the decimal point by powers of 10 (1 km = 1,000 m = 100,000 cm = 1,000,000 mm).

Customary subdivision ratios

Imperial and US customary units subdivide by 12, 3, and 1,760: 12 inches equal 1 foot, 3 feet equal 1 yard, and 1,760 yards (5,280 feet) equal 1 mile.

Why exact conversion constants matter

Using rough mental approximations like 1 mile ≈ 1.6 km or 1 meter ≈ 3.28 feet introduces noticeable errors over larger distances.

  • Zero approximation drift: Uses the exact 1,609.344 m/mi and 0.3048 m/ft constants rather than truncated 2-digit multipliers.
  • One-click direction swap: Reverse any unit pair immediately with the 44×44px swap button.
  • Ten-decimal factor readout: The breakdown panel exposes the raw 1-unit multiplier to 10 decimal places for technical work.
  • Offline-capable local math: Once the page loads, conversions run entirely in your browser tab with no network requests.

Factors that affect length conversions and limitations

Several domain conventions apply when interpreting converted lengths in construction, carpentry, and surveying.

  • Decimal feet vs. feet-and-inches notation: A result of 5.75 feet means 5 feet plus 0.75 of a foot (0.75 × 12 = 9 inches, or 5 ft 9 in), not 5 feet 7.5 inches.
  • Decimal inches vs. tape-measure fractions: Carpentry tape measures mark binary fractions of an inch (1/2, 1/4, 1/8, 1/16), whereas this converter outputs decimal inches.
  • Retirement of the US survey foot: Prior to 2023, some US state plane coordinate systems used the US survey foot (1200/3937 m ≈ 0.30480061 m), which differs from the international foot by about 3.2 mm per mile.
  • Accepts non-negative lengths from 0 up to 1,000,000,000,000.
  • Converts linear 1D distances only; square area units (m², ft², acres) and cubic volume units require dedicated area or volume converters.

According to BIPM SI Brochure (International System of Units), the meter (m) is the SI base unit of length, with millimeters (0.001 m), centimeters (0.01 m), and kilometers (1,000 m) defined as exact powers-of-ten multiples.

Frequently asked questions

How many centimeters are in an inch?

There are exactly 2.54 centimeters (or 25.4 millimeters) in 1 international inch. To convert inches to centimeters, multiply the inch measurement by 2.54; to convert centimeters to inches, divide by 2.54.

How many meters are in a mile?

One international mile equals exactly 1,609.344 meters (or 1.609344 kilometers), derived from 5,280 feet × 0.3048 meters per foot.

What happens when I press the swap button?

Pressing the swap button (↔) exchanges the From and To units while keeping your entered number in the Length box, immediately converting that same numerical quantity in the opposite direction.

Does this converter use the international foot or the US survey foot?

It uses the international foot (1 ft = 0.3048 meters exactly). NIST and the National Geodetic Survey officially retired the legacy US survey foot on December 31, 2022 in favor of the international foot.

How do I convert feet and inches (like 5 ft 10 in) in this tool?

Either convert the whole measurement to inches first (5 × 12 + 10 = 70 inches) and convert 70 inches to centimeters (177.8 cm), or enter the inches part as a decimal fraction of a foot (10 ÷ 12 = 0.833333, so 5.833333 feet).

Why does converting through meters prevent rounding drift?

Because every customary unit (inch, foot, yard, mile) is legally defined as an exact decimal multiple of the meter, routing conversions through the meter uses exact ratios rather than rounded intermediate approximations.

Ready to use

Loading tools…