跳到主要内容
Fence Calculator

尖桩间距计算器

精确计算两根立柱间所需的木板数量与均匀一致的排版缝隙,杜绝边角宽窄不均。

尖桩间距与缝隙计算

输入尺寸,结果会随输入即时更新。

概述

没有什么比高低不一的木板缝隙或最后硬挤进一片极窄的碎木板更难看的了。

输入立柱净距、木板宽度以及期望的间距,计算器将自动推导均分缝隙,精确至几分之一毫米。

假设前提

  • Section width is the clear interior distance between the faces of adjacent posts.
  • Picket width is actual milled lumber dimension (e.g., 3.5 inches for a 1x4, 5.5 inches for a 1x6).
  • The formula calculates uniform gaps on both ends and between all pickets across the section.
  • Pickets are installed plumb vertical.

常见错误

  • 凭肉眼手感估算间隙安装,误差累积导致最后一块板处留出怪异的大缝。
  • 从木板中心线测量间隙,而不是测量两板侧边边缘之间的净空距离。
  • 忽视湿木料在暴晒后会变窄,导致几个月后板缝大幅度拉大。
  • 未用小木块自制与计算值一致的限位卡块辅助批量钉装。

深度指南

购买指南

A fence picket spacing calculator solves a problem that eyeballing never quite solves: dividing a fixed bay width, the clear distance between two posts, into an exact number of pickets and perfectly even gaps, rather than a run of consistent-looking gaps that drift wider or narrower by the time they reach the far post. The inputs are simple: the clear interior width of the bay, the actual milled width of the picket board, not its nominal size, and a target gap. Nominal lumber sizing matters here more than almost anywhere else in a fence build, since a 1x4 picket actually measures 3.5 inches and a 1x6 measures 5.5 inches, and feeding the nominal number into a spacing calculation throws every gap off by the same margin across the whole bay. The calculator works out how many pickets fit the bay at roughly the target gap, then distributes the leftover width evenly across every gap, including the two end gaps against the posts, rather than concentrating the error in whichever gap happens to fall last.

A fence that visibly tapers from a wide gap on one end to a tight sliver against the post on the other almost always traces back to measuring gap from picket center rather than from the clear opening between adjacent board edges, or to guessing a round gap number and letting the error accumulate across a long bay instead of solving for the exact gap the bay actually divides into. On an 8 foot, 96 inch section using 3.5 inch pickets and a roughly 2 inch target gap, the exact math works out to 17 pickets at a gap of 2.03 inches each, a number that is close to but not exactly 2 inches, which is the whole point: solving for the exact value that divides the bay evenly, rather than rounding to a convenient fraction and letting the discrepancy land wherever it falls. Most builders also leave a half or full gap between the post and the first picket rather than butting the first board tight against the post, for symmetry across the finished run.

Getting the calculated gap to hold on site, rather than drifting board by board down the fence line, is a matter of cutting a single spacer block to the exact calculated dimension and using it as a jig between every picket as boards go up, rather than relying on a tape measure and a steady eye for 17 or more repetitions. Material matters for how stable that gap stays after installation: treated pine pickets installed wet continue to shrink across their width as they dry out over the following months, widening every gap by an eighth of an inch or more by the time the wood reaches equilibrium moisture, while cedar and vinyl pickets stay far more dimensionally stable and hold close to their installed spacing. That shrinkage is one reason it is worth being honest with a target gap up front rather than cutting it as tight as code and preference allow, since a gap that starts tight on wet pine can end up uncomfortably wide after a summer of drying.

Gap targets are not purely cosmetic. Two to 2.5 inches is the common gap for a front yard picket fence, close enough to block casual sightlines and slow pets without blocking airflow, but a fence around a swimming pool is a different case entirely: pool safety codes require clear picket spacing not to exceed 4 inches anywhere along the barrier, specifically so a 4 inch test sphere cannot pass through, and that constraint should be checked against local code before finalizing a gap on a pool enclosure. Shadowbox fences add another variable, alternating pickets on the front and back faces of the rails with a deliberate 1 to 2 inch overlap between them to block sightlines without needing a true solid gap on either face, which the shadowbox fence calculator handles directly. Once spacing is set, the fence picket calculator and the picket fence calculator extend the same bay-by-bay math into a full picket and rail order across the whole run, and the privacy fence calculator applies the same board-and-gap logic to a tighter, privacy-oriented spacing target. For the research behind common gap choices and code minimums, see how many pickets for 100 feet of fence, board spacing guide for wood picket fences and board on board vs shadowbox vs solid privacy fence, and for full installation sequencing see the wood fence installation guide and the fence materials guide. The rest of the measurement tools are collected on the measurement calculators hub. It is worth double-checking the clear bay width before cutting the spacer block, since a post that is slightly out of plumb or a bay measured at the face of one post and the center of the other will throw off the exact gap this calculator solves for, and that kind of small input error is far easier to catch on paper than after a dozen pickets are already nailed up with the wrong spacer.

常见问题

前院美化栅栏一般的标准间距是多少?

通常在2至2.5英寸(约5至6厘米)。视觉比例协调通透,降低风阻,又可防止幼犬卡头。

安装时如何保证每一道缝隙完全一样宽?

将一块多余的废木料精确锯成计算出的间隙宽度,将其夹在每两块木板之间充当垫块模具。

1x4和1x6木料的实际宽度到底是多少?

规格名称都是标称值。1x4的实际宽度约为3.5英寸(89毫米),1x6约为5.5英寸(140毫米)。

8英尺跨度留2英寸缝能排几块1x4木板?

在96英寸的净宽内,刚好可以布置17块木板,推导出的实际均摊精确缝隙为2.03英寸。

泳池防护围栏对缝隙有什么强制法规?

泳池安全法规规定,竖直立杆之间的净空缝隙严禁超过4英寸(约10厘米),防止幼儿钻入。

双面交错型(Shadowbox)围栏的间距如何计算?

双面交错型样式将木板交替钉在横梁的前后两侧,板与板之间需留出1至2英寸的视线重叠量。

第一块木板应该紧贴着立柱安装吗?

通常在板与立柱之间留出半个缝或一个正常缝的间距,这样全线对称协调。

木板在装好后尺寸会变动吗?

出厂加压防腐木含水率高,干燥后横向收缩会使缝隙变宽;雪松木与PVC尺寸则相当恒定。