Conversion Utilities

Kph To Mph

Converts kilometers per hour to miles per hour with mathematical precision. Use via MCP in Cursor or Windsurf, or call GET /v1/convert/speed/kph-to-mph?kph=100. Returns exactly 62.137119 mph for 100 kph. Essential for international speed limit comparisons, vehicle specs, and weather data processing where accuracy matters more than rounded approximations.

API Endpoint

GET /v1/convert/speed/kph-to-mph

Code Examples

curl "https://tinyfn.io/v1/convert/speed/kph-to-mph" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/speed/kph-to-mph', {
  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/speed/kph-to-mph',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

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"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I convert kph to mph in MCP-enabled editors?

Call the kph-to-mph tool with your speed value. In Cursor or Claude Code, the MCP integration handles the conversion automatically with full precision.

What's the exact conversion factor from kph to mph?

The tool uses the precise factor: 1 kilometer per hour = 0.62137119223733 miles per hour, not the rounded 0.621 approximation.

Can I convert multiple speed values at once?

No, this tool converts one kph value per request. For batch conversions, make multiple API calls or use the MCP tool iteratively.

Why use this instead of manual calculation for kph to mph?

Eliminates rounding errors and provides consistent precision across applications. Especially useful when AI agents need exact speed conversions for data analysis.

What happens if I pass negative or zero speed values?

The tool converts any numeric input, including zero and negative values. -50 kph returns -31.068559 mph mathematically.

Try Kph To Mph Now

Get your free API key and start using Kph To Mph in seconds.

Get Free API Key