Topsoil Cubic Yard and Bag Calculator
topsoilCalculate soil volume in cubic yards or cubic meters and bags for garden beds, lawns, and leveling, including waste allowance and bagged-vs-bulk cost comparisons.
Instructions
Calculate topsoil in cubic yards (m³ in metric) and bags for a garden or lawn area. area is the surface area, depth the layer thickness, waste adds a settlement allowance, bag_volume converts to bags and bulk_step rounds a bulk order. Optional bag_price, bulk_price and delivery compare bagged with bulk. Use for raised beds, top-dressing and leveling. For mulch use mulch; for gravel use gravel; for sod laid on top use sod_rolls. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default; units is "us" (default) or "metric". Returns headline (amount to buy), summary lines, numbered worked steps, inputs_used and calculator_url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "topsoil"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Garden or soil-layer area. Unit: ft² (US) / m² (metric). Default (US units): 200. | |
| depth | No | Planned layer depth. Unit: in (US) / cm (metric). Default (US units): 6. | |
| units | No | Unit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen. | us |
| waste | No | Extra for handling or settlement. Unit: % (US) / % (metric). Default (US units): 10. | |
| delivery | No | Bulk delivery charge (USD). Optional, leave out to skip. | |
| bag_price | No | Price per bag (USD). Optional, leave out to skip. | |
| bulk_step | No | Bulk sold in steps of. Unit: ft³ (US) / m³ (metric). Default (US units): 13.5. | |
| bag_volume | No | Volume per bag. Unit: ft³ (US) / m³ (metric). Default (US units): 1.5. | |
| bulk_price | No | Bulk quote (USD per yd³; per m³ in metric). Optional, leave out to skip. |