Conversion Utilities

Kelvin To Celsius

Converts Kelvin temperatures to Celsius using the precise formula C = K - 273.15. Access via MCP in Cursor or Windsurf for instant temperature calculations, or call GET /v1/convert/temperature/k-to-c with your Kelvin value. Returns exact decimal results — 300K becomes 26.85°C. Essential for scientific computing where precision matters.

API Endpoint

GET /v1/convert/temperature/k-to-c

Code Examples

curl "https://tinyfn.io/v1/convert/temperature/k-to-c" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/temperature/k-to-c', {
  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/temperature/k-to-c',
    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 Kelvin to Celsius in my AI coding assistant?

Use the MCP tool in Cursor, Windsurf, or other supported editors — just ask to convert a Kelvin temperature and the AI will call the function automatically.

What's the REST API endpoint for Kelvin to Celsius conversion?

GET /v1/convert/temperature/k-to-c with the Kelvin value as a parameter. Returns JSON with the Celsius result.

Does this handle absolute zero and negative Kelvin values correctly?

Yes, 0K converts to -273.15°C as expected. Negative Kelvin inputs are processed mathematically but represent non-physical temperatures.

How precise are the Kelvin to Celsius conversion results?

Uses the exact formula K - 273.15 with full floating-point precision — no rounding errors from approximations or lookup tables.

Can I batch convert multiple Kelvin temperatures at once?

Each API call converts one temperature. For batch operations, make multiple calls or use the MCP tool in a loop within your AI assistant.

Try Kelvin To Celsius Now

Get your free API key and start using Kelvin To Celsius in seconds.

Get Free API Key