Conversions
Length Converter
Convert metric and imperial length between meters, kilometers, miles, feet, inches, centimeters, millimeters, yards, and nautical miles.
How length conversion works
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.
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.
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.
| One unit | Meters, 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?
How many kilometers are in a mile?
How many miles are in a kilometer?
How many centimeters are in an inch?
How many meters are in a foot?
How many feet are in a meter?
What is the difference between a mile and a nautical mile?
Does the converter support decimal values?
How accurate are Calcora's conversions?
Does Calcora store the values I enter?
Related calculators
Browse the full calculator directory for more tools. Related converters will appear here when they are available.