← All tool references

Construction · not_available

Rebar Calculator

Estimate rebar grid runs, total length, stock bars, and approximate weight for a rectangular slab.

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

slab_length · number · required
Enter the slab length used in the calculation.
slab_width · number · required
Enter the slab width used in the calculation.
spacing · number · required
Enter the on-center spacing used in the calculation.
edge_cover · number · required
Enter the edge cover used in the calculation.
bar_size · string · required
Choose the rebar size that matches the calculation. Accepted values: #3, #4, #5, #6.
stock_length · number · required
Enter the stock bar length used in the calculation.
overlap_waste_percent · number · required
Enter the lap and waste allowance used in the calculation.
{
    "type": "object",
    "properties": {
        "slab_length": {
            "type": "number",
            "description": "Enter the slab length used in the calculation.",
            "minimum": 0
        },
        "slab_width": {
            "type": "number",
            "description": "Enter the slab width used in the calculation.",
            "minimum": 0
        },
        "spacing": {
            "type": "number",
            "description": "Enter the on-center spacing used in the calculation.",
            "minimum": 1
        },
        "edge_cover": {
            "type": "number",
            "description": "Enter the edge cover used in the calculation.",
            "minimum": 0
        },
        "bar_size": {
            "type": "string",
            "description": "Choose the rebar size that matches the calculation.",
            "enum": [
                "#3",
                "#4",
                "#5",
                "#6"
            ]
        },
        "stock_length": {
            "type": "number",
            "description": "Enter the stock bar length used in the calculation.",
            "minimum": 1
        },
        "overlap_waste_percent": {
            "type": "number",
            "description": "Enter the lap and waste allowance used in the calculation."
        }
    },
    "required": [
        "slab_length",
        "slab_width",
        "spacing",
        "edge_cover",
        "bar_size",
        "stock_length",
        "overlap_waste_percent"
    ],
    "additionalProperties": false
}

Output schema

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

bars_lengthwise · number
Bars running lengthwise produced by the calculation.
bars_widthwise · number
Bars running widthwise produced by the calculation.
total_rebar_feet · number
Total rebar length produced by the calculation.
stock_bars_needed · number
Stock bars needed produced by the calculation.
estimated_weight_lb · number
Estimated rebar weight produced by the calculation.
{
    "type": "object",
    "properties": {
        "bars_lengthwise": {
            "type": "number",
            "description": "Bars running lengthwise produced by the calculation."
        },
        "bars_widthwise": {
            "type": "number",
            "description": "Bars running widthwise produced by the calculation."
        },
        "total_rebar_feet": {
            "type": "number",
            "description": "Total rebar length produced by the calculation."
        },
        "stock_bars_needed": {
            "type": "number",
            "description": "Stock bars needed produced by the calculation."
        },
        "estimated_weight_lb": {
            "type": "number",
            "description": "Estimated rebar weight produced by the calculation."
        }
    },
    "additionalProperties": false
}

Rebar 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/rebar-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "slab_length": 30,
    "slab_width": 20,
    "spacing": 18,
    "edge_cover": 3,
    "bar_size": "#4",
    "stock_length": 20,
    "overlap_waste_percent": 15
}'
{
    "ok": true,
    "data": {
        "slug": "rebar-calculator",
        "result": {
            "values": {
                "bars_lengthwise": 14,
                "bars_widthwise": 20,
                "total_rebar_feet": 923.450000000000045474735088646411895751953125,
                "stock_bars_needed": 47,
                "estimated_weight_lb": 616.8600000000000136424205265939235687255859375
            },
            "display": {
                "display": "14"
            },
            "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.