Conversion Utilities

Hours To Minutes

Simple time conversion utility that transforms hour values into minutes using precise multiplication by 60. Access via MCP in Cursor or Claude Code for instant calculations, or call GET /v1/convert/time/hours-to-minutes with your hour value. Handles decimals and fractions — 2.5 hours becomes exactly 150 minutes without rounding errors.

API Endpoint

GET /v1/convert/time/hours-to-minutes

Code Examples

curl "https://tinyfn.io/v1/convert/time/hours-to-minutes" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/time/hours-to-minutes', {
  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/time/hours-to-minutes',
    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 hours to minutes using the MCP tool?

Pass the hour value as a parameter to the MCP function. It multiplies by 60 and returns the exact minute equivalent — 3.25 hours becomes 195 minutes.

Does the hours to minutes converter handle decimal hours?

Yes, it processes decimal and fractional hours precisely. 0.5 hours returns 30 minutes, 1.75 hours returns 105 minutes with no precision loss.

What's the REST API format for converting hours to minutes?

GET /v1/convert/time/hours-to-minutes?hours=VALUE where VALUE is your hour amount. Returns JSON with the minute conversion result.

Can I convert negative hour values to minutes?

The tool processes negative values mathematically — negative 2 hours becomes negative 120 minutes, useful for time difference calculations.

Why use a deterministic converter instead of manual calculation?

Eliminates floating-point errors in AI agent workflows and provides consistent results across different programming environments and calculations.

Try Hours To Minutes Now

Get your free API key and start using Hours To Minutes in seconds.

Get Free API Key