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
- We keep full precision through the whole calculation and round only the final purchase quantity.
- Things you buy by the piece (bags, bundles, rolls, gallons, posts, pickets) always round up to a whole unit. Running short mid-project costs more than one spare bag.
- Bulk materials round up to the step suppliers sell: ready-mix concrete to the nearest 0.25 cu yd with a 1 cu yd minimum; gravel, topsoil and mulch to the half yard or half ton.
- Bags are counted by the volume printed on the bag, never by weight, because weight changes with moisture.
Unit conversions
| Unit | Equals |
|---|---|
| 1 foot | 0.3048 m |
| 1 inch | 2.54 cm |
| 1 cubic yard | 27 cu ft = 0.764555 m³ |
| 1 short ton | 2,000 lb |
| 1 lb | 0.453592 kg |
| 1 US gallon | 3.78541 L = 4 quarts |
| 1 roofing square | 100 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
- Volume (cu ft) = length (ft) × width (ft) × thickness (in) ÷ 12, plus the waste you choose (10% by default).
- Bag yields: 80 lb = 0.6 cu ft, 60 lb = 0.45 cu ft, 50 lb = 0.375 cu ft, 40 lb = 0.3 cu ft, from the volume printed on standard concrete mix bags.
- Gravel base under a slab: 4 in deep plus 10% for compaction, at 1.4 tons per cu yd.
Gravel
- Volume (cu ft) = length × width × depth (in) ÷ 12; cubic yards = cu ft ÷ 27.
- Weight: 1.4 tons per cu yd by default; the calculator offers pea gravel / river rock 1.4, crushed stone 1.35, heavy (#57, wet) 1.6. Real stone ranges from about 1.3 to 1.7 tons per yard depending on size, type and moisture, so ask your supplier for theirs.
- Bagged gravel: 0.5 cu ft per 50 lb bag.
Pavers
- Pavers: patio area plus 5 to 10% waste. Base: crushed stone, area × base depth, plus 10% for compaction, bought by the ton.
- Bedding sand: a 1 in layer under the pavers. Polymeric sand for the joints: we plan on 50 sq ft per 50 lb bag, the cautious end of manufacturer charts. Edging: the perimeter in 8 ft pieces.
Retaining walls and block
- Segmental retaining walls up to 3 ft: courses = wall height ÷ block height, plus buried courses (1 in of burial per ft of wall, at least 6 in). Base pad 6 in deep × 24 in wide and 12 in of drainage gravel behind the wall. One tube of adhesive per 10 ft of cap. Taller walls, or walls holding a slope or a load, need a design from the manufacturer or an engineer.
- Concrete block (8×8×16 in nominal): 1.125 blocks per sq ft of wall, and about 12 blocks per 80 lb bag of mortar mix (Quikrete). Rebar and core grout are not calculated.
Sand and landscape rock
- Volume = area × depth ÷ 12. Dry sand weighs about 1.35 tons per cu yd. Landscape rock: river rock about 1.35, lava rock about 0.5, marble chips about 1.4 tons per cu yd. Bulk includes one delivery in the bags-vs-bulk comparison.
Sonotube footings and decks
- Footings: concrete per footing = π × (diameter ÷ 2)² × (depth + height above ground), plus waste, in bags. Form tubes come in 4 ft lengths. We don't size footings; use your plan or local code.
- Decks: boards = rows (deck width ÷ board width plus a 0.1875 in gap) × boards per row, plus waste. Screws: 2 per board at every joist, about 400 per 5 lb box. Stain: deck area × coats ÷ 200 sq ft per gallon by default. We count joists at the spacing you choose but never size them.
Lawn and garden
- Grass seed: pounds = lawn area ÷ 1,000 × the seeding rate for your grass type and job (new lawn or overseeding), from university extension guides where they publish one. We pick the 3, 7, 20 lb bags that cover it with the least seed. Straw for new lawns: about 1 bale per 1,000 sq ft.
- Raised beds: volume = length × width (or π × radius² for round beds) × depth × number of beds, plus extra for settling; bags of 1.5 cu ft. The mix-it-yourself recipe is 33.33333333333333% topsoil and 33.33333333333333% compost by volume, plus 33.33333333333333% grit you add yourself.
- Compost: area × depth ÷ 12, with depths from about ¼ in for top-dressing a lawn to 2 to 3 in worked into a bed.
Pools
- Volume: surface area × average depth, in cu ft × 7.48052 gallons per cu ft. Round pools use π × radius², ovals π × half the length × half the width.
- Salt: pounds = gallons × ppm increase × 8.34 lb per gallon of water ÷ 1,000,000, in 40 lb bags. Most chlorine generators want 2,700 to 3,400 ppm; your manual has the exact figure.
- Chlorine, shock and balancers: grams = ppm × liters ÷ 1,000 (1 ppm is 1 mg/L), divided by the product's strength. Liquid chlorine is in trade percent (g per 100 mL); bleach converts from percent sodium hypochlorite by weight; cal-hypo, dichlor and calcium chloride by their label percent. Alkalinity and hardness are "as CaCO3", so baking soda, muriatic acid (31.45%) and calcium chloride follow from molar masses. Shock level is the highest of 10 × combined chlorine, 40% of stabilizer and 10 ppm. pH doses come from a carbonate and cyanurate buffer model and are estimates (±20%), so we say to add three-quarters and retest. Targets: CDC Model Aquatic Health Code (free chlorine 1–10 ppm, 2 with stabilizer; pH 7.2–7.8; stabilizer at most 90 ppm).
Paint
- Wall area = room perimeter × wall height, minus 20 sq ft per door and 15 sq ft per window. Paint area = wall area (plus the ceiling if you include it) × coats.
- Coverage: 350 sq ft per gallon per coat (most cans say 350 to 400); primer 250 sq ft per gallon, one coat.
- We pick the cheapest mix of gallons, quarts and 5 gallon pails that covers the area, at your prices or typical ones. Pails are considered from 4 gallons up.
Mulch
- Volume (cu ft) = length × width × depth (in) ÷ 12.
- Bags: 2, 1.5, 3 cu ft sizes, counted by the volume printed on the bag. A cubic yard is 13.5 bags of 2 cu ft.
- Bulk mulch rounds up to the nearest 0.5 cu yd.
Topsoil
- Volume (cu ft) = length × width × depth (in) ÷ 12, plus any extra you choose for settling.
- Bags: 0.75 and 1 cu ft sizes. Bags labeled "40 lb" usually hold 0.75 cu ft; we count by volume.
- Weight: 1.1 tons per cu yd by default (1, 1.1, 1.3 offered); wet soil can weigh much more.
Roofing
- Roof area: entered directly, or house footprint × pitch factor, where pitch factor = √(1 + (rise ÷ 12)²). A 6/12 roof is about 1.118 times its footprint.
- Squares = roof area × (1 + waste) ÷ 100, with 10% waste for simple roofs and 15% with hips and valleys. Bundles = squares × 3, 4, 5 bundles per square (3 for most shingles; check the wrapper).
- Underlayment rolls: synthetic 10 squares per roll, #15 felt 4 squares per roll, #30 felt 2 squares per roll. No extra waste, because roll coverage already allows for laps.
- Starter strip about 105 linear ft per bundle and ridge cap about 33 linear ft per bundle by default; read your product's label.
Fence
- Sections = fence length ÷ post spacing, rounded up. Posts = sections + 1, plus one per corner and per gate.
- Rails: 2 per section up to 4 ft high, 3 per section for 5 and 6 ft fences.
- Pickets = fence length ÷ (picket width + gap), rounded up. A 1×6 picket is 5.5 in wide; privacy fences have no gap, picket fences 2.5 in.
- Post holes: 3 times the post width across (10.5 in for a 4×4, which is 3.5 in actual), one third of the fence height deep with a 2 ft minimum, and 6 in of gravel at the bottom. Dig below your frost line where codes require it.
- Concrete per post = hole volume above the gravel minus the post, ÷ 0.375 cu ft per 50 lb bag of fast-setting mix, rounded up per post.
Drywall
- Board area = walls (perimeter × height, minus any doors and windows you enter) plus the ceiling if included. Sheets = area × (1 + waste) ÷ sheet area, rounded up.
- Finishing supplies use common pro rules of thumb on the net board area: about 0.01 gal of joint compound per sq ft for three coats (4.5 gal buckets), 0.37 ft of tape per sq ft (500 ft rolls), and 1 screw per sq ft on walls, 1.25 on ceilings.
Tile
- Tile is bought by the box: boxes = area × (1 + waste) ÷ the coverage printed on the box, rounded up.
- Grout volume = area × (tile length + width) ÷ (length × width) × joint width × tile thickness, converted to pounds and 25 lb bags. Check it against your grout's coverage chart.
- Thinset: about 60 sq ft per 50 lb bag with a 1/4 × 3/8 in trowel, and about 40 sq ft with a 1/2 in notch for tiles 15 in or longer on a side.
Flooring
- Boxes = floor area × (1 + waste) ÷ box coverage, rounded up; waste is 10% for straight layouts and 15% for diagonal or herringbone.
- Underlayment comes in 100 sq ft rolls. Many vinyl planks have it attached; check the box.
Insulation
- Batts: the area to insulate plus 5%. Blown-in: area ÷ the coverage per bag at your R-value (R-30 about 25.9 sq ft, R-38 about 19 sq ft); the chart on your bag is the final word.
- Recommended attic levels follow the US Department of Energy's guide (R30 to R60 depending on climate zone).
Wallpaper
- We count full-height strips, not just area: strip length = wall height + pattern repeat + 4 in for trimming; strips per roll = roll length ÷ strip length, rounded down; rolls = strips needed ÷ strips per roll, rounded up.
- Default roll: a US double roll, 20.5 in × 33 ft. Check your label, and buy every roll from the same batch.
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.