kapy academy

Hex bits and tool holders

14 min readUpdated Nov 2026

Nearly every screwdriver bit, hex-shank drill and driver accessory sold in Europe and the Americas has the same shank: a 1/4″ (6.35 mm) hexagon across the flats, size 6.3 in ISO 1173. One printed pocket fits all of them, from a 25 mm insert bit to a 150 mm power bit. Draw it at 6.65 across the flats, with 0.10 of clearance per side. The standard works in your favor: the steel hexagon has truncated corners and goes in even though the nozzle rounds the pocket's own.

Shank dimensions

Male hex shanks, ISO 1173
Size Across flats s (max / min) Across corners e (max / min) Typical use
4 (5/32″) 3.96 / 3.91 4.48 / 4.42 Precision bits for electronics and phone repair (4 mm sets)
6.3 (1/4″) 6.35 / 6.29 7.18 / 7.11 Everything else: insert and power bits, bit holders, hex-shank drills and countersinks
8 (5/16″) 7.93 / 7.87 8.96 / 8.90 Some impact and heavy-duty bits

Across the flats, s runs from 6.29 to 6.35: design the pocket around the maximum. Across the corners, the standard sets e ≈ 1.13 s, with the corners deliberately chamfered or rounded: 7.11 to 7.18 at 1/4″, against the 7.33 of a perfect hexagon.

At 1/4″ there are two forms. Form C is the 25 mm insert bit, with a hexagon at least 11 mm long and a small groove for the spring of hand-held bit holders. Form E is the power bit, which as of late 2026 is mostly sold in 50, 70, 90 and 150 mm lengths, with a hexagon at least 25 mm long and a deep groove for the ball of a quick-change holder or an impact driver. The pocket only touches the hexagon: do not design anything that depends on where the groove falls.

For hex key holders you also need these:

Hex keys, ISO 2936:2014, normal series
s e min e max Long arm l1 Short arm l2
1.5 1.63 1.68 46.5 15.5
2 2.18 2.25 52 18
2.5 2.75 2.82 58.5 20.5
3 3.31 3.39 66 23
4 4.43 4.53 74 29
5 5.57 5.67 85 33
6 6.70 6.81 96 38
8 8.97 9.09 108 44
10 11.23 11.37 122 50

Sources: ISO 1173 (tables from the preview of the 1975 edition; the ISO 1173:2001 table reproduced on Wikipedia under "Screwdriver bit" gives the same values); product sheets from Wiha, Hazet and Kramp; ISO 2936:2014, table 1 (preview).

Sizing the pocket

Across the flats, the pocket measures 6.35 + 2 × (hole compensation + clearance), both values per side. With a HOLE_COMP of 0.05 and 0.10 of clearance per side, the pocket is 6.65 across the flats and 7.68 across the corners. When you print, the machine eats the compensation and the clearance is what is left: 0.10 per side.

Why 0.10 per side and not the 0.20 of a sliding fit? Because the pocket is short and the bit is steel: at 0.10 the bit still drops in under its own weight, and the tighter clearance keeps it upright. In a pocket of depth d with clearance c per side, the bit tilts by about 2c/d radians: with d = 12 mm, 0.2/12 ≈ 1°. At 0.20 per side that is 2°, and a row of bits already looks crooked. If your printer needs a different clearance, use your calibrated value.

The corners give the margin. The nozzle rounds the pocket's inside corners, but the bit is at most 7.18 across the corners and the pocket is 7.68: that leaves a quarter of a millimeter per corner for the rounding. A round hole of at least 7.18 plus clearance also takes the bit, but it tilts and spins: fine for drills, too loose for bits.

Do not press-fit the bits. A pocket 0.05 per side smaller than the bit (6.25 across the flats) stretches the wall by 1.6 % (0.10 / 6.25), more than the 1–1.5 % PLA tolerates in repeated use (Press fits that do not crack). The wall cracks or creeps within weeks, and the steel corners keep scraping at it.

At a depth of 12 mm, a 25 mm bit stands 13 proud and you can grab it with two fingers; less than about 10 mm proud and you end up prising it out with a fingernail. Power bits want 15–20 mm of pocket, and more depth reduces the tilt (0.2/20 ≈ 0.6°). The mouth chamfer (0.6 × 45°) opens upwards, so it prints with no overhang and guides the bit on the way in.

Print the pocket with its axis in Z: all six faces come out vertical and true. A wall holder prints lying on its back, so its pockets end up in Z too. If the part has to print upright (because it carries the profile of a cleat or a hook), the pocket ends up horizontal: put a flat on top. The two faces next to it sit at 30° from vertical and the ceiling is a bridge of 6.65/√3 ≈ 3.8 mm, which prints clean. With a corner on top, the roof faces overhang at 60° from vertical, beyond the 45° of Orientation and overhangs.

The wall between two pockets is the pitch minus the pocket. With corners lined up along a row and flats face to face between rows, at a 10 mm pitch the wall is 10 − 7.68 = 2.32 between corners and 10 − 6.65 = 3.35 between flats.

6.35 across flatspocket 6.657.18 across corners7.68 vs 7.18clearance 0.10 per side (+0.05 compensation)perfect hexagon, 7.33form C, 25 mmform Egroove13 prouddepth 12chamfer 0.6
The 1/4″ shank measures 6.35 across the flats and at most 7.18 across the corners, because the corners come truncated. That is why a 6.65 printed pocket, its corners rounded by the nozzle, takes it upright.

Example: a Gridfinity bit bin

You want to store 21 insert bits in a 1 × 2 Gridfinity bin. The bin measures 41.5 × 83.5 (42 grid with 0.5 clearance) and, with 0.95 walls, leaves an interior of about 81.6 × 39.6 (Gridfinity: the 42 mm grid).

Put 7 columns at a 10 pitch along the long side and 3 rows at 10. Lengthways, corners facing, they take 6 × 10 + 7.68 = 67.7; across, flats facing, 2 × 10 + 6.65 = 26.7. Room to spare both ways.

Now the height. You need the 12 pocket plus at least 1 mm of floor under it: 13 mm of solid material above the 4.75 foot. A 3U bin (21 mm) has 16.25 above the foot, so it fits, with a 4.25 floor. The bits stand 13 proud, so the loaded bin is 34 tall: check it still fits the drawer.

If you want more bits, 8 columns × 4 rows = 32 fit in the same bin. At a 10 pitch they fit the interior (77.7 × 36.7), but the bits rise through the height of the stacking lip, and the fourth row (3 × 10 + 6.35 = 36.35 mm across the bits' outer flats) rubs its opening, which leaves about 36.3. At a 9 pitch (70.7 × 33.7) they clear it comfortably, although the wall between corners drops to 9 − 7.68 = 1.32, three lines, and it gets hard to pick a bit without touching its neighbors.

The Gridfinity bin's magnets go in the foot, not under the pockets.

1 × 2 binpitch 10row spacing 1067.726.72.32 at pitch 101.32 at pitch 9foot 4.75floor 4.25 (≥ 1)pocket 1213 proud
Twenty-one bits in a 1 × 2 Gridfinity bin at a 10 mm pitch. At 9 mm, 32 fit clear of the stacking lip, but the wall between corners drops to 1.3 mm and it gets hard to pick one without touching its neighbors.

Three ways to hold a bit

By gravity. In a pocket facing up, the bit stays put under its own weight. This is the right choice for a drawer or the bench: a 25 mm bit weighs about 6 g and needs nothing else.

By magnet. For pockets facing sideways or down (a wall holder, a case you carry around), put a Ø6 × 2 disc magnet under each pocket and drop it in with a mid-print pause: a seat of Ø + 0.3–0.4 and a roof of at least three layers. First check that your firmware really pauses on the command the slicer writes (Embedding magnets and nuts mid-print). The seat, about 6.3–6.4, fits inside the 6.65 across the flats, so it can sit right under the floor of the pocket.

An N45 Ø6 × 2 has a pull force of about 7.3 N on thick steel. Through a 0.6 roof and against the end of the shank it pulls far less, but the bit weighs 0.06 N and the margin is still wide: the pocket carries the bit and the magnet pulls along its axis to stop it sliding out. Only on a flat magnetic strip, with no pocket, does the bit hang by friction, and then it holds around a fifth of the pull force (Magnets in mechanisms). A bit that spends months on a magnet ends up magnetized, which helps when you are driving screws.

By friction, without a press fit, you have three options:

  • Crush ribs: three thin vertical ribs per pocket that the bit flattens the first time it goes in (Crush ribs and compliant pins).
  • A thin lip at the mouth, below the chamfer (otherwise the chamfer eats it): a membrane in the layer plane that the bit flexes as it passes, with the strain running along the beads.
  • An O-ring or a TPU insert.

Anything that bends prints with its length in the layer plane, lying flat (stance A) or on edge (stance B), never standing up (stance C) (Layer orientation for mechanisms). That is why long vertical fingers beside the pocket do not work: they bend against the layer bond and snap along the layer line at their root.

To choose: pocket facing up, gravity; facing sideways or carried around, magnet; if you do not want them rattling in the case, ribs or an O-ring.

gravityprint Z3-layer roofØ6 × 2 magnetprint Zcrush ribslip in the layer planeprint Zbreak at the layer linefingers along Zprint Zprint ZC-clip printed flatcorner on top: roof 60° from verticalflat on top: 3.8 mm bridgeprint Z
Facing up, weight is enough; sideways, a magnet under each pocket. If you want friction, keep the bending beam lying in the layer plane: a lip or a C-clip printed flat, never fingers along Z. A horizontal pocket, with a flat on top.

Wall holders

Screwdrivers. A shelf with round holes: the shaft goes through the hole and the handle rests on top. The hole is the shaft Ø plus the sliding fit and the compensation; since the handle carries the load, not the hole, you can be generous: 0.4 or more over the diameter. The shelf works as a cantilever with the peak moment at the root: thicken the joint to the back plate and put a gusset underneath (Ribs, gussets and fillets).

Long tools held horizontally. A C-clip around the handle or the shaft, printed flat so the C opens in the layer plane. The clip dimensions are in Clips for tubes and cables.

Hex keys. A row of holes the long arm drops through, with the short arm resting on top so the key hangs like a hook. A round hole of Ø = e max + 0.4 + 2 × 0.05 is enough: for a 4 mm key, 4.53 + 0.4 + 0.1 ≈ 5.0. Have every short arm point forwards, square to the row; then a 10–15 mm pitch leaves room for your fingers. In a round hole the key spins and the short arm swings into its neighbors: a hex hole or a slot that locks the short arm stops that.

Bits on the wall. The same block, lying on its back so the pockets come out in Z, or tilted 15–30° upwards so gravity helps, with a magnet under each pocket.

To hang it, choose the wall system first and design the back for it: openGrid: the 28 mm board, Multiboard: the wall of anchor points, Pegboard or French cleat. Inserts for cases compatible with Packout or Systainer³ are in Modular tool cases.

Inside a vehicle, never PLA or PETG: a holder that rides in a van carries little load, and out of direct sun ASA or PC will do (Heat, cold, sunlight and chemicals). Use N35–N45 magnets, which are good to about 80 °C; N50–N52 lose strength above 60–65 °C.

Handles that turn the bit

A printed handle with a hex pocket transmits torque through all six faces, like a captive nut in reverse; if the pocket is loose, only the corners carry the load (Captive nuts and clearance holes). For hand tightening, use PETG or PA, engage at least 10 mm of bit and keep the pocket at 0.10 per side. Never use a printed drive like this on an impact driver; better still, build a store-bought magnetic bit holder into the handle. The handle's shape is covered in Knobs, handles and grips.

When it fails

Symptom, cause and fix
Symptom Cause Fix
Bits will not go in, or only by force Pocket printed small, no compensation Calibrate hole compensation and print a coupon; do not sand all six faces
Bits tilt and wobble 0.20 per side clearance or more, or a shallow pocket 0.10 per side, depth ≥ 10
The pocket wall cracks after a few weeks Designed as a press fit Give it clearance; grip with ribs, a lip or a magnet
Bits fall out of the wall holder or the case Sideways pocket held by gravity alone A magnet under each pocket, or crush ribs
Hard to pick a bit, fingers hit the neighbors Pitch too tight or bit sunk too deep Pitch ≥ 10 and at least 10 mm of bit proud
The fourth row stops the bin stacking Bits at a 10 pitch against the stacking lip's opening A 9 row pitch, or three rows
The horizontal pocket prints with a sagging roof Hexagon corner on top Flat on top, or print the part lying down so the pocket runs in Z
The holder warps or drops bits in the van in summer PLA or PETG; N50–N52 magnets above 60 °C ASA or PC, N35–N45 magnets
The friction fingers snap Fingers drawn along Z A lip in the layer plane, or ribs

How to test it

Before the whole bin, print a row of three pockets at 0.05, 0.10 and 0.15 per side, 12 deep: about 20 minutes. Keep the pocket where the bit drops in under its own weight and stands straight (Test coupons). If the holder uses magnets, turn the pocket upside down with a bit in it and shake it: the bit must stay.

See also

Design it in KapyCAD

Draw the part to the standard's dimensions and keep them as values you can edit.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?