← Back to ProDirt Apps Even Spacing Calculator Logo

Even Spacing Calculator

Exact on-center spacing for posts, balusters, shelving, and pickets — calculated instantly

Download Free on Google Play

Free Online Calculator

Enter your run and get exact on-center spacing, a full mark-out list, and a live layout diagram — no install, right here in your browser.

Working on the jobsite? Get the free Android app — it works offline, saves your calculation history, and a one-time Pro unlock exports a print-ready PDF cut sheet you can print for the shop or text to the crew.

Perfect Spacing, Every Time

The Even Spacing Calculator is the ultimate tool for woodworkers, DIY enthusiasts, and construction professionals who need perfectly distributed layouts in seconds. Whether you're installing railing balusters, fence pickets, deck planks, bookshelves, or wall art, this app handles the complex math so you can focus on building.

The Problem with Traditional Methods

Before: Manual Calculation

  • Time-consuming trial and error
  • Scrap paper covered in crossed-out math
  • Uneven spacing that looks amateur
  • Wasted materials from mistakes
  • Frustration and rework

After: Even Spacing Calculator

  • Instant, accurate results
  • Professional measurements in seconds
  • Perfectly even distribution
  • Zero waste from calculation errors
  • Confidence and precision

What Can You Space Evenly?

Any time you need a row of things spread out so the gaps all match, the same on-center math applies. A few of the layouts people reach for it:

Woodworking & Building

Deck balusters and railing spindles, fence pickets and posts, wall studs on-center, shelf brackets and shelf pins, cabinet knobs and drawer pulls, and slats for screens or a headboard.

Home & Décor

A row of picture frames or wall art, coat hooks and wall hooks, curtain rings, tile and backsplash layouts, and evenly spaced holes for a pegboard or grid.

Outdoor & Landscaping

Tree and plant spacing down a row, garden bed markers, deck-post and pier layouts, and fence-line stakes — anywhere you need even center-to-center distances across a run.

Whatever you're laying out, enter the total run, how many pieces, and their width — the calculator returns the exact on-center spacing and clear gap, to 1/64" or the whole millimetre.

How to Calculate Even Spacing (The Formula)

If you want to do it by hand, here's the whole thing. To space n pieces evenly across a length L, where each piece is w wide and a piece sits at each end of the run:

On-center spacing = (L − w) ÷ (n − 1)

That gives you the distance from the center of one piece to the center of the next. The clear gap between pieces is simply:

Gap = on-center − w

The reason you measure on-center rather than gap-to-gap: mark every center from one end with a tape, and a rounding error can't accumulate. Measure each gap in turn and the errors stack — by the seventh picket you're visibly out.

Worked example — imperial

A deck rail with 96" between posts, 8 balusters, each 1.5" wide:

Worked example — metric

A fence panel 2000 mm wide, 6 pickets, each 50 mm wide:

Real numbers rarely land that clean. Divide 2400 mm by 7 and you get 342.857… — and that's the point where the scrap paper starts. The app does this division for you, rounds every position to something you can actually mark (a whole millimetre, or a fraction down to 1/64"), and lists every center from one end so nothing drifts. It also handles edge offsets when the run doesn't start flush, and shows the layout as a diagram before you cut.

🔧 Key Features

Imperial Precision

Customize accuracy up to 1/64" for meticulous detail work. Perfect for fine woodworking where every fraction matters.

Metric Support

Now supports both Imperial (inches) and Metric (mm) measurements. Work in whatever system you prefer.

On-Center Measurements

Get the exact center-point for every piece, ensuring perfect alignment for posts, balusters, and more.

Detailed Measurement Table

Toggleable view that lists the "start" and "center" positions for every single piece—perfect for long runs like fences or decks.

Edge Offset Controls

NEW: Set inset spacing from edges for professional-looking layouts with proper margins.

Item Thickness Calculator

NEW: Calculate exact spacing including the width or thickness of your materials for gap-accurate layouts.

Export & Share

Save and share your measurements with your team or for future reference. No more losing your calculations.

📄 Pro Cut Sheet — PDF PRO

Export a print-ready vector PDF: your full mark-out list, on-center and clear-gap dimensions, and a scale bar so it reads true on paper at whatever size you print. Print it for the shop or text it to the crew. A one-time purchase — no subscription — and it also removes the banner ad.

Live Layout Diagram

A diagram draws your spacing as you type, so you can see the run before you cut anything. Catch the mistake on the screen instead of on the lumber.

Calculation History

Every calculation is saved. Come back to the job tomorrow, or hit the next identical run, and pull the numbers straight back up — no re-entering.

Free, No Subscription

The full calculator — every number, the measurement table, the live diagram, history, and sharing your figures — is free, supported by a single banner ad. No subscription, ever.

Free vs Pro

Free (ad-supported): the entire calculator — on-center & clear-gap numbers, the measurement table, live diagram, calculation history, and sharing your figures. Everything you need to lay out a run.

Pro — one-time unlock: export the print-ready PDF cut sheet, and remove the banner ad. Pay once. Never a subscription.

📐 Perfect For

Carpentry & Woodworking

Balusters, spindles, shelving, shelf brackets, cabinet hardware, and trim work. Get professional results every time.

Decking & Framing

Timber screws, fasteners and joists at equal centers. Work out your fixing pattern in millimetres or inches before the first screw goes in.

Construction Projects

Fence posts, fence pickets, deck boards, siding, framing studs, and structural layouts. Build with confidence.

Home Decor & Design

Picture frames, wall hooks, gallery walls, floating shelves, and lighting fixtures. Achieve that designer look.

Outdoor Projects

Deck railings, fence pickets, pergola beams, and garden borders. Perfect outdoor spacing in any weather.

Furniture Building

Drawer pulls, shelf pins, table legs, and decorative details. Precision for custom furniture.

DIY Enthusiasts

Any task where "eyeballing it" just isn't good enough. Stop guessing, start measuring.

How It Works

Using the Even Spacing Calculator is simple:

  1. Enter your total length – The distance you need to fill (wall, fence, deck, etc.)
  2. Input the number of pieces – How many items you're installing
  3. Add item width (optional) – The thickness or width of each piece
  4. Set edge offsets (optional) – Inset from the edges if needed
  5. Get precise measurements – Instant calculations with exact spacing between and center positions for each piece

View the detailed table to see start and center measurements for every single piece. Export your layout to reference while working, or share it with your crew.

The ProDirt Difference

Like all ProDirt apps, Even Spacing Calculator follows our core principles:

Even Spacing Calculator — FAQ

What is the formula for even spacing?

To place n pieces evenly across a length L with a piece at each end, on-center spacing = (L − w) ÷ (n − 1), where w is the width of each piece. The clear gap between pieces is on-center − w. Mark every center from one end of the run so rounding errors can't accumulate.

How do I space fence pickets or deck balusters evenly?

Enter the total run length, the number of pickets or balusters, and each piece's width. The calculator returns the on-center distance and the clear gap, plus a mark-out list measuring every center from one end — so you tape once and mark instead of eyeballing gap after gap.

Can it calculate spacing for shelf brackets, coat hooks, or screws?

Yes. Anything laid out at equal intervals — shelf brackets, coat hooks, cabinet knobs, wall studs, screws, or garden plants — works the same way: give it the length, the count, and the item width, and it returns exact positions.

Does the even spacing calculator work in inches and fractions?

Yes — imperial fractions down to 1/64", rounded to a fraction you can read off a tape. Switch to metric and it works in whole millimetres instead.

Is the even spacing calculator free?

The online calculator on this page is free with no sign-up. The Android app is free too (ad-supported); a one-time Pro unlock adds a printable PDF cut sheet and removes ads — never a subscription.

What's the difference between the web calculator and the app?

The web version does the full calculation — on-center, gap, and the mark-out list — right here in your browser. The app adds offline use on the job site, saved calculation history, and the Pro PDF cut sheet you can print and hand to your crew.

Stop calculating and start creating.

Download Even Spacing Calculator Free