How the gravel calculator works

This page lists everything the calculators assume, so you can check a result by hand or explain it to a supplier.

Area of each shape

Volume and the extra allowance

Each area's volume is its surface area × its depth. The volumes are added to give the measured total. Compaction and waste are both percentages of that measured total and are added together: 10% compaction and 5% waste means measured total × 1.15. They are not compounded.

Weight

Weight = volume × density. You can type your supplier's density, or pick a material to fill in a typical value. Each material has a typical range of loose density (for example pea gravel 95-110 lb/ft³, crusher run 105-130 lb/ft³, topsoil 70-100 lb/ft³). These are approximate ranges of the kind found in supplier conversion charts, not measurements, so when a material is picked the result shows tons as a range across it. Your supplier's figure for the exact product is always more accurate.

Unit definitions

These are the definitions published by the US National Institute of Standards and Technology (NIST).

Rounding

Bags, trips and loads

French drains

Gravel = trench length × width × gravel depth, minus the pipe: π × (pipe diameter ÷ 2)² × length. The pipe is assumed to run the full length of the trench and sit entirely inside the gravel.

Coverage

Area covered = volume ÷ depth. Depth reached = volume ÷ area. When the amount is given as a weight, it is first turned into volume using the density you enter.

Testing

The calculation code has automated tests for every shape, the allowance math, unit round trips, coverage in both directions, bag and load counts, the French drain pipe subtraction and the floating-point rounding case above. The tests run before every change is published.

Last updated: