MakerKiln

Equal Spacing Calculator

Space holes, pins, pickets or slats evenly across a span, or divide a board into equal parts, with every mark.

Local onlyThe math runs in JavaScript in this tab. Your figures are remembered in this browser's local storage, and nothing is uploaded.

Spacing a row evenly looks simple until the last one lands crooked because the gap count was off by one. This lays out holes, pins, pickets or slats across a span and hands you every mark, or divides a board into equal parts and gives the cut lines. Work in whatever unit you like and the answers come back in it.

The off-by-one that trips everyone

Here is the catch that throws most even-spacing jobs. If you want a mark at each end of a run, like shelf-pin holes or fence posts, the number of gaps is one less than the number of holes: five holes have four gaps. But if you are floating items inside an opening with a gap before the first and after the last, like pickets in a gate, there is one more gap than items: five pickets have six gaps. Pick the wrong one and everything shifts. This page has a mode for each, so you do not have to remember which.

Holes and pins, ends included

Use this when the first and last marks sit right at the ends of your span and you want the rest spread evenly between. The spacing is the span divided by one less than the count. It is the mode for a row of shelf-pin holes between two fixed points, posts along a known fence line, or rivets from corner to corner. The first mark is at zero and the last is at the full span, with the even ones in between.

Even gaps, floating inside

Use this when the items sit inside an opening with an equal margin at each end, like balusters in a railing or slats in a panel. Now the span is divided by one more than the count, so the end margins match the gaps between. The first item sits one gap in from the edge, not at the edge. This is what gives a run of pickets that even, deliberate look instead of one crammed against each post.

Mark from one edge, every time

However you space it, measure every mark from the same datum edge rather than stepping off each gap from the last mark. Tiny errors in a stepped measurement add up, so by the far end you are off by a noticeable amount. Working from one zero keeps them independent, and the list of positions here is written that way, straight from a single end, so you can set a stop or a tape once and mark the whole run.

More MakerKiln tools

Put this calculator on your site

Free to embed, and welcome. It runs the same way, in your visitor's browser, and it sizes itself to fit. Paste this where you want it, and it stays current on its own:

<iframe src="https://makerkiln.com/equal-spacing-calculator/embed/" title="Equal Spacing Calculator" loading="lazy" style="width:100%;max-width:560px;height:560px;border:1px solid #d9dee8;border-radius:14px"></iframe>
<p style="font:13px/1.4 system-ui,sans-serif;margin:6px 2px">Free calculator by <a href="https://makerkiln.com/equal-spacing-calculator/" target="_blank" rel="noopener">MakerKiln</a></p>
<script>window.addEventListener("message",function(e){if(e.data&&e.data.mk==="h"&&e.data.slug==="equal-spacing-calculator"){var f=document.querySelector('iframe[src="https://makerkiln.com/equal-spacing-calculator/embed/"]');if(f){f.style.height=e.data.h+"px"}}});</script>
Download the file

Prefer to host it yourself, offline or on an intranet? Download the file above. Keep the MakerKiln credit and it is free to use.