Shelf Pin Spacing Calculator
Hole count, pitch and exact positions for adjustable shelf pins, laid out so both rows line up and the shelf never rocks.
Enter your values
Results update instantly as you type.
Everything is worked out in your browser, so the numbers never leave your device. The shareable link reopens the calculator with exactly these values.
Results
One panel, drawn to scale. Shaded bands are the margins you asked to leave clear.
Working
- usable band = 30 - 3 bottom - 3 top = 24 in
- holes per row = floor(24 / 1.2598) + 1 = 20
- last hole = 3 + (20 - 1) x 1.2598 = 26.94 in
- rear row = 12 - 1.4567 = 10.54 in from the front edge
- total holes = 20 x 2 rows x 2 panels = 80
- pins = 3 shelves x 4 = 12
Quick answer
Shelf pin holes go in two rows per panel, front and rear, at the same heights, so each shelf lands on four pins. The standard pitch is 32 mm, which is what commercial jigs and European hinge hardware are built around, with the rows set back 37 mm from each edge and 5 mm holes.
holes per row = floor((panel height - bottom margin - top margin) / pitch) + 1
Worked example
A 30 in tall by 12 in deep cabinet side, holes from 3 in above the base to 3 in below the top, on the 32 mm system.
Working
- usable band = 30 - 3 bottom - 3 top = 24 in
- holes per row = floor(24 / 1.2598) + 1 = 20
- last hole = 3 + (20 - 1) x 1.2598 = 26.94 in
- rear row = 12 - 1.4567 = 10.54 in from the front edge
- total holes = 20 x 2 rows x 2 panels = 80
- pins = 3 shelves x 4 = 12
Twenty holes per row, eighty in the cabinet. That is a lot of drilling for three shelves, which is the argument for a jig: the count is high and every one of them has to be in the same place on both panels or the shelves rock.
Holes per row by panel height
Holes in one row. Double it for the two rows on a panel, then double again for a pair of sides.
| Panel height | Margin | Usable band | 32 mm | 1 in | 2 in |
|---|---|---|---|---|---|
| 24 in | 3 in | 18 in | 15 | 19 | 10 |
| 30 in | 3 in | 24 in | 20 | 25 | 13 |
| 36 in | 3 in | 30 in | 24 | 31 | 16 |
| 48 in | 4 in | 40 in | 32 | 41 | 21 |
| 60 in | 4 in | 52 in | 42 | 53 | 27 |
| 72 in | 6 in | 60 in | 48 | 61 | 31 |
A tighter pitch means finer shelf adjustment and a lot more drilling. Two inch pitch is plenty for a pantry; 32 mm is worth it where hinge and runner hardware has to share the holes.
At a glance
| What it does | Hole count, pitch, setback and positions for adjustable shelf pins |
|---|---|
| Inputs needed | Panel height and depth, margins, pitch, setback, number of shelves |
| Main output | Holes per row and total holes |
| Formula | holes = floor((height - margins) / pitch) + 1 |
| Category | Home & DIY |
| Cost | Free, no sign-up, no download |
How to use the Shelf Pin Spacing Calculator
- Measure the interior height and depth of the side panel.
- Set margins at top and bottom. Three inches is usual; there is no point in holes where a shelf will never go.
- Choose the pitch. Use 32 mm if any European hinge or runner hardware will share the panel.
- Reference every hole from the same edge and the same face on both panels, so the rows mirror correctly.
- Use a depth stop. Through a 3/4 in panel there is very little margin before a 5 mm bit breaks through the show face.
Frequently asked questions
What is the standard shelf pin hole spacing?
32 mm on centre, which is the pitch the whole European cabinet hardware system is built around. Imperial shops often use 1 in or 2 in instead, which is fine for shelves alone but will not line up with hinge plates or drawer runners.
How far from the edge should shelf pin holes be?
37 mm, or about 1-7/16 in, from the front edge and the same from the back. That setback is part of the 32 mm system, and it keeps the rear row clear of a typical back panel rebate.
What size are shelf pin holes?
5 mm for the system standard, or 1/4 in for common imperial pins. They are not interchangeable: a 5 mm pin in a 1/4 in hole rattles and lets the shelf shift under load.
Do I need two rows of holes?
Yes, front and rear on each panel, so four pins carry each shelf. A single row lets the shelf pivot about the pins and tip forward the moment it is loaded at the front edge.
How deep should shelf pin holes be?
About two and a half times the pin diameter, so roughly 1/2 in for a 5 mm pin. Use a stop collar or a jig with a depth stop, because a 3/4 in panel leaves very little material behind the hole.
Why do my shelves rock?
Almost always because one row is out of alignment with the other, which happens when a panel is flipped and the setback mirrors. Reference every hole from the same face and the same edge, and mark that face before you start.
Positions are exact arithmetic from the values entered. Panel thickness, back panel rebates and hinge hardware all constrain where a rear row can safely go, so check the drill depth against your actual panel before committing to a full set of holes.
Related calculators
- Baluster Spacing Calculator
- Closet Rod Calculator — coming soon
- Picture Frame Mat Calculator