# KM to Miles

Convert kilometers to miles with configurable decimal precision

> Canonical page: https://elysiatools.com/en/tools/km-to-miles

- **Category:** Math & Numbers

- **Keywords:** kilometers, miles, distance, conversion, km, mile

## Overview

Convert kilometers to miles instantly with adjustable decimal precision. Ideal for runners, travelers, and logistics planning, this tool delivers accurate distance conversions in JSON format for easy integration into spreadsheets, apps, or training logs.

## Inputs

- **Kilometers** (text): e.g. 5
- **Decimal Precision** (number)

## When to use

- Planning running routes or races when distances are marked in kilometers but you track progress in miles
- Converting vehicle fuel efficiency or odometer readings between metric and imperial measurement systems
- Translating international travel distances for itinerary planning, navigation apps, or mapping tools

## How it works

- Enter the distance in kilometers into the input field
- Set your preferred decimal precision from 0 to 10 places (default is 4)
- Receive an instant JSON output containing both the original kilometer value and the converted mile value

## Use cases

- Marathon and 5K race planning for international events with mixed measurement systems
- Automotive fuel economy calculations across different regional measurement standards
- Hiking and cycling route mapping for cross-border trails and navigation

## Frequently asked questions

### What is the conversion formula used?

The tool uses the standard conversion factor where 1 kilometer equals approximately 0.621371 miles.

### Can I convert miles back to kilometers?

This tool converts km to miles only. For reverse conversion, use a dedicated miles to kilometers converter.

### What is the maximum decimal precision available?

You can configure precision from 0 to 10 decimal places, with 4 being the default setting.

### Is the output format compatible with spreadsheets?

Yes, the JSON output can be easily parsed into Excel, Google Sheets, or integrated into applications via API.

### Does the tool support batch conversions?

No, this tool processes single conversions. For multiple values, run separate conversions or use the API programmatically.

## Related tools

- [Acre to Hectare](https://elysiatools.com/en/tools/acre-to-hectare): Convert acres to hectares with configurable decimal precision
- [Acre to Square Feet](https://elysiatools.com/en/tools/acre-to-square-feet): Convert acres to square feet with configurable decimal precision
- [Acre to Square Meter](https://elysiatools.com/en/tools/acre-to-square-meter): Convert acres to square meters with configurable decimal precision
- [Arcminutes to Degrees](https://elysiatools.com/en/tools/arcminutes-to-degrees): Convert arcminutes to degrees with configurable decimal precision
- [Arcseconds to Degrees](https://elysiatools.com/en/tools/arcseconds-to-degrees): Convert arcseconds to degrees with configurable decimal precision
- [ATM to KPa](https://elysiatools.com/en/tools/atm-to-kpa): Convert standard atmospheres to kilopascals with configurable decimal precision
- [Bar to KPa](https://elysiatools.com/en/tools/bar-to-kpa): Convert bar to kilopascals with configurable decimal precision
- [Bar to PSI](https://elysiatools.com/en/tools/bar-to-psi): Convert bar to pounds per square inch with configurable decimal precision

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Math & Numbers Convert Tools](https://elysiatools.com/en/hubs/math-&-numbers-convert): Explore 45 math tools for &-numbers-convert workflows and compare closely related utilities quickly.
- [Audio Encoding and Format Conversion Tools](https://elysiatools.com/en/hubs/audio-convert): Compare audio format conversion, bitrate changes, sample-rate conversion, codec swaps, and export tools in one hub for delivery and archive workflows.
- [Image Format Conversion and Animated Export Tools](https://elysiatools.com/en/hubs/image-convert): Compare image format converters for JPG, PNG, GIF, AVIF, WebP, TIFF, ICO, base64, and animation-friendly exports in one hub.
- [JSON Interchange and Format Translation Tools](https://elysiatools.com/en/hubs/json-convert): Compare JSON conversion tools for CSV, YAML, TOML, GraphQL, XML, Markdown, Excel, BSON, EDN, and related structured formats in one hub.
