Length Converter

Length Converter is evaluated from Value and From Unit. The calculation reports Miles, Kilometers and Meters.

Results

Thanks — we’ve logged this for review.

About the Length Converter

Length Converter is treated here as a quantitative relation between Value and From Unit and Miles, Kilometers, Meters and Feet.

The calculator uses a multi formula configuration. Each reported value is read as a direct evaluation of the stored rules with the declared field formats and units.

Formula basis:
Base (m) = value x (meters per from_unit)
Output = Base / (meters per to_unit)
1 mile = 1,609.344 m exactly (US Survey definition)
1 foot = 0.3048 m exactly (international foot, since 1959)
1 inch = 2.54 cm exactly

Interpret the outputs in the order shown by the result fields. Optional inputs affect only the outputs that depend on those variables.

Formula & How It Works

The calculation applies the following relations exactly as recorded in the metadata:

Base (m) = value x (meters per from_unit)
Output = Base / (meters per to_unit)
1 mile = 1,609.344 m exactly (US Survey definition)
1 foot = 0.3048 m exactly (international foot, since 1959)
1 inch = 2.54 cm exactly

Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.

Worked Examples

Example 1: Marathon Distance

Inputs

value: 26.2188 from_unit: miles
Miles: 26.2188 mi. Kilometers: 42.195068 km. Meters: 42,195.0685 m. Feet: 138,435.264 ft. Inches: 1,661,223.168 in. Centimeters: 4,219,506.8467 cm. Yards: 46,145.088 yd. Millimeters: 42,195,068.47 mm

With Value = 26.2188 and From Unit = miles as the stated inputs, the result is Miles = 26.2188 mi, Kilometers = 42.195068 km and Meters = 42,195.0685 m. Each value corresponds to the declared output fields.

Example 2: NBA Basketball Court

Inputs

value: 94 from_unit: feet
Miles: 0.017803 mi. Kilometers: 0.028651 km. Meters: 28.6512 m. Feet: 94 ft. Inches: 1,128 in. Centimeters: 2,865.12 cm. Yards: 31.3333 yd. Millimeters: 28,651.2 mm

With Value = 94 and From Unit = feet as the stated inputs, the result is Miles = 0.017803 mi, Kilometers = 0.028651 km and Meters = 28.6512 m. Each value corresponds to the declared output fields.

Example 3: Driving Distance: NYC to LA

Inputs

value: 2791 from_unit: miles
Miles: 2,791 mi. Kilometers: 4,491.679104 km. Meters: 4,491,679.104 m. Feet: 14,736,480 ft. Inches: 176,837,760 in. Centimeters: 449,167,910.4 cm. Yards: 4,912,160 yd. Millimeters: 4,491,679,104 mm

With Value = 2,791 and From Unit = miles as the stated inputs, the result is Miles = 2,791 mi, Kilometers = 4,491.679104 km and Meters = 4,491,679.104 m. Each value corresponds to the declared output fields.

Example 4: Standard Door Height

Inputs

value: 80 from_unit: inches
Miles: 0.001263 mi. Kilometers: 0.002032 km. Meters: 2.032 m. Feet: 6.6667 ft. Inches: 80 in. Centimeters: 203.2 cm. Yards: 2.2222 yd. Millimeters: 2,032 mm

With Value = 80 and From Unit = inches as the stated inputs, the result is Miles = 0.001263 mi, Kilometers = 0.002032 km and Meters = 2.032 m. Each value corresponds to the declared output fields.

Common Use Cases

  • Convert miles to km for road trips
  • Convert feet to meters for home measurements
  • Convert inches to centimeters for clothing sizes