← All tool references

Engineering · not_available

Torque Calculator

Calculate torque from force, lever arm, and angle.

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/torque-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/torque-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.

force · number · required
Enter applied force for this calculation.
lever_arm · number · required
Enter lever arm length for this calculation.
angle · number · required
Enter angle between force and arm for this calculation.
{
    "type": "object",
    "properties": {
        "force": {
            "type": "number",
            "description": "Enter applied force for this calculation."
        },
        "lever_arm": {
            "type": "number",
            "description": "Enter lever arm length for this calculation.",
            "minimum": 0
        },
        "angle": {
            "type": "number",
            "description": "Enter angle between force and arm for this calculation."
        }
    },
    "required": [
        "force",
        "lever_arm",
        "angle"
    ],
    "additionalProperties": false
}

Output schema

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

torque_nm · number
Torque calculated by the tool.
torque_lb_ft · number
Torque calculated by the tool.
effective_force · number
Perpendicular force calculated by the tool.
{
    "type": "object",
    "properties": {
        "torque_nm": {
            "type": "number",
            "description": "Torque calculated by the tool."
        },
        "torque_lb_ft": {
            "type": "number",
            "description": "Torque calculated by the tool."
        },
        "effective_force": {
            "type": "number",
            "description": "Perpendicular force calculated by the tool."
        }
    },
    "additionalProperties": false
}

Torque Calculator worked 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/torque-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "force": 100,
    "lever_arm": 0.5,
    "angle": 90
}'
{
    "ok": true,
    "data": {
        "slug": "torque-calculator",
        "result": {
            "values": {
                "torque_nm": 50,
                "torque_lb_ft": 36.87810699999999997089616954326629638671875,
                "effective_force": 100
            },
            "display": {
                "display": "50"
            },
            "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.