Mile Conversion Calculator
Convert international miles or nautical miles into common metric, imperial, and scientific distance units.
Distance input
Example workbook validated and ready.
Converted distance
Conversion table
| Unit | Symbol | Converted value |
|---|---|---|
| Kilometers | km | 42.1648128 |
| Meters | m | 42,164.8128 |
| Centimeters | cm | 4,216,481.28 |
| Yards | yd | 46,112 |
| Feet | ft | 138,336 |
| Inches | in | 1,660,032 |
| Nautical miles | nmi | 22.7667387 |
| Astronomical units | au | 2.81854e-7 |
| Light-years | ly | 4.45664e-12 |
Values are calculated from the exact international mile definition of 1,609.344 meters or the exact nautical mile definition of 1,852 meters. Displayed digits are rounded only for readability.
How to use the Mile Conversion Calculator
What this calculator does. This tool converts one distance expressed in either international miles or nautical miles into kilometers, meters, centimeters, yards, feet, inches, nautical miles, astronomical units, and light-years. It is useful for road-distance comparisons, race planning, mapping, aviation or marine distance checks, and science-oriented scale comparisons. It performs unit identities only; it does not estimate travel time, fuel use, route geometry, or measurement uncertainty.
When to use it. Use the calculator when translating a road sign or running distance into metric units, checking how many feet or yards are in a land distance, converting a marine or aviation distance stated in nautical miles, or expressing a very large or very small comparison in astronomical units or light-years.
How to calculate. The calculator opens with a ready-to-use demonstration of 26.2 international miles, so the first results and Excel workbook are available immediately.
- Replace Distance with the non-negative value you need. Enter ordinary decimal notation, such as 5, 26.2, or 1000.5. A period is the decimal separator; commas and scientific notation are intentionally rejected to prevent ambiguous input.
- Choose International mile for ordinary land miles or Nautical mile for marine and aviation distances. The calculator converts the current number immediately when you change this selector.
- Read Kilometers as the primary metric result. The result cards and Conversion table show the same canonical distance in the other supported units.
- Select Download Excel to create a validated workbook containing the current input, definitions, outputs, and conversion factors. Select Reset to clear the demonstration data. Reset may disable Excel export until a complete valid distance is entered again.
Input guide. Distance is required and must be a finite number from 0 through 1e150. Zero is valid and means zero length in every output. Higher values increase every conversion in direct proportion. A common mistake is pasting a grouped number such as “1,000” or a unit suffix such as “10 mi”; enter only the numeric value. Source mile type is required. International mile uses exactly 1,609.344 meters; nautical mile uses exactly 1,852 meters. A nautical mile is longer, so the same numeric input produces larger metric and imperial results.
Output guide. Kilometers, Meters, and Centimeters are metric conversions. Yards, Feet, and Inches are imperial/US customary conversions. Nautical miles expresses the same length using the fixed 1,852-meter marine unit. Astronomical units compare the distance with the mean Earth – Sun scale, while Light-years compare it with the distance light travels in a Julian year. Every result is an exact conversion identity based on fixed factors, followed by display rounding; a high or low output reflects only the selected unit scale, not a recommendation or judgment.
Worked example. The startup value is 26.2 international miles. Multiplying 26.2 by the exact factor 1.609344 gives 42.1648128 kilometers. The same distance is 42,164.8128 meters, 46,112 yards, 138,336 feet, and 22.7667387 nautical miles after display rounding. These values match the first-open result cards, table, and workbook.
Learn more. The exact international-mile relationship is documented in the NIST Guide to the SI conversion-factor appendix. For the broader metric framework, see the BIPM overview of the International System of Units.
How the conversion model works
The calculation first converts the selected source unit into meters. For an international mile, the meter value is distance × 1,609.344. For a nautical mile, it is distance × 1,852. Every other output is derived from that single canonical meter value. This avoids inconsistent chains where one rounded output is used to calculate another.
Imperial results use the exact international definitions: one foot is 0.3048 meter, one yard is 0.9144 meter, and one inch is 0.0254 meter. The astronomical-unit result uses 149,597,870,700 meters per au, and the light-year result uses 9,460,730,472,580,800 meters per light-year. NIST also provides a practical U.S. customary-to-metric conversion guide for everyday estimation.
Precision, rounding, and mile types
The international mile and nautical mile are different units. Ordinary road distances in the United States and United Kingdom typically use the international mile. Nautical miles are designed around navigation and are used in marine and aviation contexts. The old U.S. survey mile was slightly longer than the international mile; modern general-purpose conversion should use the international mile unless a historical survey dataset explicitly states otherwise. NIST explains the distinction in its revised survey-unit conversion factors.
The calculator keeps full JavaScript numeric precision in its canonical model and applies readable formatting only when displaying results. Very small scientific-scale values use exponential notation. The downloadable workbook stores numeric values, not preformatted text, so spreadsheet software can apply further calculations without parsing labels or unit symbols.