Convert centimeters to inches with mathematical precision using the standard conversion factor (1 cm = 0.393701 inches). Access via MCP in Cursor or Windsurf for AI-driven measurements, or call GET /v1/convert/length/cm-to-in directly. Returns exact decimal values — 25.4 cm becomes 10.0 inches. No rounding errors or approximations.
curl "https://tinyfn.io/v1/convert/length/cm-to-in" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/length/cm-to-in', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/convert/length/cm-to-in',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's conversion tools:
{
"mcpServers": {
"tinyfn-conversion": {
"url": "https://tinyfn.io/mcp/conversion",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Call the cm-to-in tool with your centimeter value. The AI agent will get the precise conversion using the exact factor 0.393701 inches per centimeter.
This uses the precise conversion factor 0.393701, not rounded approximations. Critical for engineering calculations where accuracy matters.
Yes, negative values work fine — useful for relative measurements or coordinate systems where negative distances are meaningful.
Returns JSON with the exact decimal result. No artificial rounding — you get the mathematically precise conversion every time.
AI models often use approximated conversion factors or make calculation errors. This tool guarantees deterministic, mathematically correct results.
Get your free API key and start using Centimeters To Inches in seconds.
Get Free API Key