Length Converter

Runs locally in your browser. Nothing leaves your device.

Enter one length and instantly convert it to metres, inches, feet, miles, nautical miles, and astronomical units.

Use a comma or period as the decimal separator; do not use thousands separators.

All units

Metric & scientific

Picometre (pm)
1e12
Ångström (Å)
10,000,000,000
Nanometre (nm)
1,000,000,000
Micrometre (µm)
1,000,000
Millimetre (mm)
1,000
Centimetre (cm)
100
Decimetre (dm)
10
Metre (m)
From
1
Kilometre (km)
0.001

Imperial & navigation

Mil / Thou (mil)
39,370.0787402
Inch (in)
39.3700787402
Foot (international) (ft)
To
3.28083989501
Yard (international) (yd)
1.09361329834
Mile (international) (mi)
0.000621371192237
Nautical mile (international) (nmi)
0.000539956803456

Astronomy

Astronomical unit (au)
6.68458712227e-12
Light-year (ly)
1.05700083402e-16
Parsec (pc)
3.24077928944e-17

How it works

  1. 1

    Enter value and source unit

    Enter the length value and choose the source unit via search or group list.

  2. 2

    Choose the target unit

    Choose the target unit from one of the three groups or from recently used units.

  3. 3

    Copy the result or swap units

    Copy a single result or all results at once, or swap the source and target unit for the next conversion.

Good to know

The length converter converts directly in your browser between three unit groups: Metric & scientific, Imperial & navigation, and Astronomy. A unit search and a list of recently used units help you find the right unit quickly even with many options.

Calculation runs locally in the browser. Astronomical units such as light-year or astronomical unit are meant for orders of magnitude, not for survey-grade precision.

Typical use cases

Everyday conversions

Convert meters to feet, centimeters to inches, or kilometers to miles, for example for travel, furniture dimensions, recipes, or product specs.

Navigation and nautical distances

Use the Imperial & navigation group for nautical-mile-based distances when you need to convert nautical or aviation figures into metric units.

Put astronomical scales into perspective

Convert light-years, astronomical units, or parsecs into kilometers to make distances from astronomy texts or science articles tangible.

Tips for better results

Pick the right group instead of similarly named units

Metric & scientific, imperial & navigation, and astronomy are grouped separately so you don't accidentally pick a similarly named but wrong unit from another group.

Use unit search when there are many options

Type the unit name into the search instead of scrolling a long list; recently used units are also suggested separately.

Features

  • Three grouped unit categories

    Metric & scientific, imperial & navigation, and astronomy are cleanly separated.

  • Local conversion

    Calculation happens directly in the browser, without transmission to a server.

  • Search, recent units, and notation

    Find units via search or from the list of recently used units, and choose decimal or scientific notation with adjustable precision.

Frequently asked questions

What unit groups are available?

Metric & scientific, imperial & navigation, and astronomy.

How accurate are astronomical units like light-year?

They are meant for orders of magnitude and comparisons, not for survey-grade binding precision.

Are my inputs uploaded?

No. Conversion runs entirely locally in the browser.

Looking for another tool?

Every tool runs locally in your browser – no sign-up, no upload, and it works offline.