Back to calculator
Construction & DIYGenerated accuracy model review: 2026-05-06

Gravel & Mulch accuracy and testing

This page documents how Calwarden builds trust for this calculator: source notes, regression-style default tests, limitations, assumptions, unit handling, rounding, and visible change history.

Formula source

  • 1. **Volume (Cubic Feet)** = Length (ft) × Width (ft) × (Depth (in) / 12). 2. **Cubic Yards** = Cubic Feet / 27. 3. **Weight (Tons)** = Cubic Yards × Density Factor (e.g., Gravel is ~1.4 tons/yd, Mulch is ~0.3 tons/yd).

Test cases

Default input regression check

Generated from the checked-in default inputs and calculate function.

Inputs

  • Length: 20 ft
  • Width: 10 ft
  • Depth: 3 in
  • Material: Gravel / Crushed Stone (1.4 ton/yd)

Expected outputs

  • Cubic Yards: 1.85 yd³
  • Est. Weight: 2.59 Tons
  • 2ft³ Bags: 25

Known limitations

  • This page documents the checked-in calculator logic and does not certify results for every real-world edge case.
  • Use the result as a planning estimate unless the calculator page states a stricter purpose.

Assumptions

  • Length and width are measured in feet, while depth is measured in inches.
  • All dimensions must be positive and the selected density preset is used as a planning estimate.
  • Bag counts assume standard 2 cubic foot bags and do not include compaction losses.

Unit handling

  • Length accepts values in ft.
  • Width accepts values in ft.
  • Depth accepts values in in.
  • Material accepts one of the configured options.
  • Cubic Yards is displayed in yd³.
  • Est. Weight is displayed in Tons.

Rounding rules

  • Number displays use up to 2 decimal places in the calculator UI.

Version history

1.0.0 - 2026-05-06

Generated accuracy and testing page from the current gravel-calculator calculator definition.

Change log

2026-05-06

Published default regression test documentation and metadata fallbacks for Gravel & Mulch.

Calculator transparency

Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.

Use calculator