Allen Bolt Size Chart (MM & Inches) & Types | Head & Key Dimensions

2026/11/12 15:08:23

Look inside a machine tool fixture, an injection mould, a robot joint, or an aerospace housing, and the same small part is almost always there holding it together: the Allen bolt. This type of hex bolt dominates tight-space, high-preload joints in the machining industry! 

Allen Bolt Size Chart (MM & Inches) & Types - Allen Hex Head & Key Dimensions.png

What are Allen bolts and how do they differ from external-hex bolts? Today, we will not only examine common Allen head styles and their applications, but also provide complete Allen Bolt size charts for metric and imperial head and wrench dimensions based on ISO, DIN, ASME, and ASTM standards, along with answers to the most frequent questions from engineers: how to determine the correct Allen key size, installation torque, troubleshooting, FAQs, and key considerations for when standard off-the-shelf components are insufficient and custom Allen bolts are required.

1. What are Allen Bolts?

An Allen bolt, also called an Allen screw, Allen head bolt, socket bolt, or hex socket screw, is most properly named a socket head cap screw (SHCS) on an engineering drawing. The head is a smooth cylinder with a hexagonal recess cut into the top face, and it is driven from above with an L-shaped hex key (Allen key). Some catalogs also list them as inner-hex cap screws or socket cap screws.

Four features define this family of fasteners:

  • The cylindrical head has no external wrenching flats, so no side clearance is required around the head.
  • The internal hex drive spreads torque across six faces, allowing high tightening loads in very little space with low risk of slipping out.
  • The head can sit inside a counterbore, flush with or below the workpiece surface.
  • Default supply is Grade 12.9 alloy steel (tensile ≥ 1220 MPa / 180 ksi class), which is why this fastener dominates high-preload joints.

The name is a trade legacy rather than an inventor's surname. The Allen Manufacturing Company in the United States commercialised and popularised the internal-hex drive together with its matching L-shaped key in the early 20th century; "Allen" consequently became the generic name for both the screw and the tool. The formal designation on a drawing is SHCS to ISO 4762 or DIN 912 for metric hardware, and ASME B18.3 for inch hardware.

Differences Between Allen Bolt and Standard Hex Bolt

Allen bolt (internal hex)Standard hex bolt (external hex)
Tool engagementHex key inserted into the head from aboveSpanner / socket fitted over the head from the side
Side clearanceNone requiredWrench swing space required
Head sizeCompact, ≈ 1.5 × dLarger across-flats, plus washer bearing area
Flush mountingYes, via counterboreGenerally no
Typical strength12.9 as standard8.8 / 10.9 as standard
Unit costHigherLower
Failure mode to watchRounded socket from a wrong or worn keyRounded external corners

Where they are used generally: machine tools, moulds and dies, jigs and fixtures, automation and robotics, gearboxes, and any joint that needs high clamp load in a confined space. 

Where they be used carefully: dirty or corrosive environments (the socket traps debris), applications using ball-end keys at final torque, and any substitution of stainless steel for a 12.9 alloy-steel part without recalculating preload.

2. Allen Bolt Standards

Calling a fastener "standards-compliant" actually covers four layers at once: the product and dimensional standard that fixes the geometry, the material and mechanical property standard that fixes the strength, the thread and tolerance standard that fixes interchangeability, and the tool standard that fixes the hex key. A complete purchase specification usually touches all four.

Product and Dimensional Standards
StandardScopeNotes
ISO 4762:2004Metric socket head cap screwsCurrent international standard, replacing DIN 912; new designs should reference it
DIN 912German-origin SHCSWithdrawn but still widely used worldwide; most sizes interchange with ISO 4762
ASME B18.3Imperial socket cap, shoulder, set screws, and hex keysCovers cap, button, flat, shoulder, set, and keys; includes B18.3.1A, B18.3.3A sub-parts
ASME B18.3.1MMetric-series SHCS, US versionUS metric-series size standard
BS 4168Older British metric SHCSCommon on legacy Commonwealth drawings
ISO 7380-1 / -2Button head / flanged button headLow dome profile; -2 adds integrated flange
ISO 10642 / DIN 799190° flat (countersunk) head socket screwsNeeds a 90° conical counterbore
DIN 7984 / DIN 6912Low-head / low-head with center holeFor height-restricted assemblies
DIN 251Flanged socket head cap screwsFlange face spreads load and resists loosening
ISO 7379Socket head shoulder screwsPrecision shoulder for pivots and strippers
ISO 4026–4029 / DIN 913–916Set screws: flat, cone, dog, cup pointHeadless screws for shaft locking
ISO 12474Fine-pitch SHCSMetric fine-thread variant of ISO 4762
Allen Bolt Material, Mechanical Property, and Finish Standards
StandardRole
ISO 898-1Carbon and alloy steel property grades (8.8 / 10.9 / 12.9); 12.9 Rm ≥ 1220 MPa, Rp0.2 ≥ 1100 MPa
ISO 3506-1Stainless steel grades (A2-70, A4-70, A4-80)
ASTM A574 / A574MImperial / metric alloy SHCS; ≤ 1/2" ≥ 180 ksi, larger ≥ 170 ksi; hardness HRC 39–45 / 37–45
ASTM F835 / F879Alloy / stainless button and flat head socket screws
ASTM F837 / F837MStainless SHCS
ISO 4042 / ISO 10683Electroplating and zinc flake coatings
ISO 6157-1 / -3Surface discontinuities: quench cracks, laps, cracks
ISO 4759-1Product tolerance classes (usually Class A)
Allen Bolt Thread, Clearance Hole, and Tool Standards
StandardRole
ISO 261 / 262, ISO 68-1, ISO 965-1Metric diameter and pitch series, basic profile, tolerances
ASME B1.1Unified Imperial threads UNC / UNF / UNEF and 2A / 3A grades
ISO 273Clearance holes for bolts (fine / medium / coarse)
ISO 2936 / DIN ISO 2936Hex keys, 0.7 to 36 mm; DIN 911 was withdrawn in 1987 but still appears on packaging
ASME B18.3 (key section)Imperial hex keys, 0.028 to 1 in, short- and long-arm series

Tip - A complete spec writing example: ISO 4762 - M8 × 1.25 × 30 - Socket Head Cap - Grade 12.9 - Black Oxide - 6 mm Hex Key - Counterbore Ø15 × 8.5 deep. It covers the standard, thread, length, head type, property grade, finish, tool, and matching machining. Leaving any one of these blank is a line item for rework.

3. Allen Bolt Types & Uses

Allen bolt is a family name covering every screw driven by an internal hex socket. What separates the members is the head. There is a consistent trade-off: the lower the head, the smaller the hex recess it can contain, the lower the torque it can transmit, but the less axial space it occupies and the cleaner the appearance. The table below lists the main types with their governing standards and typical uses.

TypeMain standardsHead characteristicsRelative key sizeTypical uses

Socket head cap screw (SHCS), standard cylindrical head

Allen Bolt Type - Socket head cap screw (SHCS), standard cylindrical head.png

ISO 4762 / DIN 912 / ASME B18.3Tall cylindrical head, dk ≈ 1.5d, k = d, deep hex socketBaseline (largest)Machine tools, moulds, fixtures, automation, gearboxes, robotics; high-vibration and high-preload joints; the strongest and most universal type

Low head / thin cylindrical head

Allen Bolt Types - Allen Screw with Low head , thin cylindrical head.png

DIN 7984, DIN 6912 (with centre hole)Head height ≈ 50–70% of standard, dk unchangedOne step smaller (M6 uses 4 mm, not 5 mm)Restricted axial space: robot joints, semiconductor equipment, UAVs, thin-plate structures. Not for critical tensile joints

Button head / domed head

Allen Bolt Types - Allen Screw with Button head or domed head.png

ISO 7380-1 / ASME B18.3.3A, B18.3.4MLow rounded dome, slightly larger head diameter, snag-freeOne step smaller (M8 uses 5 mm)Visible surfaces, furniture, consumer electronics housings, automotive trim, medical instrument covers; lighter duty, better appearance

Button head with flange

Allen Bolt Types - Allen Screw with Button head with flange.png

ISO 7380-2Dome plus an integral flange, sometimes with serrationsSame as button headThin sheet, soft materials, vibration; the flange spreads bearing load and can eliminate a washer

Flat / countersunk head

Allen Bolt Types - Allen Screw with Flat or countersunk head.png

ISO 10642 / DIN 7991 / ASME B18.390° cone (82° / 100° in US practice), requires a countersinkOne step smaller (M8 uses 5 mm)Flush surfaces: linear guide rails, CNC fixtures, aerospace skins, panels. Length is specified overall, including the head

Flange socket head

Allen Bolt Types - Allen Screw with Flange socket head.png

DIN 251Cylindrical head with a large flange, often serrated underneathVaries with sizeAutomotive chassis, high-vibration piping, heavy frames; spreads clamping force and resists loosening

Shoulder bolt / stripper bolt

Allen Bolt Types - Allen Shoulder bolt & stripper bolt.png

ISO 7379 / ASME B18.3Precision-ground unthreaded shoulder below the headSet by shoulder diameterStripper plates in stamping dies, linkage pivots, pulleys and rollers, guiding and locating; the shoulder — not the thread — carries shear

Socket set screw / grub screw

Allen Bolt Types - Allen Socket set screw or grub screw.png

ISO 4026–4029 / DIN 913–916Headless, fully threaded; flat, cone, dog or cup pointSmallest (M8 uses 4 mm)Locking gears, pulleys, timing wheels and knobs onto shafts; sits entirely inside the tapped hole

Fine-pitch SHCS

Allen Bolt Types - Fine-pitch SHCS.png

ISO 12474Same head as DIN 912, finer thread pitchSame as SHCSThin-wall parts, adjustment mechanisms, precision joints needing vibration resistance

Tamper-resistant (pin-in-socket)

Allen Bolt Types - Allen Screw with Tamper-resistant (pin-in-socket).png

Manufacturer-specificPin in the centre of the hex recess, or a modified driveRequires a matching security keyPublic facilities, enclosures, meters, shared equipment

Self-tapping / self-drilling socket screws

Allen Bolt Types - Allen Self-tapping or self-drilling socket screws.png

ISO 1478 / ISO 15480 family, manufacturer dataInternal hex drive with a self-tapping or drill pointPer manufacturerSheet metal, HVAC ducting, cladding, plastics and timber; no pre-tapping, faster assembly

Full thread vs. partial thread

Allen Bolt Types - Allen Screw with Full thread vs. partial thread.png

ISO 4762 (b is a reference value)Short screws fully threaded; longer screws retain a plain shankUnchangedPlain shank for shear and location; full thread for tensile clamping
Allen Bolt Material and Grade (The other Half of "Which Type of Allen Bolt")
Material/GradeGoverning StandardApprox. Tensile StrengthSuitable Environment
Alloy steel, class 12.9 (black oxide / zinc plated)ISO 898-1, ASTM A574 / A574M≥ 1220 MPa (180 ksi class)Machine tools, moulds, load-bearing joints; dry indoor use
Alloy steel, class 10.9 / 8.8ISO 898-11040 / 800 MPaGeneral mechanical joints, cost-sensitive builds
Stainless A2-70 (304)ISO 3506-1, ASTM F837≥ 700 MPaGeneral indoor/outdoor corrosion resistance, food machinery
Stainless A4-70 / A4-80 (316)ISO 3506-1, ASTM F879700 / 800 MPaMarine, chemical, coastal and medical environments
Titanium, brass, aluminium, engineering plasticsASTM F468, manufacturer dataVaries widelyAerospace lightweighting, conductivity / non-magnetic needs, insulation (PEEK, PVC, POM)

Watch out: Replacing a class 12.9 alloy-steel screw with an A2-70 stainless screw of identical dimensions reduces available clamping force by roughly 40%. In a vibrating or highly preloaded joint that can mean loosening or fatigue failure. Any material substitution must be recalculated, never treated as a like-for-like swap. For inch-series ASTM A574 products the minimum tensile requirement is 180 ksi up to 1/2" and 170 ksi above it.

Every head form above is described by the same short list of dimensions. Understanding those symbols is what turns a wall of numbers in a supplier catalogue into a usable design tool — and it is the subject of the next section.

4. Allen Bolt Sizes (Head & Key Dimensions)

On an engineering drawing, "size" is not one number but a set of independent yet mutually constrained parameters. Choose them together, and the screw, the clearance hole, the counterbore cutter, and the assembly tool will all agree; choose them in isolation, and something will not fit.

Allen Bolt Sizes (Head & Key Dimensions).png

Allen Bolt (Screw) Dimensions
SymbolMeaningWhy it matters for design and use
dNominal thread diameter (M8 → 8 mm; 1/4" → 0.250 in)Indexes the whole size chart; sets strength, tap drill and clearance hole
P / TPIThread pitch (M8 × 1.25; 1/4-20 UNC, 1/4-28 UNF)Fine threads resist loosening and suit thin walls; different pitches of the same d are not interchangeable
LLength, measured from under the head for cylindrical heads, but as overall length including the head for countersunk headsThe single most common purchasing error; the two conventions differ by one head height
bThread length; short screws are fully threaded, long ones keep a plain shankPlain shank carries shear and locates parts; full thread suits tensile clamping
dk (A)Head diameter; DIN 912 ≈ 1.5d for M3 and above (≈ 1.8–1.9d for M1.6–M2.5)Sets counterbore diameter and minimum wall thickness between adjacent holes
k (H)Head height; DIN 912: k = d; low head ≈ 0.5–0.7d; button head ≈ 0.4dSets counterbore depth, axial space and how far the head protrudes
s (J)Hex socket across-flats, this is the Allen key size, fixed by the standard, not calculatedDetermines the tool and the transmissible torque; it changes with head type even at the same d
eAcross-corners; e = 2s/√3 ≈ 1.1547sUsed to check socket wall thickness and punch/broach dimensions
t (T)Hex socket depth; DIN 912 ≈ 0.5d (M4–M24); inch series T ≈ 0.48HDetermines minimum key engagement; too shallow and the socket strips immediately
Counterbore Ø / depthMetric ≈ dk + 1–2 mm; inch ≈ A + 1/16"; depth ≥ k + 0.5 mm (inch: H + 0.010–0.030")The machining dimensions that make flush or recessed mounting possible
Clearance holeISO 273 fine / medium / coarse series, e.g. M6 → 6.4 / 6.6 / 7.0 mmAffects assembly precision and whether parts need aligning
Countersink angleISO 10642 = 90°; US practice commonly 82° or 100°A mismatch leaves the head proud and the bearing face unseated
Property class12.9 / 10.9 / 8.8 / A2-70 / A4-80Not a geometric dimension, but it directly sets permissible preload and therefore the application

Three rules of thumb cover most early-stage design work:

  1. For a standard cylindrical head: dk ≈ 1.5d, k = d, s ≈ 0.75–0.85d, t ≈ 0.5d.
  2. For a counterbore: Ø ≈ dk + 1–2 mm, depth ≥ k + 0.5 mm.
  3. Lower heads take smaller sockets: button and countersunk heads are one key size down from a cap head (M6: 5 → 4 mm), and set screws one step further down (M6: 4 → 3 mm), simply because a shallower head cannot contain a large hex recess.

Note: Strength class belongs in the same specification line as d and L. A drawing that says only "Allen bolt M8 × 30" leaves the head type, material, finish, key size and counterbore undefined, all of which will be decided later, usually by whoever is least qualified to decide them.

None of these symbols is arbitrary. Each is fixed by a standard, and knowing which standard your drawing calls up is the only way to be certain that the numbers in a catalogue match the parts that arrive.

Metric Allen Bolt Size Chart in MM (Head & Key Dimensions)

Applies to ISO 4762 / DIN 912 socket head cap screws. Values for dk and k are nominal maxima; s is the across-flats size of the hex socket and therefore the Allen key size; e is the theoretical across-corners value (2s/√3); t min is the minimum socket depth; the counterbore column is a recommended value rounded to a common cutter size.

Thread dPitch Pdk maxk maxHex key se ≈t minCounterbore ØThread length b (ref.)Notes
M1.60.353.01.61.51.730.74–4.5Fully threadedSmall sizes: dk ≈ 1.9d
M20.403.82.01.51.731.05Fully threadeddk ≈ 1.9d
M2.50.454.52.52.02.311.16Fully threadeddk ≈ 1.8d
M30.505.53.02.52.891.3718Common starting size
M40.707.04.03.03.462.08.5–920
M50.808.55.04.04.622.51022
M61.0010.06.05.05.773.011–1224One of the most used sizes
M81.2513.08.06.06.934.014–1528Ø14 / Ø15 counterbores standard
M101.5016.010.08.09.245.01832
M121.7518.012.010.011.556.02036
M142.0021.014.012.013.867.022–2340Non-preferred size
M162.0024.016.014.016.178.025–2644
M182.5027.018.014.016.17≈928–2948Non-preferred
M202.5030.020.017.019.6310.03252
M222.5033.022.017.019.63≈113556Non-preferred
M243.0036.024.019.021.9412.03860
M273.0040.027.019.021.94≈13.54266Non-preferred
M303.5045.030.022.025.4015–15.54772t min varies slightly by source
M333.5050.033.024.027.71≈16.55278Non-preferred
M364.0054.036.027.031.18195684
M424.5063.042.032.036.952465—Large sizes usually made to order
M485.0072.048.036.041.572874—
M565.5084.056.041.047.343486—
M646.0096.064.046.053.123898—

Notes: (1) M18 / M22 / M27 / M33 are non-preferred sizes, though ISO 4762 / DIN 912 suppliers often stock them; t values marked "≈" are estimates following t ≈ 0.5d — check the edition of the standard you are working to. (2) s, dk and k above are for cylindrical heads; other head forms are listed below. (3) Tolerance example (product grade A): M8 dk 12.73–13.00, k 7.64–8.00, s 6.02–6.14; M20 dk 29.67–30.00, k 19.48–20.00, s 17.05–17.23.

Allen Bolt Size Chart for Same Thread, Different Head, Different Key
ThreadCap head ISO 4762Low head DIN 7984Button head ISO 7380Countersunk ISO 10642Set screw ISO 4026–29
M32.5 mm2 mm2 mm2 mm1.5 mm
M43 mm2.5 mm2.5 mm2.5 mm2 mm
M54 mm3 mm3 mm3 mm2.5 mm
M65 mm4 mm4 mm4 mm3 mm
M86 mm5 mm5 mm5 mm4 mm
M108 mm7 mm6 mm6 mm5 mm
M1210 mm8 mm8 mm8 mm6 mm
M1614 mm12 mm10 mm10 mm8 mm
M2017 mm14 mm—12 mm10 mm
M2419 mm——14 mm12 mm

Imperial hardware follows exactly the same geometry and the same logic, but a different numbering system and, critically, a different set of hex keys. Mixing the two is where most workshop problems begin.

Imperial Allen Bolt Size Chart in Inches (Head & Key Dimensions)

Applies to ASME B18.3 inch-series socket head cap screws. A is maximum head diameter, H is maximum head height, J is the hex key size in fractional inches, and T is minimum key engagement. Head geometry is identical for UNC and UNF threads. Decimal-inch and millimetre conversions for J are included so the two systems can be compared directly.

SizeNominal Ø dUNC / UNF (TPI)A maxH maxHex key JJ (in)J (mm)T minCounterbore Ø
#00.060— / 800.0960.0600.0500.05001.270.0250.125
#10.07364 / 720.1180.0731/160.06251.59-0.156
#20.08656 / 640.1400.0865/640.07811.980.0380.172
#30.09948 / 560.1610.0995/640.07811.980.0440.203
#40.11240 / 480.1830.1123/320.09382.380.0510.219
#50.12540 / 440.2050.1253/320.09382.38-0.250
#60.13832 / 400.2260.1387/640.10942.780.0640.281
#80.16432 / 360.2700.1649/640.14063.570.0770.328
#100.19024 / 320.3120.1905/320.15633.970.0900.375
1/4"0.25020 / 280.3750.2503/160.18754.760.1200.438
5/16"0.312518 / 240.4690.3121/40.25006.350.1510.547
3/8"0.37516 / 240.5620.3755/160.31257.940.1820.656
7/16"0.437514 / 200.6560.4383/80.37509.530.2130.766
1/2"0.50013 / 200.7500.5003/80.37509.530.2450.875
5/8"0.62511 / 180.9380.6251/20.500012.700.3071.094
3/4"0.75010 / 161.1250.7505/80.625015.880.3701.312
7/8"0.8759 / 141.3120.8753/40.750019.050.4321.531
1"1.0008 / 121.5001.0003/40.750019.050.4951.750
1-1/8"1.1257 / 121.6881.1257/80.875022.230.557-
1-1/4"1.2507 / 121.8751.2507/80.875022.230.620-
1-3/8"1.3756 / 122.0621.37511.000025.400.682-
1-1/2"1.5006 / 122.2501.50011.000025.400.745-

Notes: (1) A and H are maxima; ASME B18.3 also specifies minima, typically 1–2% lower (e.g. 1/4": A 0.365–0.375, H 0.244–0.250). (2) As with metric parts, A ≈ 1.5d and H = d. (3) A/H and counterbore values for #1 and #5 come from common engineering tables; #12 and 9/16" are not mainstream sizes in the B18.3 head-dimension series, though some suppliers offer them. (4) Counterbore Ø ≈ A + 1/16", depth ≈ H + 0.010–0.030". (5) Several sizes share one key: 7/16" and 1/2" both use 3/8"; 7/8" and 1" both use 3/4"; 1-1/8" and 1-1/4" both use 7/8"; 1-3/8" and 1-1/2" both use 1".

Imperial Button Head Allen Bolt Dimensions
SizeUNC / UNF (TPI)A max (in)H max (in)Hex key JJ (mm)
#256 / 640.1640.0460.0501.27
#348 / 560.1880.0521/161.59
#440 / 480.2130.0591/161.59
#632 / 400.2620.0735/641.98
#832 / 360.3120.0873/322.38
#1024 / 320.3610.1011/83.18
1/4"20 / 280.4370.1325/323.97
5/16"18 / 240.5470.1663/164.76
3/8"16 / 240.6560.1997/325.56
1/2"13 / 200.8750.2655/167.94
5/8"11 / 181.0000.3313/89.53

A 1/4" cap head takes a 3/16" key, a 1/4" button head takes 5/32", and a 1/4" set screw takes 1/8". It is the clearest possible illustration that head geometry, not thread size, decides the tool.

Both charts end in the same column - the key size. That one number causes more assembly problems than any other dimension, so it deserves our special explanation as below.

5. Allen Bolt Key Sizes & How To Calculate

What is an Allen Bolt Key? An Allen key (Allen wrench, hex key, hexagon socket screw key) is an L-shaped bar of hardened steel with a regular hexagonal cross-section. The short arm goes into the socket; the long arm provides leverage. The screw and the key are two halves of one system and share the same "Allen" name.

  • What the size means: the quoted size is the across-flats width (AF, s) of the hexagonal section — not the across-corners dimension, not the arm length and not the bolt diameter. A "5 mm key" measures 5.00 mm across two parallel flats.
  • Standards: metric keys are covered by ISO 2936 / DIN ISO 2936 (0.7–36 mm; the older DIN 911 was withdrawn in 1987 but is still printed on packaging); inch keys by ASME B18.3 (0.028–1 in). Tolerances are negative — a nominal 5 mm key may measure 4.96–5.00 mm — so the tool is always slightly smaller than the socket and will insert cleanly.
  • Common forms: standard and extra-long L-keys, ball-end keys (up to about 25° off-axis), T-handles, folding sets, interchangeable hex bits for torque wrenches and power drivers, pin-in-socket security keys, and insulated or stainless versions.
  • Materials: Cr-V, S2 tool steel or 8650/6150 alloy steel, heat treated to roughly HRC 50–60. A soft, cheap key rounds off at the tip and then damages the screw socket.
  • Short arm vs long arm: the short arm is used to break loose a seized or highly torqued screw (short lever, less risk of twisting the key), the long arm for fast run-in and reaching recessed heads. ISO 2936 specifies a short-arm length L2 and long-arm length L1 for each size; ASME B18.3 defines short-arm and long-arm series.

Watch out: A ball-end key is for access and speed, not for final tightening. At an angle, only a small part of the hex faces is in contact, so the socket walls see concentrated load and strip easily. Always finish with the key fully seated and square.

How To Calculate Allen Bolt Key Size?

There is no exact formula that derives the key size from the bolt diameter. The across-flats value s is a discrete value set by the product standard (ISO 4762 / ASME B18.3), chosen to balance head wall thickness, forging or broaching practice, torque capacity and the existing standard tool series. "Calculating" a key size therefore means estimating, cross-checking or measuring when a table is not at hand, the table is always the authority.

Method 1 - Look it up (the only reliable method)

Fix three inputs, then read s from the relevant chart:

  1. Thread system: metric M × P (e.g. M8 × 1.25) or inch (e.g. 1/4-20 UNC). Their key sizes are unrelated.
  2. Head type: cap / low / button / countersunk / set screw. The same M8 may need 6, 5 or 4 mm.
  3. Standard: ISO 4762 (DIN 912) for metric, ASME B18.3 for inch.
  4. Verify physically: the key must slide to the bottom of the socket with no perceptible play. Any wobble means the wrong size.

Method 2 - Estimate with geometry (for design sketches and field guesses)

RelationshipRule / formulaValid range and check
Metric cap head keys ≈ 0.75–0.85 d, commonly 0.8d, then round to the standard seriesGood for M4–M24: M8 → 6.4 → 6 mm; M12 → 9.6 → 10 mm; M16 → 12.8 → 14 mm. Not for M1.6
Inch cap head keyJ ≈ 0.75 d, rounded to 1/64" or 1/16" fractionsExact for 1/4" → 3/16", 3/8" → 5/16", 1/2" → 3/8", 5/8" → 1/2"; runs small above 3/4" (3/4" → 5/8" = 0.83d)
Button / countersunk heads ≈ 0.65–0.7 dM6 → 4 mm, M8 → 5 mm, M10 → 6 mm, M12 → 8 mm
Set screws ≈ 0.5 dM6 → 3 mm, M8 → 4 mm, M12 → 6 mm, M20 → 10 mm
Across-cornerse = 2s/√3 ≈ 1.1547 sChecks socket wall thickness and punch size; s = 6 → e ≈ 6.93 mm
Head diameter / heightdk ≈ 1.5d, k = d (cap head)Metric M3+, inch #10+; small sizes have relatively larger heads
CounterboreØ ≈ dk + 1–2 mm (inch: A + 1/16"); depth ≥ k + 0.5 mm (inch: H + 0.010–0.030")M8 → Ø14–15 × 8.5 deep; 1/4" → Ø7/16" × 0.270" deep
Minimum engagementt ≈ 0.5d metric (M4–M24); T ≈ 0.48H inchInsufficient depth loads only the corners of the key and strips the socket
Tightening torque (bonus)T ≈ K · F · d, K ≈ 0.20 dryChecks tool strength and thread overload; with oil or anti-seize K falls, so reduce torque by about 25%

Method 3 - Measure it (most reliable on site)

Use a vernier caliper to measure the distance between two parallel flats of the hex recess; that reading is the key size. Clean a rusty or damaged socket first with compressed air or a tap. Alternatively, trial-fit a key set from small to large: the largest key that seats fully with no play is the correct one. Never force an "almost fits" size.

Note: two worked examples. Metric: an M10 class 12.9 cap head screw → estimate s ≈ 0.8 × 10 = 8 mm → confirm s = 8 mm in ISO 4762 → dk = 16 mm, k = 10 mm → counterbore Ø18 × 10.5 mm deep → clearance hole Ø11 mm (ISO 273 medium). Switching to an M10 button head changes the key to 6 mm and the head height to about 5.5 mm. Imperial: a 1/4-20 SHCS → J ≈ 0.75 × 0.250 = 0.1875 = 3/16" → confirm in ASME B18.3 → A = 0.375", H = 0.250" → counterbore Ø7/16" × 0.270" deep → clearance hole 9/32".

Watch out: Metric and inch keys are not interchangeable. An M6 cap head needs 5 mm; the nearest inch key, 3/16" = 4.763 mm, is 0.24 mm undersized and will round the socket on the first high-torque turn, while 7/32" = 5.556 mm will not enter at all. Only three pairs are close enough to be considered approximate substitutes: 2 mm ≈ 5/64" (1.984 mm), 4 mm ≈ 5/32" (3.969 mm), 19 mm ≈ 3/4" (19.05 mm), and even those must be checked for full seating.

To help you obtain quick reference data, our engineers have compiled the following dimension table based on standard levels.

Allen Bolt Key Size Chart (Dimensions in MM & Inches)

Metric hex keys → inch conversion and matching screws
Key s (mm)= inch (decimal)Nearest inch sizeDifference (mm)Cap head ISO 4762Button / countersunkSet screw
0.70.02760.028"+0.011——M1.6
0.90.03540.035"−0.011——M2
1.30.05120.050"−0.030——M2.5
1.50.05911/16" (1.588)+0.088M1.6, M2—M3
20.07875/64" (1.984)−0.016 ✓M2.5M3M4
2.50.09843/32" (2.381)−0.119M3M4M5
30.11817/64" (2.778)−0.222M4M5M6
40.15755/32" (3.969)−0.031 ✓M5M6M8
50.19693/16" (4.762)−0.238M6M8M10
60.23627/32" (5.556)−0.444M8M10M12
70.27569/32" (7.144)+0.144(low head M10)——
80.31505/16" (7.938)−0.062M10M12M16
100.393725/64" (9.922)−0.078M12M16M20
120.472415/32" (11.906)−0.094M14M20 countersunkM24
140.55129/16" (14.288)+0.288M16, M18M24 countersunk—
170.669321/32" (16.669)−0.331M20, M22——
190.74803/4" (19.050)+0.050 ✓M24, M27——
220.866155/64" (21.828)−0.172M30——
271.06301-1/16" (26.988)−0.012M36——
321.25981-1/4" (31.750)−0.250M42——
361.41731-7/16" (36.513)+0.513M48——
411.61421-5/8" (41.275)+0.275M56——
461.81101-13/16" (46.038)+0.038M64——

✓ marks pairs within ±0.05 mm that can be treated as approximate substitutes. The full ISO 2936 tool series also contains 0.8 / 3.5 / 4.5 / 9 / 11 / 13 / 24 mm sizes, mostly for set screws, furniture and bicycle hardware; the table lists the sizes that match common socket screws.

Inch (SAE) hex keys → mm conversion and matching screws
Key (in)Decimal (in)= mmCap head ASME B18.3Button / countersunkSet screw
0.0280.02800.711——Micro sizes
0.0350.03500.889——Micro sizes
0.0500.05001.270#0#2 button—
1/160.06251.588#1#3, #4 button—
5/640.07811.984#2, #3#6 button—
3/320.09382.381#4, #5#8 button—
7/640.10942.778#6——
1/80.12503.175—#10 button1/4" set screw
9/640.14063.572#8——
5/320.15633.969#101/4" button / flat—
3/160.18754.7631/4"5/16" button—
7/320.21885.556—3/8" button—
1/40.25006.3505/16"——
5/160.31257.9383/8"1/2" button—
3/80.37509.5257/16", 1/2"5/8" button—
7/160.437511.113(9/16", non-mainstream)——
1/20.500012.7005/8"——
9/160.562514.288———
5/80.625015.8753/4"——
3/40.750019.0507/8", 1"——
7/80.875022.2251-1/8", 1-1/4"——
11.000025.4001-3/8", 1-1/2"——

Conversion basis: 1 in = 25.4 mm exactly. ASME B18.3 also defines short-arm and long-arm length series. For example, a 1/4" key has a 1.125" short arm and either a 3.250" long arm (short series) or 5.250" (long series).


6. Allen Bolt  Size Selection, Torque & Installation

Charts answer "what", but purchasing and assembly have to answer "how". So below, DaJin’s engineers offer some practical tips on Allen bolt size choosing and installation; keep reading!

Allen Bolt Size Selection Checklist

  • Fix the system and the standard: metric ISO 4762 or imperial ASME B18.3. Do not mix inside one assembly.
  • Pick the head type: SHCS for counterbore and high preload; flat head for flush; button for exposed non-snagging surfaces; low-head where axial space is tight; shoulder screw for shear and pivots; set screw for locking on a shaft.
  • Fix d, P, and L, confirm the length convention (under-head vs. overall), and decide full or partial thread.
  • Fix material, grade, and environment: Grade 12.9 black oxide for indoor high-preload, A4-80 for marine or chemical.
  • Read s, dk, k, and t from the chart, then design the counterbore (Ø and depth) and the clearance hole (ISO 273).
  • Specify the key and tightening torque (T ≈ K·F·d) and record them in the assembly work instruction.

Allen Bolt Torque and Installation

For a first-pass torque figure, use T ≈ K · F · d, with K ≈ 0.20 for dry, uncoated threads. Oil or anti-seize lowers K, so to reach the same preload, reduce torque by about 25 percent.

Always seat the key to the bottom of the socket. Shallow engagement loads only the top corners of the socket, and this is the leading cause of rounded hex drives.

Keep the socket clean. Chips, paint, or rust at the bottom of the socket will stop a correctly sized key from seating.

Use ball-end keys only for reach. Final tightening calls for a straight key pushed in square to the axis, or a hex bit in a torque-limited driver.

Replace worn keys promptly. A key with rounded corners is not a tightening tool; it is a screw destroyer.

For vibration-prone joints, pick a head with enough bearing area (SHCS or flanged variants), add washers or a specified locking method rather than simply piling on more torque.

Common (and Expensive) Mistakes To Avoid

  1. Using an imperial key on a metric screw. The 3/16" for 5 mm swap is the classic case.
  2. Treating the key size as the thread diameter, or confusing across-corners e with across-flats s.
  3. Ordering flat head screws by under-head length and getting parts that are one head height too short.
  4. Changing to a button or low-head screw but leaving the SHCS key size on the BOM.
  5. Final tightening with a ball-end key, or starting torque before the key is bottomed.
  6. Swapping A2-70 stainless for Grade 12.9 alloy without recalculating preload, losing about 40 percent of clamp capacity.
  7. Cutting a counterbore to exact dk with no clearance, or making it shallower than the head height.
  8. Mixing a 90° metric countersink with an 82° imperial head, so the head sits proud or the bearing face is unsupported.

Fast Troubleshooting

SymptomLikely CauseFix
Key slipping, socket rounding outUndersized or worn key, shallow engagementClean the socket, use a correct new key seated to the bottom, replace the screw
Head sits proud of the surfaceCounterbore too small or shallow, debris under the headRe-machine to Ø ≈ dk + 1 to 2 mm, depth ≥ k + 0.5 mm
Joint loosens under vibrationLow preload, stainless substitution, undersized bearing areaRecalculate preload and grade, add flange or washer, specify a locking method
Galling or thread seizureStainless on stainless without lubricant, or contaminated threadsApply anti-seize and reduce torque, consider a different nut material
Cannot reach the head with a toolNo axial tool clearance designed inReach with a ball-end (not for final torque), or redesign with a counterbore or access hole

When Standard Allen Bolts Are Not Enough

Custom Allen socket screws are more common than most engineers assume, driven by situations such as non-preferred or in-between sizes (M14, M18, M22, M27, M33, or lengths between standard increments), modified head geometry (reduced head height, oversized flanges, custom shoulder dimensions, tamper-resistant pin-in-hex drives), special threads (fine pitch, left-hand, unusually short thread length b, or proprietary profiles for legacy equipment), special materials (A4-80 / 316 stainless, titanium, brass, aluminum, and engineering plastics where Grade 12.9 alloy does not apply), traceability and documentation needs (specified heat treatment, electroplating or anodizing, head marking, batch certificates, and inspection reports in aerospace, medical, and defense work), and low-volume runs for prototypes, legacy spares, and short production batches.

CNC turning and milling follow a natural route for these parts: turn the blank and head, drill then broach the hex socket (verify s and t), cut or roll threads, grind precision shoulders, then heat treat and finish. The drawing must list d, P, L (with the measurement convention), dk, k, s, t, plus shoulder diameter and length when applicable, along with material, grade, finish, tolerance class, and inspection requirements.

More FAQs About Allen Bolts

Is an Allen Bolt a Bolt or a Screw?

Both terms appear in practice. Strictly speaking, a standard SHCS is a socket head cap screw, because it threads into a tapped hole rather than a nut. "Allen bolt" is the common catalog and shop-floor name, and purchasing treats the two as the same part.

What Is the Difference Between an Allen Bolt and a Standard Hex Bolt?

A hex bolt is driven by a wrench or socket that wraps around an external hex head. An Allen bolt is driven by a hex key that drops into a socket in the top of the head. The internal-drive type needs no side clearance, sits in a counterbore, and is commonly supplied in the higher-strength Grade 12.9.

What Size Key Does an M8 Allen Bolt Use?

It depends on the head. An M8 SHCS (ISO 4762 / DIN 912) uses 6 mm. An M8 button head, flat head, or low-head uses 5 mm. An M8 set screw uses 4 mm. Always confirm head type before ordering tools.

What Size Key Does a 1/4" Allen Bolt Use?

An ASME B18.3 1/4" SHCS uses 3/16" (4.763 mm). A 1/4" button head uses 5/32". A 1/4" set screw uses 1/8".

Are Metric and Imperial Hex Keys Interchangeable?

Usually not. An M6 SHCS needs 5 mm, and the closest imperial size, 3/16" at 4.763 mm, leaves 0.24 mm of play, which is enough to round the socket on the first pull. Only 2 mm ≈ 5/64", 4 mm ≈ 5/32", and 19 mm ≈ 3/4" come close enough to use as substitutes, and even then the key should be seated and checked.

How Is the Length of an Allen Bolt Measured?

For SHCS, button, and low-head screws, L is measured under the head to the end of the thread. For flat (countersunk) heads, L is the overall length including the head. Mixing the two conventions is the common reason parts arrive one head height short.

Can the Allen Key Size Be Calculated from the Bolt Diameter?

Not exactly. The across-flats s is a discrete value fixed by ISO 4762 / ASME B18.3, chosen as a compromise between head wall thickness, process, and torque capacity. Rules such as s ≈ 0.8d for metric SHCS or J ≈ 0.75d for imperial SHCS give good first estimates, but the value should always be rounded to the standard series and verified against the chart.

What Are dk, k, s, e, and t in the Size Chart?

dk is head diameter, k is head height, s is the hex socket across flats (and therefore the key size), e is the across-corners dimension (≈ 1.155 s), and t is the socket depth. On imperial charts these appear as A, H, J, and T.

What Counterbore Does an M8 or M10 SHCS Need?

M8 (dk = 13, k = 8): Ø14 to 15 mm, depth at least 8.5 mm. M10 (dk = 16, k = 10): Ø18 mm, depth at least 10.5 mm. The general rule is Ø ≈ dk + 1 to 2 mm, depth ≥ k + 0.5 mm.

What Does Grade 12.9 Mean, and Can It Be Replaced with Stainless?

Grade 12.9 denotes tensile strength ≥ 1220 MPa and yield ≥ 1100 MPa per ISO 898-1. A same-size A2-70 stainless screw reaches about 700 MPa and gives roughly 40 percent less clamp capacity. Substitution requires a fresh preload and joint-behavior check.

Can Ball-End Hex Keys Be Used for Final Tightening?

No. Tilted engagement drops contact area and concentrates load on small portions of the socket wall, which rounds the socket quickly. Ball-end keys are for reach and run-in; final torque should be applied with a bottomed straight key or a torque-limited hex bit.

Should Current Allen Bolt Drawings Call Out DIN 912 or ISO 4762?

New designs should reference the current international standard, ISO 4762:2004. DIN 912 has been withdrawn but still appears on legacy drawings and in stock, and most sizes interchange with ISO 4762. Imperial parts should call out ASME B18.3; metric parts should call out ISO 4762.

Why Do Several Imperial Sizes Share One Allen Key?

To keep the number of keys in a tool set manageable, standards assign one key to neighboring thread diameters. 7/16" and 1/2" share 3/8"; 7/8" and 1" share 3/4". This is by design, not a chart error.

When Should Custom Allen Bolts Be Chosen Over Catalog Parts?

When the design needs a non-preferred diameter or length, modified head height or flange, special shoulder, fine or left-hand thread, tamper-resistant drive, specialty material, documented heat treatment or head marking, or inspection certificates, and when prototype or short-run quantities do not justify stocking.

What Information of Allen Bolt Does a Supplier Need for a Quote?

A fully dimensioned drawing covering d, P, L (with the measurement convention), dk, k, s, t, any shoulder dimensions, head type, material and grade, finish, tolerances, inspection and certification requirements, plus prototype and production quantities. A 3D model, the referenced standard, and any deviations help as well.

Can Custom Socket Screws Be Made in Stainless, Titanium, Brass, or Plastic?

Yes. CNC turning and milling cover alloy steel, 304 and 316 stainless, titanium, brass, copper, aluminum, and engineering plastics such as PEEK, POM, and PVC. The material does need to match the real performance requirement, since non-ferrous and plastic parts cannot reach Grade 12.9 strength.

Can Custom Parts Still Meet Grade 12.9 or ASTM A574?

Yes, provided the material, heat treatment, and testing are fixed at the quote stage. Performance follows material and process, not the machining route. For load-bearing custom fasteners, ask for hardness, tensile, and proof-load data along with material certificates.

What Tolerances Are Achievable on Custom Socket Screws?

Precision CNC turning routinely holds tight tolerances on diameter and shoulder length, with achievable values depending on geometry, material, and quantity. Mark the key fits on the drawing and have the supplier confirm them at quoting rather than default to a general tolerance block.

What Minimum Order and Lead Time Should Be Expected?

There is no single figure, since material, geometry, finish, and inspection all move the number. Send a drawing with sample and annual quantities to get a firm quote. Most suppliers run a prototype batch first and scale up to production once the design is approved.

About Dajin Precision: CNC Machining for Custom Fasteners and Precision Parts

When a project moves from catalogue hardware to custom-manufactured components, the machining partner matters as much as the drawing. Shenzhen Dajin Precision Hardware Co., Ltd (www.dajinprecision.com) is a Shenzhen-based OEM/ODM manufacturer specialising in CNC machining, CNC turning, CNC lathe and CNC milling services, with more than ten years of experience producing precision turned and machined hardware, including screws, fasteners, shafts, pins, connectors and knurled components made strictly to customer drawings.

Capabilities relevant to custom socket screws and their mating parts include:

  • Turning capacity of Ø1–20 mm × 1500 mm with quoted tight tolerances (±0.002), and outside diameters held to 0.0001" (2.5 µm) on ground cylindrical parts, with surface finish to Ra 1.6.
  • Equipment covering 3/4/5-spindle CNC lathes, high-precision turn-mill centres, centreless and thru-feed grinding, useful for precision shoulders, burr-free flats and multi-diameter parts.
  • Materials including aluminium, stainless steel, brass, copper, bronze, carbon/alloy steel, die-cast and forged blanks, plus plastic and rubber components.
  • One-stop secondary operations: heat treatment, plating, galvanic coatings and coloured anodising through long-standing finishing partners.
  • Engineering support from R&D and drawing design through prototyping to low- and high-volume production, with quality control operated to ISO 9001:2015 standards.
  • Industries served: aerospace, automotive, electronics, general machinery, medical and dental, and military/defence, sectors where custom fasteners, tight fits and documented traceability are routine requirements.

For the reader of a size chart, the practical benefit is straightforward: the same shop that machines a custom M14 low-head screw with a specified s, t and shoulder diameter can also machine the counterbored housing, spacers and guide pins it mates with — so head diameter, socket engagement and bearing fit are validated as an assembly rather than as isolated parts.

If your design calls for non-standard Allen bolts, custom socket screws or precision turned fasteners, send your drawings and requirements to the team at https://www.dajinprecision.com to discuss feasibility, tolerances, finishing and a quotation — from a single prototype to volume production.

WE'D LIKE TO HEAR FROM YOU

DAJIN provides excellent quality turning services, precision turned parts, offering professional machining services at competitive price and on timely delivery. With our extensive machining capabilities, we produce the most challenging precision machining parts covering all Industries especially in mass production in automotive industry.