Every number has an assumption.
The planner estimates quantities from your dimensions. It does not select a safe structural design or certify a construction project.
1. Layout, bays and shared posts
A run is measured between its endpoint post centers in decimal feet. Straight, L and U shapes are connected open paths. A rectangle links opposite lengths and shares its final endpoint with its start. Custom connected paths use right-angle directions; crossing, retracing and unintended contact between runs are rejected. Separate fences retain separate endpoints, even if the schematic rows align.
Each solid span between an endpoint and a gate support is divided into equal bays. A corner that joins consecutive runs is counted once. Gate supports take priority when a shared endpoint is also a gate support. This is an orthogonal schematic, not a survey, terrain model or map measurement.
Bay center distance = span length ÷ bays
2. Clear gate width is not post-center span
For two equal square gate posts of entered actual width p inches, a clear opening g feet needs a support-center span of g + p/12 feet. This adds half of each gate-post width. If you already have a post-center specification, choose center-span mode so no width is added. The gate start measures to the first gate-post center along the run.
Solid spans = [run start, first gate support] and [second gate support, run end]
The tool currently supports one gate per run, a uniform entered gate-post width, and a complete gate-kit allowance for each opening. A double gate is one opening; its kit price must cover both leaves and all required gate hardware. Gate leaves and framing are excluded from the ordinary board and rail counts.
See the measurement diagrams →
3. Picket coverage and board arrangements
For the default between-post mode, the actual widths of the two supporting posts are subtracted from the center distance. Gate and ordinary supports can have different widths.
Side-by-side boards = max(1, ceil((coverage width + gap) ÷ (board width + gap)))
This model begins and ends with a board and may require trimming the last board or adjusting the final gap. Centerline allowance mode instead uses the full center distance. It is a quantity allowance, not an exact face-mounted cut schedule; it does not add the outside half-widths of endpoint posts.
The board-on-board mode is a specific geometric model: equal-width boards alternate between back and front layers, with the same overlap between each adjacent pair. The first board starts at the bay edge. Overlap must be greater than zero and no more than half the board width. Different manufacturer layouts can require a different count.
Purchase boards = ceil(sum of base boards × (1 + extra lumber % ÷ 100))
This formula is derived from the interval coverage w + (n − 1)(w − overlap), not copied from a product installation schedule. It does not calculate shadowbox, horizontal boards, vinyl kits or chain link. The tool does not claim that all board-on-board systems use this arrangement.
4. Rail stock, cuts and fastener packs
Rails are modeled between post faces. Each bay receives the entered number of rows. Each rail uses one full stock piece, even if an offcut could serve another bay. The selected stock length must cover each clear-width cut. Spare rail stock is added after calculating installed rails. The report groups approximate cut lengths; field measurements and connector details determine final cuts.
Purchase rail stock = ceil(base rails × (1 + extra lumber % ÷ 100))
Picket fasteners = base boards × rail rows × entered fasteners per connection
Rail fasteners = base rails × 2 ends × entered fasteners per end
Boxes = ceil(required fasteners ÷ entered pieces per box)
Picket and rail boxes are separate purchase lines because the required fastener sizes may differ. These are editable count assumptions, not a nail or screw design. Spare boards do not add installation fasteners. Optional post caps are counted one per support but must match the respective ordinary and gate-post sizes.
5. Concrete, gravel and post stock
Ordinary supports and gate supports use separate square-post and cylindrical-hole dimensions. The post sits on top of any gravel base in this model; concrete fill depth excludes gravel and any unfilled top. Post stock length must cover the entered above-grade post height plus concrete fill and any unfilled top depth. Total excavation is concrete fill + gravel base + unfilled top. Post embedment is concrete fill + unfilled top because the post sits above the gravel. This geometric check does not establish adequate embedment or structural strength.
Adjusted group volume = net cu ft per hole × group post count × (1 + concrete allowance % ÷ 100)
Pooled bags = ceil(sum of adjusted volumes ÷ product yield)
Per-hole bags = sum over groups: post count × ceil(adjusted per-hole volume ÷ product yield)
The purchase list follows the selected rounding mode. Pooled mode assumes unused usable mix can be distributed across holes; per-hole mode rounds every hole separately. Never distribute dry or mixed material contrary to the product instructions. Hole diameter must exceed the square post diagonal.
Optional gravel uses the full cylindrical base area, multiplied by base depth, then rounds total volume to the entered bag volume. The post displacement is not subtracted from the base because the model places the post above it.
The product-specific yield presets are drawn from the cited manufacturer data sheet. They are not universal yields for bags of the same weight. See source details and the discrepancy we did not silently adopt.
6. Prices and A/B comparison
Every price starts blank. Optional, dated Home Depot listing snapshots cover matching cedar pickets and selected post, rail and concrete specifications. Applying one is explicit; it does not overwrite an existing price. Material or size changes clear an applied snapshot. Edited prices are treated as user entries. Snapshots do not provide a complete basket, local availability or a national median. A blank required line makes the complete total unavailable; a user-entered zero is treated as zero. The known-material subtotal is only the sum of priced lines. Material tax applies to those priced material lines; labor is gross run footage times the entered rate, and other budget is a separate entered allowance.
Option B uses the same layout, gate dimensions, mounting method, post/footing sizes, bag product and rail rows. Its spacing, board width, gap/overlap, arrangement, extra lumber and quote can differ. Neither a lower cost nor equal totals proves that the two products have equivalent quality or structural suitability. Quote dates and references are user-entered and are not authenticated.
7. Important exclusions
No automatic property survey, slope correction, frost-depth lookup, soil analysis, wind-load design, pool-barrier check or local legal interpretation is performed. Surveying, permit fees, removal, rental, delivery, stain, structural gate reinforcement and specialty connectors need separate checks and pricing. Published starting dimensions and fastener counts are examples, not recommendations.
Check two complete worked examples · Review sources and validation limits · Open the planner
Editable sketch and units
The sketch edits a temporary right-angle layout using the same calculation engine. Applying replaces the detailed layout; cancelling leaves it unchanged. A new shape starts with evenly divided example lengths and retains existing gates where possible. Verify measurements before confirming. Rectangles link opposite sides. The sketch does not infer property lines, terrain or structural suitability.
Feet and inches convert to decimal feet as feet + inches / 12. Feet components must be whole nonnegative numbers; inches must be below 12. Drawn side dimensions are between post centers, and gate placement preserves the project’s clear-opening or post-center measurement mode.