← All tool references

Construction · not_available

Concrete Stairs Calculator

Calculate number of risers from total rise, total run, stair width, target riser height.

Open public tool

Overview

Category
Construction
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/concrete-stairs-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/concrete-stairs-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.

total_rise · number · required
Enter total rise.
total_run · number · required
Enter total run.
stair_width · number · required
Enter stair width.
riser_height · number · required
Enter target riser height.
waist_thickness · number · required
Enter waist thickness.
waste · number · required
Enter waste allowance.
{
    "type": "object",
    "properties": {
        "total_rise": {
            "type": "number",
            "description": "Enter total rise."
        },
        "total_run": {
            "type": "number",
            "description": "Enter total run."
        },
        "stair_width": {
            "type": "number",
            "description": "Enter stair width."
        },
        "riser_height": {
            "type": "number",
            "description": "Enter target riser height."
        },
        "waist_thickness": {
            "type": "number",
            "description": "Enter waist thickness."
        },
        "waste": {
            "type": "number",
            "description": "Enter waste allowance."
        }
    },
    "required": [
        "total_rise",
        "total_run",
        "stair_width",
        "riser_height",
        "waist_thickness",
        "waste"
    ],
    "additionalProperties": false
}

Output schema

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

steps · number
Number of risers produced by the tool.
actual_riser · number
Actual riser height produced by the tool.
concrete_yards · number
Estimated concrete produced by the tool.
geometry · array
Stair geometry produced by the tool.
{
    "type": "object",
    "properties": {
        "steps": {
            "type": "number",
            "description": "Number of risers produced by the tool."
        },
        "actual_riser": {
            "type": "number",
            "description": "Actual riser height produced by the tool."
        },
        "concrete_yards": {
            "type": "number",
            "description": "Estimated concrete produced by the tool."
        },
        "geometry": {
            "type": "array",
            "description": "Stair geometry produced by the tool."
        }
    },
    "additionalProperties": false
}

Concrete Stairs 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/concrete-stairs-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "total_rise": 60,
    "total_run": 96,
    "stair_width": 48,
    "riser_height": 7.5,
    "waist_thickness": 6,
    "waste": 10
}'
{
    "ok": true,
    "data": {
        "slug": "concrete-stairs-calculator",
        "result": {
            "values": {
                "steps": 8,
                "actual_riser": 7.5,
                "concrete_yards": 4.95999999999999996447286321199499070644378662109375,
                "geometry": [
                    {
                        "measure": "Tread depth",
                        "value": 13.71000000000000085265128291212022304534912109375,
                        "unit": "in"
                    },
                    {
                        "measure": "Stair width",
                        "value": 48,
                        "unit": "in"
                    }
                ]
            },
            "display": {
                "display": "8"
            },
            "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.