Library › Hardware › Fasteners ·
Square nuts, DIN 557: M5–M20 width across flats, thickness, corner distance + 8 envelope files
What are the dimensions of a DIN 557 square nut, and how big a slot does an M6 square nut need? · Standard part · basis: fasten.it's DIN 557 table (M5 to M16, 01/1994) and CDE Fasteners' sheet (M5 to M20); they agree on thickness and corners, and fasten.it prints two variants for M10 and M12; eight envelope files
Also called: din 557 square nut dimensions, m6 square nut size, m8 square nut slot width, m5 square nut thickness, m10 square nut 17 mm, square nut pocket m6 10 mm, din 557 m12, square nut across corners m8, square nut stl step, metric square nut size chart
Exact dimensions. Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part. Mating features
- length
- 24.0 mm
- width
- 24.0 mm
- height
- 13.0 mm
Notes
- Columns (mm): d thread, P pitch, s width across flats (square side; nominal = max), e max across corners, m nominal thickness (= max), mw min, dw min (the washer-face diameter as printed, all as fasten.it labels them). CDE's columns F, G, H are the width across the square, the width across corners (min) and the thickness.
- Two variants: fasten.it prints two rows each for M10 (s 16 with e 22.6, and s 17 with e 24) and M12 (s 18 / 25.4 and s 19 / 26.9), and does not say why. CDE prints only the larger one (M10 17 / 24, M12 19 / 26.9). The files carry both for M10 and M12 (second variant marked -v2). M5, M6, M8 and M16 agree in both sources; M20 is CDE only (30 / 42.4 / 16).
- Files are Xem-drawn envelopes: a square s × s of thickness m with a plain bore at the thread major diameter. The e value is the printed corner distance of the chamfered nut; the file's square corners are slightly further out (s·√2), as the file note says. Chamfer and thread are not modelled. For a captive-nut pocket of a square nut, the width across flats and the thickness are the numbers needed.
- Nuts for square-head bolts and slide-in T-nuts: slide-in-t-nuts, drop-in-t-nuts. McMaster-Carr's square-nut pages found by search are inch; they are linked, not copied. No metric (DIN 557) McMaster category URL was returned.
Square nuts, DIN 557: M5–M20 width across flats, thickness, corner… size chart
| thread | P (mm) | s (square side) | e max (across corners) | m (thickness) | mw min | dw min | CDE F / G / H |
|---|---|---|---|---|---|---|---|
| M5 | 0.8 | 8 | 11.3 | 4 | 2.5 | 6.7 | 8 / 11.3 / 4 |
| M6 | 1 | 10 | 14.1 | 5 | 3.2 | 8.7 | 10 / 14.1 / 5 |
| M8 | 1.25 | 13 | 18.4 | 6.5 | 4.1 | 11.5 | 13 / 18.4 / 6.5 |
| M10 | 1.5 | 16 | 22.6 | 8 | 5.2 | 14.5 | — |
| M10 (second variant) | 1.5 | 17 | 24 | 8 | 5.2 | 15.5 | 17 / 24 / 8 |
| M12 | 1.75 | 18 | 25.4 | 10 | 6.6 | 16.5 | — |
| M12 (second variant) | 1.75 | 19 | 26.9 | 10 | 6.6 | 17.2 | 19 / 26.9 / 10 |
| M16 | 2 | 24 | 33.9 | 13 | 8.6 | 22 | 24 / 33.9 / 13 |
| M20 | 2.5 | — | — | — | — | — | 30 / 42.4 / 16 (CDE only) |
Mating features
Drawn at the exact size. Open press, slide, run and socket features by your process's clearance (tolerances by process); leave designed gaps and clamp fits as drawn.
| feature | exact | mates with | fit | files |
|---|---|---|---|---|
| square body | s × s × m: M5 8 × 8 × 4, M6 10 × 10 × 5, M8 13 × 13 × 6.5, M10 16 or 17 × 8, M12 18 or 19 × 10, M16 24 × 24 × 13 mm | square pocket or slot that captures the nut: side = s + your process clearance, depth = m | slide | square-nut-din-557-* |
| bore (thread as plain cylinder) | nominal thread diameter M5 to M16 | bolt of the same thread (plain cylinder at the major Ø) | designed | square-nut-din-557-* |
Where the files are
Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.
| fasten.it | DIN 557 square nuts, product grade C (01/1994): d, P, dw min, e max, m, mw min, s, M5 to M16 incl. two variants for M10 and M12 | web | Reference page; numbers only |
| CDE Fasteners | DIN 557 square nuts: F width across square, G across corners (min), H thickness, M5 to M20 | web | Maker data sheet; numbers only |
| McMaster-Carr | Machine screw square nuts (inch) (free STEP/IGES per part, for your own design use; no redistribution) | STEP, IGES, PDF | McMaster-Carr site terms: personal design use, no redistribution verify |
| McMaster-Carr | Round-top square nuts (inch) (free STEP/IGES per part, for your own design use; no redistribution) | STEP, IGES, PDF | McMaster-Carr site terms: personal design use, no redistribution verify |
Free files
★ Free files 8 parts. Generated by Xem Studio from the standard; threads are plain cylinders at major diameter. CC BY 4.0. index.json
| square-nut-din-557-m5-s-8-m-4 | M5 DIN 557 square nut envelope: 8 × 8 mm square (s), 4 mm thick (m), plain Ø5 bore at the thread major; corners are square, so the corner distance is 11.3 mm against the printed e max 11.3; no chamfer or thread | STEP · STL |
| square-nut-din-557-m6-s-10-m-5 | M6 DIN 557 square nut envelope: 10 × 10 mm square (s), 5 mm thick (m), plain Ø6 bore at the thread major; corners are square, so the corner distance is 14.1 mm against the printed e max 14.1; no chamfer or thread | STEP · STL |
| square-nut-din-557-m8-s-13-m-6.5 | M8 DIN 557 square nut envelope: 13 × 13 mm square (s), 6.5 mm thick (m), plain Ø8 bore at the thread major; corners are square, so the corner distance is 18.4 mm against the printed e max 18.4; no chamfer or thread | STEP · STL |
| square-nut-din-557-m10-s-16-m-8 | M10 DIN 557 square nut envelope: 16 × 16 mm square (s), 8 mm thick (m), plain Ø10 bore at the thread major; corners are square, so the corner distance is 22.6 mm against the printed e max 22.6; no chamfer or thread | STEP · STL |
| square-nut-din-557-m10-v2-s-17-m-8 | M10 DIN 557 square nut envelope (second table variant): 17 × 17 mm square (s), 8 mm thick (m), plain Ø10 bore at the thread major; corners are square, so the corner distance is 24.0 mm against the printed e max 24; no chamfer or thread | STEP · STL |
| square-nut-din-557-m12-s-18-m-10 | M12 DIN 557 square nut envelope: 18 × 18 mm square (s), 10 mm thick (m), plain Ø12 bore at the thread major; corners are square, so the corner distance is 25.5 mm against the printed e max 25.4; no chamfer or thread | STEP · STL |
| square-nut-din-557-m12-v2-s-19-m-10 | M12 DIN 557 square nut envelope (second table variant): 19 × 19 mm square (s), 10 mm thick (m), plain Ø12 bore at the thread major; corners are square, so the corner distance is 26.9 mm against the printed e max 26.9; no chamfer or thread | STEP · STL |
| square-nut-din-557-m16-s-24-m-13 | M16 DIN 557 square nut envelope: 24 × 24 mm square (s), 13 mm thick (m), plain Ø16 bore at the thread major; corners are square, so the corner distance is 33.9 mm against the printed e max 33.9; no chamfer or thread | STEP · STL |
https://xemstudio.com/mcp to Claude, ChatGPT, Cursor or any MCP client (free, no account, one minute) and it can look up exact sizes, mating fits and free STEP/STL from every chat.Plain text: sheet.txt · JSON: /api/geometry?object=square-nuts-din-557

Fits with





Questions
How big is an M6 square nut?
10 mm across the square, 5 mm thick, 14.1 mm across corners max (fasten.it and CDE agree).
Why are there two M10 square nut sizes?
fasten.it prints 16 mm and 17 mm across flats rows for M10 (and 18 / 19 mm for M12) without explanation; CDE prints 17 and 19 only.