Every calculator on Home And Yard Calc uses standard geometry plus typical material values. This page shows the formulas, the values we use and how we check them, so you can see exactly where each number comes from.
1. Area
- Rectangle: length × width
- Circle: 3.1416 × radius × radius (the radius is half the diameter)
- Triangle: base × height ÷ 2
- If you already know the area, you can enter it directly.
2. Volume
Volume is area × depth, with every measurement in the same unit.
- US units: cubic feet = square feet × depth in inches ÷ 12. Cubic yards = cubic feet ÷ 27.
- Metric: cubic metres = square metres × depth in centimetres ÷ 100.
Example: a 20 ft × 10 ft area, 3 inches deep, is 200 × 3 ÷ 12 = 50 cubic feet, which is 50 ÷ 27 = 1.85 cubic yards.
3. From volume to weight
Many suppliers sell by the ton, so we convert volume to weight: tons = cubic yards × weight per cubic yard. These are the typical values our calculators use:
| Material | US tons per cubic yard | Tonnes per cubic metre |
|---|---|---|
| Concrete (fresh) | 2.03 | 2.41 |
| Hot mix asphalt (compacted) | 1.96 | 2.33 |
| Crusher run / dense grade, Class II road base | 1.55 | 1.84 |
| #411 (#57 with stone dust) | 1.45 | 1.72 |
| Pea gravel | 1.40 | 1.66 |
| Stone dust / screenings | 1.40 | 1.66 |
| Marble chips, crushed granite | 1.40 | 1.66 |
| Fill sand | 1.40 | 1.66 |
| #57 and #8 crushed stone | 1.35 | 1.60 |
| All-purpose or concrete sand | 1.35 | 1.60 |
| River rock, beach pebbles | 1.30–1.35 | 1.54–1.60 |
| #3 crushed stone | 1.30 | 1.54 |
| Decomposed granite | 1.30 | 1.54 |
| Masonry sand, play sand | 1.30 | 1.54 |
| Fill dirt | 1.30 | 1.54 |
| Screened topsoil | 1.10 | 1.31 |
| Garden soil blend | 1.00 | 1.19 |
| Lava rock | 0.60 | 0.71 |
| Compost | 0.55 | 0.65 |
Stone, soil and sand values are for dry, loose material. Asphalt is compacted hot mix, at about 145 pounds per cubic foot, and fresh concrete is about 150 pounds per cubic foot. Mulch and raised bed soil are bought by volume, so those calculators give cubic yards, cubic feet and bags rather than tons.
Real weights vary with moisture, rock type and the quarry. Wet material weighs more. If your supplier gives you their own figure, choose “Custom weight” and enter it.
4. Extra for settling, compaction and waste
Each calculator adds a default buffer that you can change: 5% for decorative rock, asphalt, sod, artificial turf trimming, rebar cutting, deck boards, fence pickets, metal panels, concrete block, brick, retaining wall block and pavers laid in a straight pattern; 10% for gravel, pea gravel, sand, mulch, raised bed soil, concrete, studs, plates, sheathing, gable roofs, siding, soffit, block core fill, paver bedding sand, polymeric sand, drainage gravel and herringbone paver patterns; 15% for topsoil, crushed stone, driveway base layers, turf base, hip roofs, paver and retaining wall base gravel, and paver layouts with curves. The measurement calculators add nothing unless you ask them to.
5. Bags
Bag sizes follow what stores usually sell: 0.5 cubic feet for gravel, stone and sand (about 50 lb), 0.75 cubic feet for topsoil, 1.5 cubic feet for raised bed soil and 2 cubic feet for mulch. Metric results use 25 kg bags for stone and sand, and litre bags for soil and mulch. Mortar comes in 80 lb bags of premixed mortar or 70 lb bags of masonry cement mixed with sand, polymeric sand in 50 lb bags, and block core fill uses 80 lb bags of concrete mix at 0.6 cubic feet each. Bag counts are always rounded up.
6. Rounding
Results are shown rounded for easy reading. Calculations use the full, unrounded numbers. Lengths for framing and roofing are rounded to the nearest ⅛ inch, and stair, baluster and batten measurements to the nearest 1/16 inch. Block and retaining walls are built in whole courses, so the wall height is rounded up to the next full course.
7. How we check the calculators
Before a calculator goes live, we run worked examples through it and compare the results with the same sums done by hand. When we change a formula or a value, we check it again and update the date on that page.
8. How this content is written
Some explanatory text on this site is drafted with the help of AI tools, then reviewed and edited by a person. Formulas and material values are checked by hand.
9. Lawn calculators
Sod: pieces = lawn area × (1 + extra) ÷ area of one piece. Common sizes are 16 × 24 in slabs (2.67 sq ft), 18 × 24 in slabs (3 sq ft) and 2 × 5 ft rolls (10 sq ft). Pallets are set to 450 sq ft by default; real pallets usually hold 400 to 500 sq ft depending on the farm, so you can change it.
Grass seed: pounds of seed = lawn area ÷ 1,000 × seeding rate. Default rates are typical values from university extension guides, including Penn State, NC State and the University of Florida. Where a guide gives no overseeding figure, we use roughly half the new-lawn rate. Seed blends differ, so the rate on your bag always comes first.
| Grass | New lawn (lb per 1,000 sq ft) | Overseeding (lb per 1,000 sq ft) |
|---|---|---|
| Tall fescue (turf-type) | 7 (range 6–8) | 4 (range 3.5–4.5) |
| Perennial ryegrass | 6 (range 5–7) | 4 (range 3–5) |
| Bahiagrass | 7 (range 5–10) | 4 (range 3–5) |
| Fine fescue | 4.5 (range 4–5) | 2.5 (range 2–3) |
| Kentucky bluegrass | 2.5 (range 2–3) | 1.5 (range 1–2) |
| Bermudagrass (hulled seed) | 1.5 (range 1–2) | 0.75 (range 0.5–1) |
| Zoysiagrass | 1.5 (range 1–2) | 0.75 (range 0.5–1) |
| Centipedegrass | 0.4 (range 0.25–0.5) | 0.25 |
Artificial turf: turf comes in rolls of a fixed width (usually 15 ft, sometimes 12 ft) cut to length. For a rectangle, the calculator works out how many strips cover the area in each direction and picks the layout with the fewest seams, unless that would use more than 10% extra turf. Infill = area × infill rate (1.5 lb per sq ft by default). Base = area × base depth (3 in by default) plus compaction, converted to tons with the weights above.
10. Concrete, footings and rebar
Concrete bags: bags = cubic feet ÷ the yield of one bag. We use typical yields for premixed concrete:
| Bag | Yield | Bags per cubic yard |
|---|---|---|
| 80 lb | 0.60 cu ft | 45 |
| 60 lb | 0.45 cu ft | 60 |
| 50 lb | 0.375 cu ft | 72 |
| 40 lb | 0.30 cu ft | 90 |
Metric bag yields (about 11.7 litres for 25 kg and 9.4 litres for 20 kg) are worked out from the same yield per pound. Each brand prints its own yield on the bag.
Columns and footings: volume = 3.1416 × radius × radius × depth. When a post sits in the concrete, its square cross-section is taken away first.
Rebar: bars are kept a set distance from the edges and spaced evenly both ways. Where a bar is longer than one stick, the pieces overlap by 40 bar diameters, a common rule of thumb. Weights per foot are standard values: #3 0.376 lb, #4 0.668 lb and #5 1.043 lb.
11. Measurement conversions
Our measurement calculators use these exact conversions:
- 1 foot = 12 inches; 1 yard = 3 feet; 1 metre = 3.281 feet
- 1 square yard = 9 square feet; 1 square metre = 10.764 square feet; 1 acre = 43,560 square feet
- 1 cubic yard = 27 cubic feet = 0.7646 cubic metres
- 1 US ton = 2,000 pounds; 1 metric tonne = 1,000 kg = 1.102 US tons
Square feet to linear feet uses the width of the material: linear feet = square feet × 12 ÷ width in inches.
12. Framing and lumber
- Studs: wall length in inches ÷ spacing, rounded up, plus 1; then 2 extra for each corner or wall intersection and 2 for each door or window. Plates are 3 times the wall length for a double top plate and a bottom plate.
- Rafters: length = (half the building width − half the ridge thickness + level overhang) × √(1 + (pitch ÷ 12)²).
- Roof trusses: count = building length in inches ÷ spacing, rounded up, plus 1. Peak height = half the span × pitch ÷ 12.
- Board feet: thickness (in) × width (in) × length (ft) ÷ 12, using nominal sizes.
- Plywood and OSB: sheets = area × (1 + extra) ÷ sheet area, rounded up.
Log rules: Doyle = (D − 4)² × L ÷ 16. Scribner uses the formula version (0.79D² − 2D − 4) × L ÷ 16. International ¼ inch adds up 4 ft sections of 0.905 × (0.22d² − 0.71d), with the diameter growing ½ inch per section for taper. D is the small-end diameter inside the bark in inches and L is the length in feet.
These tools work out quantities and lengths. They don’t size joists, beams, rafters or headers; follow your plans and local code for that.
13. Decks, stairs and fences
- Stairs: risers = total rise ÷ maximum riser, rounded up; riser height = total rise ÷ risers; treads = risers − 1; stringer length = √(rise² + run²). Checks use common International Residential Code limits: risers up to 7¾ in and treads at least 10 in.
- Balusters: balusters = (space − largest gap) ÷ (baluster width + largest gap), rounded up; actual gap = (space − balusters × width) ÷ (balusters + 1).
- Decks: rows of boards = deck width ÷ (board width + gap); joists = deck length ÷ spacing, plus 1; screws = 2 at every board-joist crossing, plus 5% spare.
- Wood fences: sections = fence line ÷ post spacing; posts = sections + 1, plus 1 per corner and per gate; pickets = fence line ÷ the space each picket covers, plus 5%.
- Chain link: line posts up to 10 ft apart, terminal posts at ends, corners and gates, top rail in 21 ft lengths, fabric in 50 ft rolls, and one tension band per foot of height minus one for each tension bar.
- Stain and paint: gallons = area × coats ÷ coverage per gallon. Railings and two-sided fences are counted on both sides.
14. Roofing and siding
- Roof area: house footprint including overhangs × pitch factor, where pitch factor = √(1 + (pitch ÷ 12)²). One square is 100 sq ft, and we use 3 bundles of shingles per square.
- Roof edges: gable roofs have a ridge as long as the house and four rakes; hip roofs have eaves all round, a ridge of length − width, and four hips of √(2 × run² + rise²).
- Roof pitch: pitch = rise ÷ run × 12; angle = arctangent of rise ÷ run; slope percent = rise ÷ run × 100.
- Metal panels: panel length = (half the building width + overhang) × pitch factor for a gable roof; panels = roof length ÷ panel coverage width, for each side.
- Siding: wall length × wall height, plus ½ × width × height for each gable, minus openings. Vinyl boxes are counted at 2 squares and 8¼ in fiber cement planks at 7 sq ft each.
- Board and batten: battens = (wall width + largest gap) ÷ (batten width + largest gap), rounded up, with one at each end.
- Soffit: each panel is cut into pieces as long as the soffit is deep. Venting uses the common code ratio of 1 sq ft of net free area per 150 sq ft of attic floor (or 1 per 300 with balanced venting), with half at the soffits.
15. Masonry and hardscape
- Concrete block: blocks per sq ft = 144 ÷ (block length × block height, with joints), which is 1.125 for 8 × 16 in face block. The wall height is rounded up to whole courses, and blocks = courses × wall length ÷ block length − openings × blocks per sq ft.
- Block core fill: typical volumes per block with every core filled are 0.18 cu ft for 6 in block, 0.25 cu ft for 8 in, 0.34 cu ft for 10 in and 0.42 cu ft for 12 in. When only cores with rebar are filled, we use the share of cores filled, for example one core in six at 48 in spacing.
- Brick: bricks per sq ft = 144 ÷ ((brick length + joint) × (brick height + joint)), which is 6.86 for modular brick with ⅜ in joints. A round fire pit has 3.1416 × (inside diameter + brick depth) ÷ (brick length + joint) bricks per course.
- Mortar: we use typical bag yields. An 80 lb bag of premixed mortar lays about 13 standard blocks or 37 modular bricks. A 70 lb bag of masonry cement mixed with 240 lb of sand lays about 46 blocks or 144 bricks. For other sizes and joint widths, the yield is scaled by the amount of joint around each unit.
- Pavers: pavers = area × 144 ÷ (paver length × width in inches), plus extra for cuts. Base gravel and bedding sand = area × depth. Polymeric sand = joint length × joint width × paver thickness, at about 100 lb per cubic foot.
- Retaining walls: blocks per course = wall length ÷ block length, rounded up; courses = height ÷ block height, rounded up, plus one buried course. Base gravel = wall length × trench width × base depth. Drainage gravel = wall length × gravel width × built height. Poured walls add the wall and footing volumes.
These tools work out quantities. They don’t design walls or footings. Under common US code, a wall holding back more than about 4 ft of soil usually needs an engineered design, so check your local code.
16. Walls, ceilings and lighting
- Drywall: wall area = 2 × (room length + width) × height, minus 21 sq ft per door and 15 sq ft per window, plus the ceiling. Sheets = area × 1.10 ÷ sheet area. Joint compound is about 10 gallons and tape about 370 ft per 1,000 sq ft, typical figures from drywall makers. Screws are about 1 per sq ft on walls and 1.25 per sq ft on ceilings.
- Paint: gallons = area × coats ÷ coverage per gallon (350 sq ft by default). Trim is the baseboard plus 17 ft of casing per door and 16 ft per window, counted 4 in wide. Primer is one coat at 300 sq ft per gallon. Paint is rounded up to quarts and gallons.
- Wallpaper: we use the strip method. Strips = wall width ÷ roll width. Cut length = wall height + 4 in, rounded up to the pattern repeat, plus half a repeat for a half-drop match. Rolls = strips ÷ strips per roll, rounded up, plus one spare roll.
- Insulation: each batt covers stud spacing × batt length. Spray foam board feet = area × thickness in inches. R-value = thickness × R-value per inch, added up for each layer. Typical values per inch: fiberglass batt 3.2, mineral wool 4.0, blown fiberglass 2.6, blown cellulose 3.6, open-cell foam 3.7 and closed-cell foam 6.5.
- Blown-in insulation: R-value to add = target − existing depth × R-value per inch. Weight = area × R-value to add × 0.0145 lb (fiberglass) or 0.0284 lb (cellulose) per sq ft per R, from typical maker coverage charts. Bags = weight ÷ bag weight.
- Drop ceilings: main tees run 4 ft apart, 4 ft cross tees go every 2 ft, and 2 ft cross tees split the openings for 2 × 2 tiles. Border tiles are balanced so both sides are equal and at least half a tile.
- Lighting: lumens = area × foot-candles, using common ranges for homes: 10 to 20 for living rooms and bedrooms and 30 to 40 for kitchens and dining rooms. 1 foot-candle = 10.76 lux. Recessed lights are spaced about the ceiling height apart, or half of it for an even wash, and start half a space from the walls. Rows are added if the lumens fall short. Old bulbs follow the 60 W = 800 lumens scale, and LEDs use about 90 lumens per watt.
Default extras: 10% for drywall and blown-in insulation, and 5% for batts, spray foam and ceiling tiles.
17. Flooring and tile
- Flooring: area = length × width of each room, added up. Boxes = area × (1 + extra) ÷ coverage per box, with 10% extra for straight layouts, 15% for diagonal and 20% for herringbone. Underlayment is counted in 100 sq ft rolls, and trim is the room perimeter minus 3 ft per doorway. Carpet = area × 1.10 ÷ 9 square yards.
- Tile: tiles per sq ft = 144 ÷ ((tile length + joint) × (tile width + joint)). Shower area = (back wall + 2 side walls) × tile height. Extra is 10% for straight and offset layouts, 15% for diagonal and 20% for herringbone.
- Grout: joint volume per sq ft = 144 × (tile length + tile width) ÷ (tile length × tile width) × joint width × tile thickness, in cubic inches. Cement grout uses about 110 lb of powder per cubic foot of joint, and premixed grout is counted at 231 cubic inches per gallon, plus 10% extra.
- Thinset: typical coverage per 50 lb bag by trowel notch: about 110 sq ft for a 3/16 in V-notch, 95 sq ft for ¼ × ¼ in, 65 sq ft for ¼ × ⅜ in and 43 sq ft for ½ × ½ in.
- Epoxy: resin volume = area × depth, times the share filled for river tables, at 231 cubic inches and 128 fluid ounces per gallon, plus 10%. Floor coatings: gallons = area × mils ÷ (1,604 × solids content), because one gallon covers 1,604 sq ft at 1 mil thick.
18. Cost calculators
Our cost calculators don’t fill in prices, because concrete, asphalt, lumber, decking, fencing, roofing, siding, masonry, paving, drywall, insulation, paint, flooring, tile and labor prices vary widely by region and season. You enter prices from your own suppliers and contractors, and the calculator works out the quantities and adds everything up. Any example prices on our pages are for illustration only.
19. Found an error?
Email homeandyardcalc@gmail.com with the calculator link and the numbers you used. We fix confirmed errors and note the change on the page.
20. Where our numbers come from
Our calculators use typical published values. This list names where each group of values comes from. If your supplier, the bag or the product label gives a different figure, use that one.
- Stone, gravel, sand, soil and mulch weights: mid-range values from US aggregate and landscape supplier product data. Real weights change with rock type, moisture and quarry, so choose “Custom weight” when your supplier gives you a number.
- Concrete: state DOT references put normal-weight concrete at about 140 to 150 lb per cubic foot (for example, Iowa DOT); we use 150. Bag yields (80 lb about 0.60 cu ft, 60 lb about 0.45 cu ft, 40 lb about 0.30 cu ft) come from the QUIKRETE Concrete Mix data sheet. Other brands print their own yield on the bag.
- Asphalt: compacted hot mix at about 145 lb per cubic foot, the default density in Vulcan Materials’ asphalt calculator and in Federal Highway Administration estimating tables.
- Rebar: weights per foot are the nominal weights in ASTM A615 (Table 1).
- Lumber: nominal and actual sizes (a 2×4 is 1½ × 3½ in) follow the American Softwood Lumber Standard, PS 20, published by the U.S. Department of Commerce.
- Brick and block: modular brick is 3⅝ × 2¼ × 7⅝ in in brick makers’ specifications; an 8 × 8 × 16 in concrete block is 7⅝ × 7⅝ × 15⅝ in, with sizes governed by ASTM C90.
- Drywall finishing: tape and joint compound amounts follow USG’s coverage tables for Sheetrock panels (about 370 ft of tape per 1,000 sq ft).
- Insulation: R-value per inch for loose fill (fiberglass about R-2.2 to R-2.7, cellulose about R-3.2 to R-3.8) from U.S. Department of Energy figures, as listed by the Building America Solution Center (PNNL). Every loose-fill bag must carry a coverage chart under the FTC R-Value Rule (16 CFR 460.12); that chart comes first.
- Lighting: foot-candle targets per room from the residential lighting levels published by Penn State (EGEE 102).
- Grass seed: university extension guides, as named in section 9.
- Paint, primer, stain, grout, thinset, epoxy, flooring, siding, underlayment and sod: coverage and package sizes are typical values from manufacturer data sheets and labels. The label on your product comes first.
- Code limits: stair checks use IRC R311.7.5.1 (riser up to 7¾ in) and R311.7.5.2 (tread at least 10 in). Under IRC R404.4, a retaining wall that holds back more than 48 in of soil without support at the top needs an engineered design. Attic venting uses IRC R806.2 (1/150 of the attic floor, or 1/300 only when its exception is met). Other code lines on our pages name their section too: IRC R312.1.3 (guards), R302.6 (garage drywall), R403.1.4 (footings), R702.3.5 (drywall screws), R703.8 (brick veneer), R905.2.2 and R908 (roofing), and the energy code sections IECC R303.1.1.1 and R402.1 (insulation). These are common US code (International Residential Code and International Energy Conservation Code). Section numbers follow the 2018 and 2021 editions; the 2024 IRC reorganized Chapter 3, so stair, guard and garage rules may carry different numbers there. Check your local code, because your town may use a different edition or local changes.