Skip to content
Yard Drainage FixesGet quotes

How We Calculate: The Numbers Behind Every Tool, and Where They Come From

Short answer

Every calculator on this site runs on published formulas and openly stated constants — the 0.623 gallons per square foot per inch of rain, the 40 percent void space of clean stone, Manning's equation for pipe capacity, NOAA Atlas 14 rainfall — with a margin built in on the cautious side. This page lists each one, its source, and the checks the logic passes before it ships.

What the tools are, and are not

The calculators on this site are planning tools. They turn a homeowner's measurements into the same quantities a contractor or designer would start from — gallons, GPM, cubic yards, square feet, planning cost ranges — using the methods those professionals use, simplified only where a homeowner cannot supply the input. They are deliberately biased toward caution: runoff factors on the high side, pipe capacities de-rated, grate capacities de-rated for leaves, drain-down windows enforced.

They are not designs, and they do not replace anyone standing on the property. Every tool ends with a "what this doesn't tell you" section for that reason, and every cost figure is a planning range, never a quote. The editorial policy covers the site's independence; this page covers the arithmetic.

Constants every tool shares

ConstantValueUsed bySource
Gallons per square foot per inch of rain0.623Roof runoff, rainwater harvesting, dry well, rain gardenPhysical: 1 in × 1 sq ft = 231 cu in ÷ 231 cu in/gal × 1.44
Gallons per cubic foot7.48Dry well, rain gardenPhysical constant
Roof runoff factor0.95Roof runoff, French drain sizing, catch basin, rain gardenRational-method C for roofs, 0.85–0.95; the high end is used so water is never under-estimated
Paving runoff factor0.90French drain sizing, catch basin, rain garden, dry wellRational-method C for concrete and asphalt, 0.80–0.95
Lawn runoff factor0.15 sandy · 0.25 loam · 0.35 clayFrench drain sizing, catch basin, rain gardenRational-method C for lawns by soil group, flat to moderate slope
Square feet per acre43,560Rational-method toolsDefinition
Cubic feet per second to GPM448.83Rational-method toolsDefinition
Void space of clean #57 stone40%Dry well, gravel sizesASCE MOP 77 and supplier data, 35–45% for clean angular stone
Weight of #57 stone1.4 tons per cubic yardEvery stone quantitySupplier weight tickets, NCDOT unit weights, 1.35–1.45
Bagged stone0.5 cu ft per 50-lb bagGravel calculatorRetail packaging
Loose-soil swell25%Gravel calculator, retaining wallStandard excavation swell factor for topsoil and clay

Rainfall

FigureValueSource
Storm depth presets1, 2 and 3 inchesTypical soaking, heavy, and downpour days for the eastern US; the 2-year 24-hour NC depth is about 3.5 in
Regional peak intensities3, 4, 6 and 8 in/hrRounded from NOAA Atlas 14 10-year 5-minute values, set a little under the point value because a residential catchment never delivers its whole peak at once
City lookup2-year and 10-year 24-hour depths for 59 citiesNOAA Atlas 14 partial-duration point estimates at city-centre coordinates, retrieved September 2026; full NC table on the NC rainfall page
Average rainfall by zipMonthly and annual 1991–2020 normals for every zipNOAA NCEI gridded normals (nClimGrid, 1/24°) at the zip's Census 2020 internal point; nearest qualifying NCEI station normal (flags S, R or P, within 100 km) in Alaska, Hawaii and Puerto Rico. Method and open data on the rainfall by zip code page
Zip hand-off into the calculatorsDry well: 2-year 24-hour depth · rain garden overflow check: 2-year 24-hour depth · catch basin: 10-year 5-minute intensity · French drain sizing: 10-year 1-hour intensityNOAA Atlas 14 values for the zip's county; each matches the duration the tool's own presets are built on
Rainwater collection efficiency85% metal · 80% asphalt shingle · 75% tile, wood or gravelTexas Water Development Board: most installers use 75–85% after first flush, evaporation and splash-out

Soil

FigureValueSource
Sandy preset2.0 in/hrLow end of the published range for sand, so sandy yards are not oversold
Loam preset0.5 in/hrTop of the loam range — a healthy, uncompacted lawn
Clay preset0.1 in/hrTop of the clay-loam range; true clay is slower
Interpretation bandsfree > 4 · normal 1–4 · slow 0.5–1 · poor < 0.5 in/hrSite thresholds, consistent with rain garden and dry well drain-down limits; full table on soil infiltration rates
Rain garden drain-down limit24 h good, 48 h maximumExtension-office rain garden guidance (UConn NEMO, Alabama ACES, Wisconsin DNR)
Dry well drain-down limit24 h good, 72 h maximumASCE MOP 77 and state stormwater manuals (NH, PA)

Pipe and grate capacity

FigureValueSource
Pipe capacityManning's equation, full flow, R = D/4Standard open-channel hydraulics
Manning's n0.013 smooth PVC · 0.020 corrugatedPublished roughness coefficients for PVC/SDR-35 and corrugated HDPE
Usable share of full-pipe capacity75%Margin for fittings, grit and a perforated pipe in gravel never running full
Minimum workable grade1% (⅛ in per ft)Plumbing-code minimum for drain pipe; below it sediment settles
Grate capacities28 · 96 · 155 · 264 · 500 GPM for 6, 9, 12, 18, 24-inch gratesManufacturer spec sheets at ½ in of ponding, low end of each published range
Usable share of grate capacity60%Allowance for leaves and grit after the first season
Downspout capacity (gutter size calculator)1 sq in of downspout inlet drains 1,200 ÷ I sq ft of design area; design area = plan × 1.00–1.30 pitch factorSMACNA Architectural Sheet Metal Manual, 7th ed., Tables 1-1 to 1-3
Gutter capacity (gutter size calculator)Level-gutter equation W = 0.0106·M^(−4/7)·L^(3/28)·(IA)^(5/14); K-style sized as the inscribed rectangle; half-round from Table 1-4; ≤ 50 ft per downspoutSMACNA Architectural Sheet Metal Manual, Chart 1-1 and Table 1-4
Plumbing-code check (gutter size calculator)GPM = R × A × 0.0104 against Tables 1106.3 and 1106.6, R = 100-year 1-hour rate2021 International Plumbing Code §1106
Design rainfall by zip5-min 10- and 100-year, 1-hour 100-year intensities and 24-hour depths per countyNOAA Atlas 14 (PFDS, partial-duration series) at each county's 2020 Census centre of population; zip → county from the Census 2020 ZCTA relationship file. Oregon and Washington not covered (NOAA Atlas 2)

Retaining walls

FigureValueSource
Buried courseOne full course, or 10% of exposed heightSegmental block manufacturer installation guides
Base6 in compacted stone, block depth + 12 in wideManufacturer guides and the site's backfill specification
Drainage zone12 in of clear stone, full height, 6 in topsoil capSame; detail on retaining wall drainage
Geogrid thresholdAbove 3 ft exposedTypical manufacturer charts; the tool's quantity is a planning figure only
Engineer and permit thresholdAbove 4 ftCommon local code threshold; some jurisdictions measure from the base
Block presets4×12×7 · 6×16×12 · 8×18×12 in · 6×6×8 ft timberCommon retail and manufacturer units and published weights

Topsoil and fill dirt

FigureValueSource
Topsoil weight0.80–1.15 tons per loose cubic yardCaterpillar Performance Handbook: topsoil 950 kg/m³ loose, 1,370 kg/m³ in place
Fill dirt weight1.20–1.35 tons per loose cubic yardCaterpillar Performance Handbook loose densities: dry sand 1,420 to wet excavated earth 1,600 kg/m³
Compost weight0.40–0.60 tons per cubic yardOregon State University Extension EM 9217: about 1,000 lb/yd³ at 50% moisture, 800–1,200 typical
Garden mix weight0.60–0.88 tons per cubic yardDerived: mean of the topsoil and compost ranges for a 50/50 blend
Settling allowance25% defaultVirginia Cooperative Extension: 8–10 in loose topsoil settles to 6–8 in; Caterpillar earth load factor 0.79–0.80
Code fall from the foundation6 in in the first 10 ft2021 IRC R401.3
Foundation exposed above grade6 in, 4 in with masonry veneer2021 IRC R404.1.6; R317.1 item 5 and R703.7.2.1 for siding and weep screeds
Lawn topsoil cap4 in defaultNMSU Extension H-509: 4–6 in of topsoil after firming

Gravel

FigureValueSource
#57 crushed stone1.35–1.40 tons per loose cubic yardOttr Supply (about 1.35); Knife River product sheet (about 1.4 per loose yd³) — the same 1.4 every stone quantity on the site uses
Washed drainage stone (#4–#57)1.35–1.40 tons per loose cubic yardKnife River washed rock sheets (about 1.4); Ottr Supply #57
Pea gravel1.21–1.40 tons per loose cubic yardKnife River ⅜ × ¼ in rounded rock (about 1.4); GravelShop.com (1.21, a figure that retailer uses for several stones)
River rockAbout 1.4 tons per loose cubic yardKnife River rounded ½–¾ in and 2–4 in rock; no second source found
Crusher run / paver base1.80–1.86 tons per compacted cubic yardWisconsin DOT research report 0092-22-05 (¾-in dense graded base); WisDOT spec 305 pays 1.85
Decomposed graniteNo weight publishedSupplier pages give only truck and bulk-bag weights; the tool gives volume only
Allowance, clean stone10%Same default as the French drain gravel calculator; clean stone has no fines to compact
Allowance, crusher run40%Wisconsin DOT: 36–47% more loose than compacted volume for ¾-in dense base; Minnesota DOT pit-gravel rule ×1.3
Allowance, decomposed granite25%Kafka Granite pathway spec: allow 20–25% for compaction
Driveway preset8 in compacted base + 4½ in surface courseKafka Granite spec (8–12 in base for vehicles); Penn State Center for Dirt and Gravel Road Studies (surface 6–8 in loose, 4½–6 in compacted)
Patio / paver base preset4 in compactedKafka Granite spec (4–6 in for pedestrian traffic); paver makers' own guides govern
Path preset4 in base + 3 in DGKafka Granite (3 in compacted DG over 4–6 in base); Penn State trail bulletin (3 in compacted over 2–6 in base)

Mulch

FigureValueSource
Coverage324 sq ft per cubic yard at 1 inClemson HGIC and UF/IFAS mulch fact sheets
Bag sizes2 and 3 cu ftRetail packaging
Fine wood and bark mulch2–3 inClemson HGIC; UF/IFAS (no more than 3 in)
Pine bark nuggetsUp to 4 inClemson HGIC
Pine straw2–3 inClemson HGIC; UF/IFAS FR052 on how fast it breaks down
Shredded leaves, clippingsNo more than 2 inClemson HGIC
Rain garden mulchAbout 3 in double-shreddedWisconsin DNR rain garden manual; University of Maine (3–4 in, bark chips float); Vermont DEC (2–3 in)
Setback from walls6–12 in; under 2 in deep within 12 in of the foundationClemson HGIC; UF/IFAS EDIS IN651

Cost ranges

Every dollar figure is a planning range drawn from the site's own cost pages, which in turn draw on published aggregator ranges (Angi, HomeGuide, LawnStarter, Homewyse) cross-checked against Southeast contractor pricing and material prices. The same range is used wherever a fix appears, so the cost calculator, the hiring guide and each solution page agree. Site factors — no machine access, clay or rock, restoration — are applied as multipliers or allowances stated on the tool. None of it is a quote, and the tools say so.

How the logic is tested

Every calculator's arithmetic lives in a plain function separate from its screen, and each function has an automated test suite that runs before any change is published — worked examples with known answers (a 500 sq ft roof in a 1-inch storm makes about 311 gallons; 83 GPM at 1 percent needs a 6-inch PVC pipe), the thresholds where a verdict flips, and the edge cases where inputs are missing. At the time of writing the suites hold nearly 290 checks across seventeen tools. When a constant on this page changes, the tests that depend on it fail until the change is reviewed.

Reporting a problem

If a result looks wrong, the fastest fix is a worked example: the inputs you entered, the answer you got, and the answer you expected with its source, sent through the about page. Corrections are made in the logic and its tests, and this page is updated with the new figure and source.

Ask us about your yard

A person reads every one of these and writes back — usually within a couple of days. Your email doesn't go to anyone else.

By Under Your Home Team · Last reviewed 2026-09-27