← All tool references

Engineering · not_available

Tire Size Calculator

Compare two tire sizes for diameter, circumference, revolutions, and speedometer difference.

Open public tool

Overview

Category
Engineering
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/tire-size-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/tire-size-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

current_tire · string · required
Enter the current tire size used by this tool.
new_tire · string · required
Enter the new tire size used by this tool.
indicated_speed · number · required
Enter the indicated vehicle speed used by this tool.
{
    "type": "object",
    "properties": {
        "current_tire": {
            "type": "string",
            "description": "Enter the current tire size used by this tool."
        },
        "new_tire": {
            "type": "string",
            "description": "Enter the new tire size used by this tool."
        },
        "indicated_speed": {
            "type": "number",
            "description": "Enter the indicated vehicle speed used by this tool.",
            "minimum": 0
        }
    },
    "required": [
        "current_tire",
        "new_tire",
        "indicated_speed"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

current_diameter · number
Current tire diameter produced by the tool.
new_diameter · number
New tire diameter produced by the tool.
diameter_difference · number
Diameter difference produced by the tool.
actual_speed · number
Actual speed with new tire produced by the tool.
speedometer_error · number
Speedometer error produced by the tool.
comparison · array
Tire comparison produced by the tool.
{
    "type": "object",
    "properties": {
        "current_diameter": {
            "type": "number",
            "description": "Current tire diameter produced by the tool."
        },
        "new_diameter": {
            "type": "number",
            "description": "New tire diameter produced by the tool."
        },
        "diameter_difference": {
            "type": "number",
            "description": "Diameter difference produced by the tool."
        },
        "actual_speed": {
            "type": "number",
            "description": "Actual speed with new tire produced by the tool."
        },
        "speedometer_error": {
            "type": "number",
            "description": "Speedometer error produced by the tool."
        },
        "comparison": {
            "type": "array",
            "description": "Tire comparison produced by the tool."
        }
    },
    "additionalProperties": false
}

Tire Size Calculator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/tire-size-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "current_tire": "205/55R16",
    "new_tire": "225/45R17",
    "indicated_speed": 60
}'
{
    "ok": true,
    "data": {
        "slug": "tire-size-calculator",
        "result": {
            "values": {
                "current_diameter": 24.877953000000001537728167022578418254852294921875,
                "new_diameter": 24.972440999999999888814272708259522914886474609375,
                "diameter_difference": 0.379807000000000005712763595511205494403839111328125,
                "actual_speed": 60.2278840000000030840965337119996547698974609375,
                "speedometer_error": 0.2278840000000000032276403771902550943195819854736328125,
                "comparison": [
                    {
                        "position": "Current",
                        "size": "205/55R16",
                        "diameter_in": 24.8780000000000001136868377216160297393798828125,
                        "circumference_in": 78.1564000000000049794834922067821025848388671875,
                        "revolutions_per_mile": 810.6799999999999499777914024889469146728515625
                    },
                    {
                        "position": "New",
                        "size": "225/45R17",
                        "diameter_in": 24.97240000000000037516656448133289813995361328125,
                        "circumference_in": 78.4531999999999953843143885023891925811767578125,
                        "revolutions_per_mile": 807.6100000000000136424205265939235687255859375
                    }
                ]
            },
            "display": {
                "display": "24.877953"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.