Length Converter

Convert between miles, kilometers, feet, meters, inches, yards, and more instantly.

By Drew Budwin · Last updated July 2026 · Methodology

Embed this calculator

Add it to your website or blog

Embed this calculator

Theme

Paste this code into your website's HTML where you want the calculator to appear. It adds a small credit link back to CalcTray. Please keep it. How embedding works.

Optional: auto-resize iframe to fit content

Add this snippet to your page so the iframe height adjusts automatically after each calculation:

Length Converter Formula

Length conversion formula:

result = value Γ— (fromFactor Γ· toFactor)

fromFactor = source unit's meters factor, toFactor = target unit's meters factor

How to Use This Calculator

  1. Enter the value you want to convert.
  2. Type in the From field to search for your source unit and select it from the dropdown.
  3. Type in the To field to search for your target unit and select it.
  4. Click Convert (or press Enter) to see the result.
  5. Use the swap button between the dropdowns to quickly reverse the conversion direction.

Frequently Asked Questions

How many kilometers are in a mile?

One mile equals approximately 1.60934 kilometers. To convert miles to kilometers, multiply the number of miles by 1.60934.

How many inches are in a foot?

One foot equals exactly 12 inches. To convert feet to inches, multiply by 12. To convert inches to feet, divide by 12.

How many feet are in a meter?

One meter equals approximately 3.28084 feet. To convert meters to feet, multiply by 3.28084. To convert feet to meters, multiply by 0.3048. For area or volume conversions, see the area converter or volume converter.

How many centimeters are in an inch?

One inch equals exactly 2.54 centimeters. This is an exact definition, not an approximation. To convert inches to centimeters, multiply by 2.54.

What is a nautical mile?

A nautical mile equals 1,852 meters (approximately 1.15078 statute miles or 6,076 feet). It is used in maritime and air navigation because one nautical mile corresponds to one minute of latitude.

How do I convert speed between kilometers per hour and miles per hour?

Divide km/h by 1.60934 to get mph. Multiply mph by 1.60934 to get km/h. It's the same length factor applied to the numerator β€” speed is a length unit per unit time, so the length conversion carries straight through.

What are the metric prefixes for length?

SI prefixes scale by powers of ten: millimeter (mm, 10⁻³ m), centimeter (cm, 10⁻² m), meter (m, base), kilometer (km, 10³ m). For area and volume, the same prefixes apply but the conversion factors are squared or cubed. Use the area converter or volume converter for those.

What is the difference between a US survey foot and an international foot?

The international foot (used everywhere since 1959) is exactly 0.3048 m. The US survey foot is 1200/3937 m β‰ˆ 0.30480061 m β€” about 2 parts per million longer. The difference is negligible for most purposes but matters in land surveying over long distances.

Can I share my conversion?

Yes. After clicking Convert, the URL updates with your input values. Copy and share the URL to let anyone else see the same pre-filled converter and result.

Further Reading

Related Calculators