- Mode
- Unit to unit
- Length
- 1
- From
- Inches (in)
- To
- Centimeters (cm)
- Feet
- 5
- Inches
- 9
Result Converted length: 2.54 cm
In meters: 0.0254 m
Conversion factor: 1 in = 2.54 cm
- 1 in = 0.0254 m
- 0.0254 m = 2.54 cm
Tape measures, TV screens and US drawings use inches, while forms abroad often ask for centimeters. One inch is exactly 2.54 centimeters, so a whole number of inches never needs more than two decimals.
Result Converted length: 2.54 cm
In meters: 0.0254 m
Conversion factor: 1 in = 2.54 cm
Choose Unit to unit for any two length units, or Feet and inches for a height.
Type the value and choose the From and To units, or type the feet and the inches.
The converted length, its value in meters and the conversion factor update as you type.
result = value × (size of From unit in meters ÷ size of To unit in meters)
valuesize in metersEvery unit is stored by its exact size in meters, taken from NIST tables. The converter multiplies your value by the From size to get meters, then divides by the To size. In Feet and inches mode it multiplies the feet by 12, adds the inches and multiplies the total by 2.54, because one inch is exactly 2.54 centimeters. Results show up to ten significant digits.
The same calculation is a free JSON API. No key needed. The answer is in result.stats.primary.
curl -X POST https://api.tools-directory.workers.dev/v1/tools/length-converter \
-H 'Content-Type: application/json' \
-d '{"inputs":{"value":1,"from":"in","to":"cm"}}'
Inputs and outputs (JSON) Connect an AI agent (MCP) API docs