Methodology: How Our Calculators Work

Last updated

Every calculator on this site shows its work: the breakdown under each result lists every step from your measurements to the final number. This page explains the rules behind those steps in one place: the formulas, the material weights and bag sizes we assume, how waste and rounding work, what the estimates leave out, and how we test them. It ends with a log of changes to the math.

The short version: measure the area, multiply by the depth to get the volume, and add a waste allowance. Weight, bags, and cost all come from that waste-adjusted volume. Rounding to what suppliers sell happens last, and only on the order quantity.

The five steps behind every bulk-material estimate

The gravel, driveway, concrete, mulch, and topsoil calculators share one volume model:

  1. Area. Worked out from the shape you choose, using the formulas below.
  2. Volume. Area × depth, with the depth converted from inches to feet (÷ 12). Cubic feet ÷ 27 = cubic yards.
  3. Waste allowance. Volume × (1 + waste %). This waste-adjusted volume is the amount you actually buy.
  4. Weight, bags, and cost. All three come from the waste-adjusted volume: weight is cubic yards × the material's weight per cubic yard, bags are cubic feet ÷ the bag size (rounded up), and cost is tons × your price per ton (cubic yards × your price per cubic yard for concrete). Cost appears on the gravel calculator, and on the driveway and concrete calculators when you enter an optional price.
  5. Suggested order. The waste-adjusted volume, rounded up to the increment suppliers sell: 0.1 yd³ for bulk material and 0.25 yd³ for ready-mix concrete.

Worked example

Here is the Gravel Calculator's own breakdown for a 20 × 10 ft area of crushed stone (#57), 4 in deep, with 10% waste at $55 per ton. These are the same rows you see under the result on the calculator:

StepResult
Area · Rectangle / Square200 ft²
Volume (200 × 0.33 ft)66.7 ft³
Required (converted to yd³)2.47 yd³
With 10% waste2.72 yd³
Suggested order2.8 yd³
Weight (Crushed Stone (#57), ~2600 lb/yd³, incl. waste)3.53 tons
Bags at 0.5 ft³ each (incl. waste)147 bags
Cost (3.53 tons × $55.00/ton)$194.20

Why weight and cost ignore the rounded order

The suggested order is a purchasing figure, not a measurement. If weight and cost were calculated from it, the tons you pay for wouldn't match the volume and bag count for the same job, and a tiny change in your measurements could make the cost jump by a whole rounding step. Keeping every figure on the same waste-adjusted volume means the numbers always agree with each other. Early versions of the Gravel and Topsoil calculators mixed the two; see the change log below.

Area formulas

The gravel, driveway, concrete, mulch, topsoil, paver, and sod calculators accept five shapes, and the breakdown shows the formula used.

ShapeFormulaWhat you measure
Rectangle or squarelength × widthLength and width
Circleπ × radius², where radius = diameter ÷ 2Diameter at the widest point
Triangle½ × base × heightBase, and the perpendicular height from it
Circular ringπ × (outer radius² − inner radius²)Outer and inner diameters, e.g. a path around a bed
Trapezoid½ × (side A + side B) × widthBoth parallel sides and the distance between them

For an irregular area, split it into these shapes and add the results. On a slope, measure along the ground rather than the level distance, since the material covers the sloped surface.

Material weights and bag sizes

Weight turns a volume into tons, which is how many suppliers price bulk material. These are the exact figures each calculator uses:

MaterialWeight per cubic yardTons per cubic yardBag size
Gravel: Crushed Stone (#57)2,600 lb1.30.5 ft³
Gravel: River Rock2,650 lb1.3250.5 ft³
Gravel: Crushed Limestone2,700 lb1.350.5 ft³
Gravel: Pea Gravel2,800 lb1.40.5 ft³
Gravel: Decomposed Granite2,800 lb1.40.5 ft³
Driveway base and surface stone2,800 lb1.4—
Concrete4,050 lb (150 lb/ft³)2.02580 lb bag makes 0.6 ft³
Topsoil (moist, screened)2,200 lb1.1—
Mulch (shredded bark)500 lb0.252 ft³
  • Driveway stone is listed heavier than #57 because base and surface layers usually contain fines, as in crusher run or #411, which fill the gaps and pack denser.
  • Real weights vary with the stone, its grading, and especially moisture. If your supplier quotes a different weight per yard, scale our tonnage by the ratio: at 2,900 lb per yard instead of 2,600, multiply by 2,900 ÷ 2,600 ≈ 1.12.
  • Concrete uses 150 lb per cubic foot, the usual figure for normal-weight concrete, and bag yields follow manufacturers' published figures.
  • Mulch and topsoil weights swing the most with moisture, so treat them as a guide for hauling rather than an exact figure.

Waste allowances

A waste allowance covers what real projects lose: material that settles and compacts, dips in the ground, spills, and offcuts. Each calculator offers a range, with a default that suits typical jobs.

CalculatorOptionsDefaultWhat it covers
Gravel Calculator5%, 10%, 15%10%Covers uneven sub-grade, spillage, and compaction. 10% works for most driveways.
Concrete Calculator5%, 10%, 15%10%Covers spillage, uneven forms, and over-excavation. 10% works for most slabs.
Mulch Calculator5%, 10%, 15%10%Covers settling, uneven ground, and spillage. 10% works for most garden beds.
Topsoil Calculator5%, 10%, 15%10%Covers settling and uneven grading. 10% works for most beds and lawns.
Paver Calculator5%, 10%, 15%10%Covers cuts, breakage, and edge trimming. 10% works for most simple layouts.
Sod Calculator5%, 10%5%Covers curves, obstacles, and edge trimming. 5% works for most rectangular lawns.
Fence Calculator5%, 10%5%Covers cutting waste and damaged rail pieces. 5% works for most standard runs.
Paint Calculator0%, 10%10%Covers cutting-in, touch-ups, and second-coat overlap. 10% works for most rooms.
Deck Calculator10%, 15%10%Covers angled cuts, staggered seams, and defects. 10% works for most simple decks.
Driveway Calculator5%, 10%, 15%10%Covers compaction, spillage, and uneven sub-grade. 10% works for most driveways.

Go higher on soft or uneven ground, on curved or angled layouts, and with patterns that need many cuts, such as herringbone pavers. Running short usually costs more than ordering a little extra: a second bulk delivery comes with its own fee, and a second batch of pavers or paint may not match the first.

Rounding rules

Rounding always comes last, and it only affects the quantity to order. The unrounded, waste-adjusted figure drives everything else.

WhatRoundedWhy
Bulk orders: gravel, driveway, mulch, topsoilUp to the nearest 0.1 yd³Many suppliers sell partial yards; some sell only half or whole yards, so check
Ready-mix concrete ordersUp to the nearest 0.25 yd³Ready-mix is batched and billed in quarter-yard steps
Bags of gravel, concrete, or mulchUp to a whole bagYou can't buy part of a bag
Pavers, sod, fence rails, deck boardsUp to a whole unitThe waste allowance, not rounding, covers cuts
PaintUp to the nearest quart (0.25 gal)Paint is sold by the quart and the gallon
Fence sectionsUp to a whole sectionThe built fence may run slightly past your measured length

The rounding code also guards against computer arithmetic errors, so an order of exactly 2.2 yd³ stays 2.2 instead of creeping up to 2.3.

Count-based calculators

The paver, sod, fence, paint, and deck calculators count units instead of volume, but follow the same order: measure, add waste, then round up to whole units.

CalculatorHow the count worksAssumptions
PaversArea ÷ the face area of one paver, plus waste, rounded upIgnores the narrow sand joints, so counts lean slightly high; no border course
SodArea plus waste, ÷ 10 ft² per roll or 450 ft² per pallet, rounded upRoll and pallet sizes vary by sod farm
FenceSections = length ÷ post spacing, rounded up; posts = sections + 1; rails = sections × rails per section, plus wastePickets aren't estimated, since their width and spacing vary by style
PaintWall length × height × coats, plus waste, ÷ 350 ft² per gallon, rounded up to a quartDoors and windows aren't subtracted; take off about 20 ft² per door and 15 ft² per window
DeckArea ÷ board width = linear feet, plus waste, in 12 ft boards; joists every 16 in across the width, plus oneIgnores gaps between boards; check framing against span tables

Unit conversions

ConversionMultiply or divide by
Inches of depth to feet÷ 12
Cubic feet to cubic yards÷ 27
Cubic yards to cubic meters× 0.7646
Square yards to square feet× 9
Square feet to square inches× 144
US tons to pounds× 2,000
Pounds to kilograms× 0.4536
Metric tonnes to US tons× 1.1023

Tons are US short tons (2,000 lb). Metric results are shown alongside the imperial ones where a calculator supports them.

What the estimates leave out

  • Excavation. Digging out soil to make room for a base isn't included, and soil takes up more room once it's dug out than it did in the ground.
  • Extra compaction. Very soft ground, or thick base layers compacted hard, can use more material than the largest waste allowance.
  • Uneven depth. The calculators assume a uniform depth. Thickened slab edges, tapered layers, or filling low spots need to be added separately.
  • Supplier specifics. Minimum orders, delivery fees, truck capacity, sales tax, and the exact yield of the bags you buy.
  • Structural requirements. Slab reinforcement and footings, deck framing and spans, and fence post depth depend on local codes and site conditions.

See the disclaimer for more on using these estimates, and confirm quantities with your supplier before ordering.

How we check the calculators

  • Automated tests cover the shared volume model and every bulk-material calculator. They check that cubic yards equal cubic feet ÷ 27, that the waste-adjusted volume equals the volume × (1 + waste %), that the suggested order is never smaller than what you need, and that weight, bags, and cost all come from the same waste-adjusted volume. The Gravel Calculator's tests run across every area shape, gravel type, and waste setting.
  • Rounding has its own tests, including the edge cases where computer arithmetic could push an exact figure up a step.
  • One set of numbers. The tables in our guides and on this page are generated from the same constants the calculators use, so they can't quote a different weight or bag size than the calculators do.
  • Corrections are logged. When we find a mistake, we fix it and record it in the change log below.

Calculator-by-calculator details

Each calculator explains its specific formula under "How this is calculated":

Change log

Changes to how the calculators compute their results, newest first.

  • Driveway and Concrete calculators: added an optional price field (price per ton for the driveway, price per cubic yard for concrete). When you enter a price, the headline result becomes the material cost, calculated from the waste-adjusted quantity and not the rounded order. With the price left blank, results are unchanged. Cost covers the material only; delivery, taxes, and short-load fees are not included. Automated tests were added for both paths.
  • Driveway Calculator FAQ: corrected the recommended crown from 1 in per foot (about 8%) to 1/2 in per foot (about 4%), in line with gravel road maintenance manuals. The gravel cost guide's example now prices the waste-adjusted volume, as the calculator does, and guide tables are generated from the calculators' own constants.
  • Weight, bags, and cost now all come from the waste-adjusted volume, never from the rounded order. Previously the Gravel Calculator took weight and cost from a rounded whole-yard order, and the Topsoil Calculator took weight from its rounded order. Bulk orders now round up to the nearest 0.1 yd³ instead of whole yards; concrete keeps quarter-yard rounding. Automated tests were added for these rules.
  • Corrected two worked examples that didn't match their calculators: the Driveway Calculator's (it said 3.33 yd³ where the formula gives 11.11 yd³) and the Paint Calculator's rounding wording.
  • Added circle, triangle, circular ring, and trapezoid shapes to the gravel, driveway, concrete, mulch, topsoil, paver, and sod calculators.
  • Gravel Calculator: added a gravel type setting with per-type weights of 2,600–2,800 lb per cubic yard, replacing a single 2,800 lb figure, and a price per ton so it can estimate total cost.