Length Calculator

Convert between inches, feet, yards, miles, centimeters, meters, and kilometers. Enter one or more values below and get the total length in every unit.

Enter a value into any one field, or combine several (e.g. 5 feet + 6 inches), and click Calculate to get the total length converted into all seven units.

Results

Calculated
Result
—

About this calculator

This length calculator converts between the seven most common length units: inches, feet, yards, miles, centimeters, meters, and kilometers. Enter a value in any one field — or combine several, such as 5 feet and 6 inches — and it adds them together and shows the total length in every unit at once.

How to use

Enter a value into any one or more of the fields above (leave the rest blank), then click Calculate to see the total length converted into all seven units. Click Clear to reset every field.

The Formula: Converting Through a Common Base Unit

Rather than storing a separate formula for every possible pair of units, the calculator converts everything through meters as a common base, then converts back out to each display unit:

  • Total meters = Σ (value in unit × that unit's meter factor), summed across every field you filled in
  • Result in any unit = Total meters ÷ that unit's meter factor

The meter factors the calculator uses are exact, internationally defined values: 1 inch = 0.0254 m, 1 foot = 0.3048 m, 1 yard = 0.9144 m, 1 mile = 1609.344 m, 1 centimeter = 0.01 m, 1 kilometer = 1000 m. Because inches, feet, yards, and miles are all defined as exact multiples of the meter (since the 1959 international yard and pound agreement), every conversion this calculator performs is mathematically exact — there's no approximation error, only rounding in the displayed decimal places.

Worked Example

Suppose you enter 5 in the Feet field and 6 in the Inches field (a height of 5'6"):

  • Total meters = (5 × 0.3048) + (6 × 0.0254) = 1.524 + 0.1524 = 1.6764 m
  • Back to feet: 1.6764 ÷ 0.3048 = 5.5 ft
  • Back to inches: 1.6764 ÷ 0.0254 = 66 in
  • To yards: 1.6764 ÷ 0.9144 = 1.8333 yd
  • To centimeters: 1.6764 ÷ 0.01 = 167.64 cm
  • To miles: 1.6764 ÷ 1609.344 ≈ 0.001042 mi
  • To kilometers: 1.6764 ÷ 1000 = 0.001676 km

All seven values represent the exact same physical length — 5 feet 6 inches — just expressed in different units, which is exactly what the calculator's results table shows.

Common Mistakes / How to Interpret the Result

  • Filling in more than one field without meaning to add them. The calculator treats every non-empty field as part of a sum — entering both "5" in Feet and "3" in Yards gives you the total of 5 feet plus 3 yards combined, not two independent conversions. Clear the fields between separate conversions unless you specifically want to add lengths together.
  • Assuming a US survey foot and an international foot are identical. This calculator uses the international foot (0.3048 m exactly), which is standard for virtually all everyday and engineering use. The US survey foot differs by about 2 parts per million — irrelevant for daily use, but occasionally significant in large-scale land surveying.
  • Confusing a nautical mile with a statute mile. This calculator's "miles" field uses the standard statute mile (1,609.344 m), used for road distances. A nautical mile (1,852 m), used in aviation and marine navigation, is about 15% longer and is not one of the seven units offered here.
  • Over-trusting displayed precision. The calculator shows up to 6 decimal places for very small results, but your real-world measurement is rarely that precise — round the final answer to match the precision of whatever you originally measured.

Length Conversion Chart: Complete Reference Table

Use the quick-reference tables below to look up any unit pair without opening the calculator. All values are exact per the 1959 international yard agreement (1 inch = 25.4 mm exactly).

All Units Expressed in Meters

Unit Symbol Value in Meters (exact)
Millimetermm0.001 m
Centimetercm0.01 m
Meterm1 m
Kilometerkm1,000 m
Inchin0.0254 m
Footft0.3048 m
Yardyd0.9144 m
Milemi1,609.344 m

Most-Searched Conversion Pairs

From Equals
1 inch2.54 cm
1 foot30.48 cm = 0.3048 m
1 yard91.44 cm = 0.9144 m
1 mile1.609344 km = 1,609.34 m
1 cm0.3937 in
1 m3.28084 ft = 39.3701 in
1 km0.621371 miles

Feet and Inches to Centimeters: Height Conversion Chart

Heights from 4’10” to 6’6” in 1-inch increments. To convert any height, multiply the total number of inches by 2.54. For example, 5 feet 10 inches = 70 in × 2.54 = 177.8 cm.

Height (ft / in) Centimeters Meters
4’10”147.32 cm1.47 m
4’11”149.86 cm1.50 m
5’0”152.40 cm1.52 m
5’1”154.94 cm1.55 m
5’2”157.48 cm1.57 m
5’3”160.02 cm1.60 m
5’4”162.56 cm1.63 m
5’5”165.10 cm1.65 m
5’6”167.64 cm1.68 m
5’7”170.18 cm1.70 m
5’8”172.72 cm1.73 m
5’9”175.26 cm1.75 m
5’10”177.80 cm1.78 m
5’11”180.34 cm1.80 m
6’0”182.88 cm1.83 m
6’1”185.42 cm1.85 m
6’2”187.96 cm1.88 m
6’3”190.50 cm1.91 m
6’4”193.04 cm1.93 m
6’5”195.58 cm1.96 m
6’6”198.12 cm1.98 m

Kilometers to Miles (and Miles to Kilometers)

Popular running and driving benchmarks — from a local 5K to a 100K ultramarathon. Formula: km × 0.621371 = miles; miles × 1.609344 = km.

Kilometers to Miles

Kilometers Miles Note
5 km3.107 miParkrun / 5K race
10 km6.214 mi10K race
15 km9.321 mi
20 km12.427 mi
21.1 km13.110 miHalf marathon
25 km15.534 mi
30 km18.641 mi
42.2 km26.219 miFull marathon
50 km31.069 miUltramarathon
100 km62.137 miUltramarathon

Miles to Kilometers

Miles Kilometers Note
1 mi1.609 km
3 mi4.828 km
5 mi8.047 km
10 mi16.093 km
13.1 mi21.082 kmHalf marathon
26.2 mi42.165 kmFull marathon

Frequently Asked Questions

Can I combine multiple units in one calculation, like feet and inches?
Yes — that's the calculator's main feature. Enter a value in more than one field (for example, 5 in Feet and 6 in Inches) and it adds them together as a single total length before converting to every unit, which is exactly how you'd read a height like 5 feet 6 inches.
Why are inches, feet, yards, and miles all exact conversions rather than approximations?
Since 1959, the United States, United Kingdom, Canada, Australia, and other English-speaking countries have defined the inch as exactly 25.4 millimeters by international agreement. Every other imperial unit in this calculator (foot, yard, mile) is a fixed multiple of the inch, so all of them convert to and from meters with zero rounding error.
What's the difference between a centimeter-based and meter-based result for the same length?
They're the same physical length expressed at different scales — 167.64 centimeters and 1.6764 meters describe an identical distance. Centimeters are more convenient for small everyday measurements (like a person's height), while meters are the standard SI base unit used in most scientific and engineering contexts.
Does this calculator handle negative lengths or subtraction?
No — the calculator only accepts zero or positive values, since a physical length can't be negative. If you need to find the difference between two lengths (for example, how much longer one board is than another), convert each length separately and subtract the results yourself.
How many cm in an inch?
There are exactly 2.54 centimeters in one inch. This is a defined, exact value established by international agreement in 1959 — not a rounded approximation. So 1 in = 2.54 cm, 2 in = 5.08 cm, 12 in (1 foot) = 30.48 cm.
How many feet in a meter?
One meter equals approximately 3.28084 feet (precisely, 1 ÷ 0.3048 = 3.280839895… ft). For quick mental math, round to 3.28 ft per meter, or remember that roughly 3 feet 3 inches ≈ 1 meter.
How many km in a mile?
One mile equals exactly 1.609344 kilometers. For everyday use, 1 mile ≈ 1.609 km — or approximate by multiplying miles by 1.6. Going the other direction, 1 km ≈ 0.621 miles.
How many inches in a foot?
There are exactly 12 inches in one foot. A foot is defined as 12 inches, so 1 ft = 12 in, 2 ft = 24 in, and a height of 5 ft 6 in = 66 in total.
What is 5 feet 10 inches in cm?
5 feet 10 inches equals exactly 177.8 cm. The calculation: (5 × 12 + 10) × 2.54 = 70 × 2.54 = 177.80 cm (or 1.778 m). This is one of the most commonly searched height conversions online.
How many meters in a mile?
One mile equals exactly 1,609.344 meters. This comes from the definition of the international yard: 1 mile = 1,760 yards = 1,760 × 0.9144 m = 1,609.344 m exactly.