BIW fixture design calculator: 3-2-1 and N-2-1 locating, 4-way and 2-way pins, clamps and screws
A BIW fixture locates a sheet metal panel with rests under its main surface and two pins: a 4-way pin (a round pin in a round hole) fixes X and Y at one hole, and a 2-way pin (a diamond pin, or a round pin in a slot) fixes one direction at the other, across the line between them. Three rests plus those three directions block all six degrees of freedom of a rigid body. A thin panel gets more rests, each with a clamp: N-2-1.
Lay out your rests, pins and stops: the calculator finds any free motion, redundant locator or wrongly turned pin, and how far a weld spot can float with your pin clearance. Then pins and holes, diamond pin width, clamp force, clamp opening and screw length. Skill-Lync read all 1,408 public reports from its BIW fixture design course challenges: 381 say a body has 12 degrees of freedom, and only 1 names N-2-1. Free, runs in your browser.
Asada and By 1985 (locating condition) · Cai, Hu and Yuan 1996 (N-2-1) · Festo DSBC to ISO 15552 · GANTER GN 8620 · ISO 4762 lengths · course rules as quoted in 1,408 reports · checked against a separate solution (7,186 checks at build) · Updated 23 Nov 2026
| # | Type | x (mm) | y (mm) | z (mm) | Dir. (°) | Clamp | |
|---|---|---|---|---|---|---|---|
| 1 | – | ||||||
| 2 | – | ||||||
| 3 | – | ||||||
| 4 | – | – | |||||
| 5 | – |
0.075 mm: the course geo pin on its nominal hole (hole Ø − 0.15 mm, halved). Q: a weld spot or a corner, in panel coordinates.
Why more than 3 rests: sag of a panel between two rests
A flat 0.8 mm steel strip between rests 500 mm apart sags 5.84 mm under its own weight. To keep it within 0.5 mm, space the rests at most 271 mm apart. Flat strip, simply supported: an upper bound, a curved panel is stiffer.
Take M from your clamp's datasheet; the example is GANTER GN 8620-40 at 5 bar.
Example: an 800 × 500 mm flat panel, origin at a corner, Z along the panel normal. Edit any row, change a type, or add locators. "Dir." is the blocked direction of a 2-way pin or stop, in degrees from X. A rest pushes along +Z.
Example inputs: a 20 mm hole with the course geo pin. Enter your own hole and pin tolerances from the drawing; the course text gives none for the hole.
Examples: a Festo DSBC 50 cylinder at 6 bar; the GANTER GN 8620-40 power clamp, 130 N·m at 5 bar, r = 117 mm; the course's M8 screw.
Prefilled with the screw example and claims of a public week 4 report. Each flag adds the count from the 1,408 public reports read.
- Rank 6 from 6 blocked directions: the panel has one position. Deterministic location.
- The 2-way pin blocks the direction across the 500 mm pin line. Worst-case rotation 0.0172° for radial clearances 0.075 and 0.075 mm.
How far Q moves for a 0.1 mm error at each locator
| Locator error of 0.1 mm at | Q moves X | Y | Z | |ΔQ| (mm) |
|---|---|---|---|---|
| Rest 1 (Z) | 0 | 0 | -0.079 | 0.079 |
| Rest 2 (Z) | 0 | 0 | 0.054 | 0.054 |
| Rest 3 (Z) | 0 | 0 | 0.125 | 0.125 |
| 4-way pin 1 (X) | 0.1 | 0 | 0 | 0.1 |
| 4-way pin 1 (Y) | 0.05 | -0.03 | 0 | 0.058 |
| 2-way pin 1 (90°) | -0.05 | 0.13 | 0 | 0.139 |
How does 3-2-1 locating work for a BIW panel?
Each locator blocks one direction of motion at one point. A rest (or NC block) under the panel blocks the normal, Z. A 4-way pin in a round hole blocks X and Y at the hole. A 2-way pin blocks one in-plane direction. Treat the panel as rigid, give it a small motion t (a velocity v of the origin and a rotation ω), and each blocked direction n at point r is one row of a locating matrix:
If the matrix has rank 6, the only motion every locator allows is no motion: the panel has one position. That is the condition Asada and By derived in 1985 for a fixture layout "to locate a given workpart uniquely". If the rank is lower, the calculator lists the free motions in words. If there are more rows than the rank, some locators are redundant. The classic 3-2-1 has exactly 6 rows: 3 rests, a 4-way pin (2 rows) and a 2-way pin (1 row) in the example above.
Redundancy along the normal is how sheet metal is meant to be held: N-2-1. Redundancy in the plane is a fault: two 4-way pins, or two 2-way pins blocking the same direction, fight each other as soon as the hole spacing is not exactly the pin spacing. The presets show all five cases: 3-2-1 (rank 6), N-2-1 (rank 6, 3 extra rests), the 2-way pin turned along the pin line (rank 5), two 4-way pins (rank 6, 1 in-plane redundancy) and only two rests (rank 5, the panel rocks about the line through them).
Does a body have 6 or 12 degrees of freedom?
Six. A rigid body can move along X, Y and Z and turn about them. Many fixture texts count twelve: each motion in both senses, + and −. Carr Lane's locating guide says "A workpiece has twelve degrees of freedom that must be restricted", and that its six 3-2-1 locators "restrict nine degrees of freedom", leaving three for the clamps. Of the 1,408 public BIW fixture reports Skill-Lync read, 381 say a body has 12 degrees of freedom and 100 say 9 are located (1, 2, 3).
Both counts describe the same fixture. The 12-count is worth keeping for one reason: a rest can only push. It blocks −Z, not +Z. So in the 6-DOF count the six locators fix the position, and a clamp opposite each rest keeps the panel pressed onto it. In the 12-count the locators block 9 senses and the clamps block the rest. What the 12-count gets wrong is the pins: 84 reports say the 2-way pin arrests "2 rotational". It blocks one translation at its hole. Because that hole is away from the 4-way pin, it stops the turn about Z; the rests stop the turns about X and Y.
Why do BIW fixtures use N-2-1 instead of 3-2-1?
Because a panel 0.7 to 1 mm thick is not rigid. Between three rests it sags, and welding it in a sagged shape freezes the error in. Cai, Hu and Yuan (1996) proposed an "N-2-1" principle, "verified to be valid for deformable sheet metal parts", with N rests chosen to minimise the panel's deformation. For a feel of the numbers, take a flat strip between two rests under its own weight:
A 0.8 mm steel strip (7,800 kg/m³, 200 GPa) between rests 500 mm apart sags 5.84 mm; at 300 mm, 0.76 mm. To stay within 0.5 mm the rests must be at most 271 mm apart. Aluminium (2,700 kg/m³, 70 GPa) sags 5.77 mm over the same span: almost the same, because sag goes with ρ/E and, as European Aluminium puts it, the modulus of aluminium and steel "compared on a weight-specific basis" is similar. A real panel is curved and flanged, so it is stiffer than a flat strip: treat these as upper bounds. Only 1 of 1,408 public reports names N-2-1 (1); 937 mention 3-2-1.
| Rest spacing (mm) | Sag of a flat 0.8 mm strip (mm) |
|---|---|
| 200 | 0.149 |
| 250 | 0.365 |
| 300 | 0.756 |
| 400 | 2.39 |
| 500 | 5.836 |
| 600 | 12.101 |
Which way should the 2-way pin face?
Its blocked direction should be at 90° to the line from the 4-way pin. With radial clearances c1 and c2 and pin spacing L, the worst-case turn of the panel is, with α the angle between the blocked direction and the pin line:
For the course geo pin on a 20 mm hole (0.15 mm diametral, c = 0.075 mm) and pins 500 mm apart, that is 0.0172°. Turn the 2-way pin along the pin line (α = 0) and the first-order term vanishes:
Now the panel can turn 1.4°, 82 times more, and the far corner of the example panel floats ±17.09 mm instead of ±0.163 mm. The calculator works out the exact rigid rotation and the float at your point Q over every position the clearances allow, not only the small-angle value. With rank 6 it also lists how far Q moves for a 0.1 mm error at each locator: in the example the largest is 0.139 mm, from 2-way pin 1 (90°).
Can a diamond pin be used for 4-way location?
No. A diamond pin touches its hole only on two lands, so it blocks one direction: it is always a 2-way locator. A round pin in a slot is also a 2-way locator. Only a round pin in a round hole is 4-way. The course rule list in the reports has two contradicting versions of one line: 62 reports say a diamond pin "should be used in case of 4 way arresting ... if the hole is slotted", and 15 say diamond pins "can be used for 4 way arresting ... only if the hole is round" (1, 2, 3). Neither works as a 4-way locator.
What a diamond pin does buy is room for the hole spacing tolerance. Its lands are cut back along the pin line, so a hole whose centre is off by ±T along that line still goes on. The corners of a land of width b must stay inside the hole (radius R) when the hole is shifted by T; with pin radius r:
For a 20 mm hole, the geo pin (19.85 mm) and T = ±0.2 mm, the land can be up to 7.27 mm wide (13.7 mm for the re-spot pin). A round pin of the same size takes only T = 0.075 mm. We found no textbook diamond-pin formula in a document we could read; this one is derived from the geometry and checked by brute force.
What pin tolerance and engagement does the course use?
The course text, as quoted in the reports, makes the pin smaller than the hole's nominal size: a geo pin by 0.15 mm (108 reports; "hole size 20 mm, the pin diameter should be 19.85 mm" in 16), a re-spot pin by 0.28 mm (208 reports). These are course rules, not a standard. The float at a pin is half the diametral clearance:
So a nominal geo pin lets the panel float 0.075 mm at the 4-way pin before the hole's own tolerance is added. The height rules: the pin "should engage 3 to 5 mm from car part entry surface" (104 reports), rough locators "start guiding 10 to 15 mm" before the pin engages (167), with an entry angle of 30 to 45° (55) or 35 to 40° (14), placed 2 to 5 mm from the panel edge (93). The pin tab draws that stack with your numbers.
How much force does a fixture clamp give?
Two numbers matter: the cylinder force, and the force at the arm tip. A double-acting cylinder gives:
Festo's DSBC catalogue (to ISO 15552) lists theoretical forces at 6 bar; a 50 mm bore with its 20 mm rod gives 1,178 N extending and 990 N retracting, the catalogue's own rounded values. ISO 15552's basic dimension table gives the rod thread, not the rod diameter, so the rod comes from the maker's datasheet. A power clamp turns that force into a clamping moment through its toggle; the force at the tip is the moment over the outreach:
That is GANTER's GN 8620-40 at 5 bar; its datasheet prints about 1,110 N at r = 117 mm. Double the outreach and the tip force halves. Take M from your clamp's datasheet: we give no default. 25 reports quote a clamping force "Fs = 48 × s³" from the sheet thickness; we could not find its source, so the calculator does not use it.
Opening angle. The panel is loaded straight down, so the open arm must be clear of the column above the panel edge. For a straight arm from the pivot to the tip:
With r_x = 150 mm, the pivot 40 mm below the clamp face, the panel edge 130 mm out and a 10 mm margin (the course text keeps clamp parts "10 to 12 mm away" from the panel, 50 reports), the arm must open 24.4°. The course text gives "vertical clamp mounting opens up to 105°, horizontal up to 135°" (46 reports) and "usually clamp open position is 90°" (65): vendor-specific limits, not a rule.
How long should a fixture screw be?
The course rule, stated in 53 reports, is 1.5 times the screw diameter for thread engagement plus the grip, then the next standard length up:
ISO 4762:2004 lists socket head cap screw lengths 16, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 80 mm and on. Whether a length is made for your size is in the standard's full table and the supplier's range. Rounding up adds thread engagement, so the tapped hole must be deep enough; rounding down cuts engagement below 1.5d. Of 43 reports with a worked example, all 43 recompute and 40 use the same M8 and 25 mm. Of the 36 that pick a length, 35 take the next one up and 1 rounds 45 mm down to 40 mm (1), although 45 mm is itself a standard length.
What did 1,408 student fixture reports get right?
Skill-Lync read every public report from its BIW fixture design course on 23 Nov 2026: 269 week 1, 240 week 2, 211 week 3, 149 week 4 (pin units), 129 week 5, 123 week 6 and 237 week 7 (base units), plus 50 others.
| What the report says | Reports | Examples |
|---|---|---|
| Mentions 3-2-1 | 937 | 1, 2, 3 |
| Six degrees of freedom, never 12 or 9 | 337 | 1, 2, 3 |
| A body has 12 degrees of freedom | 381 | 1, 2, 3 |
| 9 degrees of freedom located, 3 by clamps | 100 | 1, 2, 3 |
| Names N-2-1 | 1 | 1 |
| One pin 4-way, the other 2-way | 87 | 1, 2, 3 |
| The 2-way pin arrests "2 rotational" | 84 | 1, 2, 3 |
| A diamond pin for 4-way arresting | 77 | 1, 2, 3 |
| Geo pin −0.15 mm / re-spot pin −0.28 mm | 108 / 208 | 1, 2, 3 |
| Pin engages 3 to 5 mm | 104 | 1, 2, 3 |
| Screw example recomputes / rounds up | 43 of 43 / 35 of 36 | 1, 2, 3 |
Counts as of 23 Nov 2026, n = 1,408 public reports, from their text only (images and attached files are not read). A report counts once however often it repeats a line. Skill-Lync's own data, a starting point, not a grade.
- 4-way: a round pin in a round hole blocks X and Y at the hole. Right.
- 2-way: a diamond pin in a round hole. Right, if its lands face across the line between the pins.
- Diametral clearance 0.15 mm, radial 0.075 mm: the panel can float 0.075 mm at the 4-way pin. That is the course's −0.15 mm geo pin. Course rule: geo pin −0.15 mm (108 reports), re-spot pin −0.28 mm (208 reports).
- 1.5 × 10 + 30 = 45 mm: your 45 mm recomputes.
- 40 mm is shorter than 45 mm: the thread engagement drops to 10 mm, under the rule's 1.5 × d = 15 mm. Take 45 mm. 1 of 36 public reports that pick a length round down (as of 23 Nov 2026, n = 1,408).
- "The 2-way pin arrests 2 rotations" is not quite right. It blocks one in-plane translation at its hole; because the hole is away from the 4-way pin, that stops the rotation about Z. Rotation about X and Y is stopped by the rests. 84 public reports say the 2-way pin arrests "2 rotational" (as of 23 Nov 2026, n = 1,408).
- "Diamond pins for 4-way arresting": a diamond pin blocks one direction, in a round hole or a slot. 4-way location needs a round pin in a round hole. 77 public reports give a rule with a diamond pin for 4-way arresting (as of 23 Nov 2026, n = 1,408).
What this calculator does not cover
- Panel deformation. The locating check is rigid-body. Where to put the N rests on a real panel, and how much it springs back after welding, needs an FE model of the panel, the approach Cai, Hu and Yuan take.
- Curved locating surfaces. Rests here push along Z and pins sit in the XY plane. For a rest on a sloped face, its blocked direction is the local normal: use a side stop row at that angle as an approximation, or a CAD kinematics check.
- Clamp selection. The tip force needs the clamping moment from your clamp's datasheet, and holding force, cycle life and weld spatter protection are datasheet items too.
- Fasteners beyond length. Thread engagement for aluminium or cast parts, preload and dowel fits are not checked.
Pin units, rest and clamp units, base units and the full fixture in CATIA V5, the way tooling suppliers build them. These challenges are part of Skill-Lync's BIW fixture design courses.
Frequently asked questions
What is the 3-2-1 principle in BIW fixture design?
Three rests fix the panel's main plane, two locators fix a second direction and one fixes the third: six blocked directions for a rigid body's six degrees of freedom. On a BIW panel the "2-1" is usually a 4-way pin and a 2-way pin, and the panel gets more than three rests.
Does a workpiece have 6 or 12 degrees of freedom?
Six: three translations and three rotations. The "12" in many fixture texts counts each one twice, plus and minus. That count is still useful: a rest or stop can only push, so it blocks one sense, which is why every rest needs a clamp opposite it. 381 of 1,408 reports Skill-Lync read say 12.
What is the difference between a 4-way and a 2-way pin?
A 4-way pin is a round pin in a round hole: it blocks X and Y at that hole. A 2-way pin, a diamond pin in a round hole or a round pin in a slot, blocks one direction. Point that direction across the line between the two pins, so it stops the panel turning about the 4-way pin.
What is the N-2-1 locating principle?
N-2-1 keeps the 2 and 1 for the in-plane directions but uses N rests on the main surface, more than three. A thin panel sags between three rests, so extra rests and clamps hold it to its shape. Cai, Hu and Yuan proposed and verified it for deformable sheet metal in 1996.
Why is a 2-way pin turned the wrong way a problem?
If its blocked direction runs along the line to the 4-way pin, nothing stops the panel turning about the 4-way pin: the locating matrix has rank 5. Only the clearance stops it. For geo pins 500 mm apart that allows 1.4°, against 0.0172° with the pin turned correctly.
How do you calculate screw length in a fixture unit?
The course rule is 1.5 times the screw diameter plus the distance from the top face to the tapped part, then the next standard length up. An M8 screw through 25 mm gives 37 mm, so 40 mm. ISO 4762 lengths step 30, 35, 40, 45, 50 mm in this range. Check the tapped hole is deep enough.
Related on Skill-Lync
- Tolerance stack-up calculator: shims, blocks and the stack under a mylar
- True position calculator: hole position tolerance for locating holes
- Limits and fits calculator: ISO fits for pins and bushes
- Car roof design calculator: the BIW roof challenge
- BIW design and BIW fixture courses compared
- Student project: Week 4 Pin Unit Design Challenge
- All free engineering tools
Sources
- H. Asada and A. By, "Kinematic analysis of workpart fixturing for flexible assembly with automatically reconfigurable fixtures", IEEE Journal of Robotics and Automation 1(2), 86-94, 1985 (abstract).
- W. Cai, S. J. Hu and J. X. Yuan, "Deformable Sheet Metal Fixturing: Principles, Algorithms, and Simulations", ASME J. Manufacturing Science and Engineering 118(3), 318-324, 1996 (abstract).
- Carr Lane Mfg., Locating and Clamping Principles for Jig and Fixture Design (the twelve and nine degrees of freedom text).
- Festo, Standard cylinders DSBC to ISO 15552, catalogue 2012/09: piston rod diameters and theoretical forces at 6 bar. ISO 15552:2018 clauses 1 and 4.1, Table 2 (sample pages).
- GANTER GN 8620 Power Clamps, Aluminum, Pneumatic, datasheet 8/2026: clamping moment at 5 bar, clamping force at r.
- ISO 4762:2004 Hexagon socket head cap screws, Table 1 nominal lengths (sample pages).
- SSAB, Innovative design with high-strength steel (density 7,800 kg/m³, E 200 GPa); European Aluminium, Aluminium Automotive Manual, Design with aluminium (E 70,000 MPa, 2,700 kg/m³); NIST CODATA g_n = 9.80665 m/s².
- Course rules (pin tolerance, engagement, rough locators, screw length, clamp opening): as quoted in Skill-Lync's 1,408 public BIW fixture reports, read 23 Nov 2026. scripts/verify/biw_fixture.py recomputes every case another way (SVD and QR ranks, exact Fraction null spaces, brute-force clearance and float searches, sampled diamond outlines, a finite-difference beam, sampled clamp arms), 534 cases; the page checks itself against it at build time (7,186 checks).