Methodology
Last reviewed 8 November 2026. The three calculators call the same functions the worked examples use. This page is the shared rule book.
Units
One foot is 0.3048 m. One inch is 25.4 mm. One avoirdupois pound is 0.45359237 kg. A cubic yard is 27 cubic feet. A short ton is 2,000 pounds. Metric depth is entered in centimeters. The calculator converts into feet and inches before the formula runs, so a single pass does not mix systems.
Switching units reformats the stored measurement. A round trip through four decimal places of the displayed meter value stays within 0.5 percent for ordinary yard lengths.
Rounding
Purchase counts — posts already being whole, plus pickets, boards, bags — use ceil after the waste step. A value that is an integer, within binary noise, stays that integer. Cubic yards on screen use half-away-from-zero to three decimals, so 25 ÷ 27 is shown as 0.926. Bag and ton math uses the unrounded volume. Gravel order tons round up to the sales step you pick. An exact step is not bumped.
Prices, when you type them, are rounded to cents. A blank price is omitted, not replaced with a market guess.
Fence
Spacing rule: stretch, on each fence stretch. A gate is an opening between stretches, and its width is not part of those lengths. Each stretch is divided into the fewest equal bays that stay at or under the maximum spacing. A straight sequence has one more post than its openings. The posts on either side of a gate are those end posts, not one shared post and not a third extra post. Corner sharing is only the separate switch for a turn with no gate. A stretch shorter than one bay is still one bay and two posts. Eight feet is the starting maximum, not a national code.
Pickets are a face-mounted purchase count on the full on-center bay, using the actual dressed width. The count is the smallest whole number that keeps the gap at or under the maximum, with a board at each end of that bay. Post thickness is not subtracted. A formula that only floors whole boards into the clear gap between post faces can leave an uncovered strip; this tool does not buy that smaller number. Board-panel style uses the same cover count with a zero gap. Post-and-rail sets pickets to zero. Waste of 0 to 30 percent is applied once per board category. Above 30 percent is cut back to 30 and the estimate says so. Ten percent, if you type it, is a planning allowance for offcuts, not a measured scrap study. Posts do not get that percentage.
Dressed-width presets are the PS 20-25 Table 3 minimums for dry boards: nominal 1×4 is 3-1/2 in actual, nominal 1×6 is 5-1/2 in, nominal 1×8 is 7-1/4 in. Typing the nominal width undercounts the boards. Measure the piece.
Mulch
Volume = area × depth. A rectangle is length × width. A circle is π × radius². A triangle is 1/2 × base × height. A trapezoid is (a + b) / 2 × height, with a and b the parallel sides. A quarter circle is π × radius² / 4. Blank bag size means no bag count. Zero area means zero volume. Depth at or under zero is rejected. Outside 1 to 6 inches, the volume still runs and a note appears. Extension publications cited below describe about 2 to 4 inches for many woody plants. That range is not forced.
Gravel
Weight uses the density named on the estimate. 100 lb/ft³ is 2,700 ÷ 27 from the FHWA Federal Lands loose mass density for dry, uniformly graded gravel. It is not taken from FHWA-HRT-15-034. That report’s Table 7 gives one No. 57 sample a minimum index density of 95.4 lb/ft³ and a maximum of 108.7 lb/ft³. DelDOT’s 2013 chart averages are 98 lb/ft³ for #8 stone and 103 lb/ft³ for #57 stone. Those averages are not labeled loose or compacted. Type a supplier figure to replace every preset. The extra percent starts at 0 and is not added on top of a preset in secret. A vehicle-area choice adds a warning and does not design a pavement.
What this is not
Not an engineering calculation, not a footing detail, not a building-code check, and not a bid. Local rules and the material you actually pick up can disagree with a planning count. Estimate terms.
Sources
- NIST Handbook 44 (2024), Appendix B, Units and Systems of Measurement. 1 inch = 25.4 mm exactly. 1 avoirdupois pound = 0.45359237 kg exactly.
- NIST Special Publication 1038, The International System of Units (SI) — Conversion Factors for General Use. 1 foot = 0.3048 m exactly.
- NIST Voluntary Product Standard PS 20-25, American Softwood Lumber Standard (January 2025), Table 3. Minimum dressed dry widths used as picket presets: nominal 4 in is 3-1/2 in, nominal 6 in is 5-1/2 in, nominal 8 in is 7-1/4 in. Nominal 1 in thickness dresses to 3/4 in. These are minimums. Measure the boards you buy.
- University of Illinois Extension, Proper Mulching Techniques (modified March 2024). A 2 to 4 inch mulch layer is the cited horticultural range for well-drained sites. The calculator warns outside 1 to 6 inches and still computes.
- Penn State Extension, Mulching Landscape Trees. A 2 to 4 inch organic layer; more than 4 inches may harm roots; finely textured mulch is often kept to 1 to 2 inches.
- FHWA Federal Lands Highway, PDDM earthwork design exhibit. Loose mass density for dry, uniformly graded gravel: 2,700 lb/yd³, which is 100 lb/ft³. Not FHWA-HRT-15-034, and not a density for every gravel. The same exhibit lists other gradations and says the figures vary.
- FHWA-HRT-15-034, Chapter 3, Table 7 (unit weight of aggregates). Laboratory index densities. AASHTO No. 57 in that table: minimum 95.4 lb/ft³ (funnel, ASTM D4254) and maximum 108.7 lb/ft³ (vibratory table, ASTM D4253). No. 8 samples in the same table are not one number (8A minimum 85.7, 8E minimum 97.9). These are not the Federal Lands 100 lb/ft³ figure and not the DelDOT chart averages.
- Delaware DOT Material Average Weight Chart (October 28, 2013). Chart averages: #8 stone 98.0 lb/ft³ (2,646 lb/yd³) and #57 stone 103.0 lb/ft³ (2,781 lb/yd³). The chart does not call these loose or compacted, and they are not FHWA test results.
- Ohio DOT 2008 Construction and Material Specifications, Item 411 (archived 2008 spec). Cited only as a contrast. Compacted crushed stone is measured there at 3,800 lb/yd³. That is not the loose order weight used by the presets.