Skip to main content
Calcora

Conversions

Length Converter

Convert metric and imperial length between meters, kilometers, miles, feet, inches, centimeters, millimeters, yards, and nautical miles.

Convert a length

Zero and decimals are supported. Up to 1,000,000,000,000, with 12 decimal places. Use a decimal point; scientific input notation is not supported.

Private by design

Your values are converted in your browser and are not sent to Calcora.

How length conversion works

  1. Enter a value and choose units

    Choose the source and target units by name and symbol. Zero and decimal values are valid; negative lengths are not.

  2. Convert through meters

    The source value is multiplied by its exact meter factor, then divided by the target unit's meter factor. The same calculation serves every pair.

  3. Read the result and equivalents

    The main result identifies the target unit. The relationship explains the factor, and equivalent lengths all come from the original value.

Metric, imperial, and nautical lengths

Millimeters, centimeters, meters, and kilometers are metric length units. Their factors are powers of ten. Inches, feet, yards, and miles use international definitions; these lengths are also used in US customary measurements.

A nautical mile is a separate distance unit. It equals exactly 1,852 meters, while an international mile equals exactly 1,609.344 meters. The selector keeps their names and symbols distinct: nmi and mi.

This tool converts lengths and distances only. Area and volume require different powers of the length factor, and speed also includes time.

Exact conversion factors

Each unit has one exact factor in meters. The international inch, foot, yard, mile, and nautical mile have exact definitions; a rounded decimal in the result is a display choice, rather than a new definition.

Exact meter factors for all supported length units
One unitMeters, exactly
Millimeter (mm)0.001
Centimeter (cm)0.01
Meter (m)1
Kilometer (km)1,000
Inch (in)0.0254
Foot (ft)0.3048
Yard (yd)0.9144
Mile (mi)1,609.344
Nautical mile (nmi)1,852

Reference: NIST Guide to the SI: conversion factors. Calcora bundles these factors; no external service is contacted to convert a value.

Miles, kilometers, feet, meters, and inches

Converting through one base unit

Meters = Input value × Source factor
Result = Meters ÷ Target factor

For miles to kilometers, multiply by the mile factor in meters, then divide by the kilometer factor. In the reverse direction, divide kilometers by the exact kilometers-per-mile relationship.

The same approach converts feet to meters and meters to feet, or inches to centimeters. There are no separate formulas for individual unit pairs.

Understanding rounded results

Exact displayed values use =. Repeating decimals or values whose digits are shortened use ≈. The conversion keeps the original fraction, even when the visible decimal is rounded.

Ordinary conversions use decimal notation. Very small or large outputs use a coefficient and a power of ten to stay readable. A positive length never becomes a displayed zero just because it is small.

Common length conversion examples

These examples are calculated by the same engine as the converter.

  • 5 mi = 8.04672 km
  • 1 km ≈ 0.621371192237 mi
  • 1 ft = 0.3048 m
  • 1 m ≈ 3.28083989501 ft
  • 1 in = 2.54 cm
  • 1 yd = 0.9144 m
  • 1 nmi = 1.852 km
  • 100 cm = 1 m
  • 1,000 mm = 1 m

Assumptions and precision

  • Inches, feet, yards, and miles use international definitions. Historical survey feet and survey miles are not supported.
  • The nautical mile is the international nautical mile. It is a different unit from the international mile used for land distances.
  • Inputs range from 0 to 1,000,000,000,000 in the chosen source unit, with up to 12 decimal places. A decimal point is required; scientific input notation is not supported.
  • Conversions keep exact rational values internally. Results show up to 12 significant digits, without trailing decimal zeros. Very small nonzero results below 0.000001 and results of at least 1,000,000,000,000 use scientific notation.
  • The ≈ sign identifies rounded displayed values; = identifies exact displayed values. Converting a rounded result back can lose digits even though the engine's exact round trip does not.
  • Only single-value lengths and distances are converted. There is no unit inference, combined feet-and-inches input, area, volume, speed, or measurement-uncertainty model.

Frequently asked questions

How do I convert length units?
Multiply the value by the source unit's factor in meters, then divide by the target unit's factor in meters. Choose both units explicitly; the converter does not infer units from the number.
How many kilometers are in a mile?
1 mi = 1.609344 km. This uses the international mile and is an exact relationship.
How many miles are in a kilometer?
1 km ≈ 0.621371192237 mi. The displayed decimal is rounded; the converter retains the exact fraction internally.
How many centimeters are in an inch?
1 in = 2.54 cm. The international inch is defined by this exact relationship.
How many meters are in a foot?
1 ft = 0.3048 m. Calcora uses the international foot, rather than the historical US survey foot.
How many feet are in a meter?
1 m ≈ 3.28083989501 ft. This decimal is rounded for display. Reversing the exact conversion recovers the original value; retyping a rounded result can lose digits.
What is the difference between a mile and a nautical mile?
One international mile is exactly 1,609.344 meters. One international nautical mile is exactly 1,852 meters. Choose Miles (mi) or Nautical miles (nmi) to match the unit you mean.
Does the converter support decimal values?
Yes. Values such as 1.5, 2.54, 0.25, and 13.1 are supported, with up to 12 decimal places. Zero is valid; negative lengths and nonnumeric values are rejected.
How accurate are Calcora's conversions?
The engine uses exact unit definitions and rational arithmetic. Only the displayed result is rounded, to at most 12 significant digits. The ≈ sign marks rounded values. A conversion does not add precision to the measurement you entered.
Does Calcora store the values I enter?
No. Your values are converted in your browser and are not sent to Calcora. Inputs and results are not stored in cookies or browser storage, and are not added to the URL.

Related calculators

Browse the full calculator directory for more tools. Related converters will appear here when they are available.