MachineCalcs

Shelf Pin Hole Spacing Calculator

Lay out shelf-pin holes for a cabinet side: hole count, first/last hole positions and leftover from interior height, 32 mm (or custom) pitch and top/bottom clearances — centered or fixed-start.

Materials 6 inputs 6 results

Calculator

Drillable interior height of the cabinet side (between bottom and top panels or rails).
mm
Center-to-center hole spacing. 32 mm is the European system standard.
mm
Minimum distance from the top of the drillable zone to the first hole.
mm
Minimum distance from the bottom of the drillable zone to the last hole.
mm
Centered balances the leftover top and bottom; fixed-start pins the first hole at the top clearance (jig-from-top workflows).
Distance from the cabinet front/back edge to each hole row. 37 mm is the system standard and what most jigs index to.
mm

Results

Default result
Edit inputs
Holes per row(n)
18
Pass

Drill the same layout on all four rows (two per side).

floor((H - c_t - c_b)/p) + 1.

Also computed

First hole from top(y₁)78mm

Measured down from the top of the drillable zone.

Last hole from top(yₙ)622mm

Row span((n-1)·p)544mm

Below last hole(c_b')78mm

Row setback(s)37mm

37 mm from front and back edges is the 32 mm system convention; keep both rows of a side identical.

Method notes 4 notes
  • The 32 mm system pairs a 32 mm pitch with 37 mm row setbacks and 5 mm pins; 1/4 in pins on a 1-1/4 in pitch are the common imperial equivalent.
  • Drill all rows from the same reference edge so shelf holes line up — a flipped jig is the classic source of rocking shelves.
  • Holes 8-10 mm deep in 16-19 mm panels leave a safe back wall; through-drilling needs backing to prevent blowout.
  • For drawer slides on the same rows, keep the system holes aligned with the slide screw pattern (most slides are drilled for 32 mm increments).

Shelf pin layout is n = floor((H - c_t - c_b)/p) + 1 holes of pitch p (32 mm system standard) with span (n-1)*p; the leftover either centers the run or stays at the bottom. This calculator returns hole count, first/last hole positions and the remainder, with the 37 mm row-setback convention noted.

Continue workflow

All Materials

How to use this calculator

  1. Measure the drillable height. The interior face between the bottom and top panels (or rails) where holes may go.
  2. Set pitch and clearances. 32 mm pitch and ~64 mm minimum clearance at each end is typical; clearances also keep holes out of joinery and hinge plates.
  3. Pick centered or fixed-start. Centered splits the leftover equally (symmetric look); fixed-start indexes from the top clearance (jig-from-top workflows).
  4. Drill from one reference. Use the reported first-hole distance for every row, always from the same edge, with a depth stop.

How it works

Shelf-pin layout is integer arithmetic: how many holes of pitch p fit in the drillable height after the end clearances, and where does the run start so the leftover lands where you want it?

n = floor((H − c_t − c_b)/p) + 1,  span = (n − 1)·p

The slack — what's left after the holes consume their span — either splits evenly (centered mode) or piles at the bottom (fixed-start mode). Both are correct; mixing them between rows is what produces rocking shelves. The 37 mm row setback keeps the layout compatible with system hardware: hinge base plates, drawer slides and shelf supports are all designed around it.

Around the same cabinet: the cabinet door size calculator and drawer box calculator size the fronts and boxes, and the shelf sag calculator answers whether the shelf spanning those pins will stay flat under the encyclopedia.

Worked example

Verified against the live calculator

A bookcase side with H = 700 mm of drillable height, 32 mm pitch and 64 mm minimum clearance each end:

n = floor((700 − 128)/32) + 1 = 18 holes,  span = 544 mm

The 28 mm of slack splits to 14 mm a side in centered mode, so the first hole lands 78 mm from the top and the last at 622 mm — leaving identical 78 mm margins top and bottom. Drill the same schedule on all four rows (front and back of each side) from the same top reference, 37 mm in from the edges, 9 mm deep.

Frequently asked questions

What is the standard shelf pin hole spacing?

32 mm center-to-center — the European cabinet system — with rows set back 37 mm from the front and back edges and 5 mm pins. The common imperial workflow uses 1/4 in pins on a 1-1/4 in (≈32 mm) pitch. Matching the standard keeps your holes compatible with jigs, hardware and drawer slides.

How far from the cabinet edge should shelf pin holes be?

37 mm from the front and back edges is the 32 mm system convention, and most commercial jigs index to it. Anything from 35-50 mm works structurally; what matters is that both rows on each side are identical and drilled from the same reference edge.

How deep should shelf pin holes be?

About 8-10 mm deep for 5 mm pins in 16-19 mm panels — deep enough for full pin engagement, shallow enough to leave a solid back wall. Use a depth stop; blowing through a finished side is the unrecoverable version of this mistake.

Why do my shelves rock on the pins?

Almost always a layout-reference error: one row drilled from the top while the mirror row was drilled from the bottom (or the jig flipped), so holes are offset by the leftover remainder. Drill every row from the same reference edge — the calculator reports the first-hole distance to make that explicit.

Method & assumptions

  • Pure layout geometry — pin shear strength, shelf sag and panel material are separate questions (the shelf sag calculator covers the span side).
  • Clearances are minimums: the centered mode adds the slack symmetrically on top of them.
  • Hardware compatibility assumes the 32 mm system conventions (5 mm holes, 37 mm setback); decorative or antique-style supports may want custom spacing.
Embed this calculator on your site free

Paste this where you want the calculator to appear. It stays in sync — same formulas, metric & imperial, light/dark — and a small credit link helps people find more tools.

Open widget

Live preview