How we calculate

Every number on YardSums comes from the formulas on this page. Each formula is covered by automated tests against hand calculations, and every calculator page shows its own math for your inputs.

Rounding: once, at the end, and up

Unit conversions

Unit conversions used in every calculator
UnitEquals
1 foot0.3048 m
1 inch2.54 cm
1 cubic yard27 cu ft = 0.764555 m³
1 short ton2,000 lb
1 lb0.453592 kg
1 US gallon3.78541 L = 4 quarts
1 roofing square100 sq ft

The metric switch on each calculator converts the sizes you type. Purchase quantities stay in the units US stores sell (80 lb bags, cubic yards, gallons), with metric equivalents where they help. When you switch units and back, we keep your exact sizes, so the rounded numbers in the fields never change the answer.

Concrete

Gravel

Paint

Mulch

Topsoil

Roofing

Fence

Prices

Typical prices are approximate national ranges for each selling unit, shown with the month they were checked (currently Oct 2026). They come from public prices at large home-improvement retailers and supplier price lists. Prices vary by store, region and season, so every calculator lets you type your own price; once you do, that line shows an exact total. Prices you type are saved only on your device.

Retailer names are mentioned only to describe where prices come from. YardSums is independent and not affiliated with or endorsed by any retailer.

Found a mistake?

Tell us on the contact page. Include the calculator, your inputs (the Share button makes a link) and what you expected.