← All tool references

Construction · execute

Concrete Calculator

Estimate concrete volume in cubic yards and cubic meters for a slab, including an allowance for waste.

Open public tool

Overview

Category
Construction
API mode
execute
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-calculator

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/concrete-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.

length · number · required
Enter the measured length in the unit shown; use the finished dimension rather than a nominal size.
width · number · required
Enter the measured width in the unit shown, using the same measurement basis as length.
thickness · number · required
Enter the planned slab thickness in inches.
waste_percent · number · required
Enter the extra material percentage to allow for cuts, spills, and offcuts.
{
    "type": "object",
    "properties": {
        "length": {
            "type": "number",
            "description": "Enter the measured length in the unit shown; use the finished dimension rather than a nominal size."
        },
        "width": {
            "type": "number",
            "description": "Enter the measured width in the unit shown, using the same measurement basis as length."
        },
        "thickness": {
            "type": "number",
            "description": "Enter the planned slab thickness in inches."
        },
        "waste_percent": {
            "type": "number",
            "description": "Enter the extra material percentage to allow for cuts, spills, and offcuts."
        }
    },
    "required": [
        "length",
        "width",
        "thickness",
        "waste_percent"
    ],
    "additionalProperties": false
}

Output schema

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

cubic_yards · number
Volume including waste.
cubic_feet · number
Browser-calculated cubic feet.
ready_mix_bags_80_lb · number
Browser-calculated ready mix bags 80 lb.
{
    "type": "object",
    "properties": {
        "cubic_yards": {
            "type": "number",
            "description": "Volume including waste."
        },
        "cubic_feet": {
            "type": "number",
            "description": "Browser-calculated cubic feet."
        },
        "ready_mix_bags_80_lb": {
            "type": "number",
            "description": "Browser-calculated ready mix bags 80 lb."
        }
    },
    "additionalProperties": false
}

Concrete Calculator: 10x10 slab

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-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "length": 10,
    "width": 10,
    "thickness": 4,
    "waste_percent": 10
}'
{
    "ok": true,
    "data": {
        "slug": "concrete-calculator",
        "result": {
            "values": {
                "cubic_yards": 1.358000000000000095923269327613525092601776123046875,
                "cubic_meters": 1.0380000000000000337507799486047588288784027099609375
            },
            "display": {
                "display": "1.358"
            },
            "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.