Library › Hardware › Gears, cranks & flywheels ·
Square keys, inch (ANSI B17.1): 3/32 to 1/2 in
What key goes on a 1 inch shaft? · Standard part · basis: ANSI B17.1 keys and keyseats: square key size by shaft diameter; keyseat depth k/2
Also called: 1 inch shaft key size, ansi key size chart, square key stock
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
- sizes
- 7 in table
Notes
- Square ends (bar stock keys).
Square keys, inch (ANSI B17.1): 3/32 to 1/2 in size chart
| shaft (in) | key (in) | lengths (in) |
|---|---|---|
| 0.3125–0.4375 | 0.0938 | 0.75, 1, 1.5, 2, 3 |
| 0.4375–0.5625 | 0.125 | 0.75, 1, 1.5, 2, 3 |
| 0.5625–0.875 | 0.1875 | 0.75, 1, 1.5, 2, 3 |
| 0.875–1.25 | 0.25 | 0.75, 1, 1.5, 2, 3 |
| 1.25–1.375 | 0.3125 | 0.75, 1, 1.5, 2, 3 |
| 1.375–1.75 | 0.375 | 0.75, 1, 1.5, 2, 3 |
| 1.75–2.25 | 0.5 | 0.75, 1, 1.5, 2, 3 |
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 |
|---|---|---|---|---|
| key | square, side by shaft: 3/32 in (shaft 5/16–7/16), 1/8 (7/16–9/16), 3/16 (9/16–7/8), 1/4 (7/8–1-1/4), 5/16 (1-1/4–1-3/8), 3/8 (1-3/8–1-3/4), 1/2 (1-3/4–2-1/4); width tol +0.001/−0.000 in | shaft keyseat and hub keyseat | slide | square-key-* |
| keyseat (shaft and hub) | width = key side, tol +0.002/−0.000 in; depth = half the key side (shaft depth + hub depth = key side) | keyseat milled in the shaft and in the hub bore | slide | square-key-* |
Where the files are
Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.
| ASME | ANSI B17.1 Keys and keyseats | standard | ASME; dimensions are facts verify |
Free files
★ Free files 35 parts. Xem Studio design: free to use, print and sell things from; not to be republished as files. Xem Studio Design License. index.json
Use this part in your AI. Your AI gets the exact sizes and files straight from Xem and can design a mount, case or adapter around it. Direct downloads here are limited to one file every 10 minutes; through your AI they are unlimited.
Connect Xem to your AI (free, no account, about a minute)
https://xemstudio.com/mcp- Claude: Add to Claude
- ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
- Cursor: install with one click. VS Code: install with one click.
| square-key-6-64in-x0.75in | 0.09375 in square key × 0.75 in, for shafts over 0.3125 up to 0.4375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-6-64in-x1in | 0.09375 in square key × 1 in, for shafts over 0.3125 up to 0.4375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-6-64in-x1.5in | 0.09375 in square key × 1.5 in, for shafts over 0.3125 up to 0.4375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-6-64in-x2in | 0.09375 in square key × 2 in, for shafts over 0.3125 up to 0.4375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-6-64in-x3in | 0.09375 in square key × 3 in, for shafts over 0.3125 up to 0.4375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-8-64in-x0.75in | 0.125 in square key × 0.75 in, for shafts over 0.4375 up to 0.5625 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-8-64in-x1in | 0.125 in square key × 1 in, for shafts over 0.4375 up to 0.5625 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-8-64in-x1.5in | 0.125 in square key × 1.5 in, for shafts over 0.4375 up to 0.5625 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-8-64in-x2in | 0.125 in square key × 2 in, for shafts over 0.4375 up to 0.5625 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-8-64in-x3in | 0.125 in square key × 3 in, for shafts over 0.4375 up to 0.5625 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-12-64in-x0.75in | 0.1875 in square key × 0.75 in, for shafts over 0.5625 up to 0.875 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-12-64in-x1in | 0.1875 in square key × 1 in, for shafts over 0.5625 up to 0.875 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-12-64in-x1.5in | 0.1875 in square key × 1.5 in, for shafts over 0.5625 up to 0.875 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-12-64in-x2in | 0.1875 in square key × 2 in, for shafts over 0.5625 up to 0.875 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-12-64in-x3in | 0.1875 in square key × 3 in, for shafts over 0.5625 up to 0.875 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-16-64in-x0.75in | 0.25 in square key × 0.75 in, for shafts over 0.875 up to 1.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-16-64in-x1in | 0.25 in square key × 1 in, for shafts over 0.875 up to 1.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-16-64in-x1.5in | 0.25 in square key × 1.5 in, for shafts over 0.875 up to 1.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-16-64in-x2in | 0.25 in square key × 2 in, for shafts over 0.875 up to 1.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-16-64in-x3in | 0.25 in square key × 3 in, for shafts over 0.875 up to 1.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-20-64in-x0.75in | 0.3125 in square key × 0.75 in, for shafts over 1.25 up to 1.375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-20-64in-x1in | 0.3125 in square key × 1 in, for shafts over 1.25 up to 1.375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-20-64in-x1.5in | 0.3125 in square key × 1.5 in, for shafts over 1.25 up to 1.375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-20-64in-x2in | 0.3125 in square key × 2 in, for shafts over 1.25 up to 1.375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-20-64in-x3in | 0.3125 in square key × 3 in, for shafts over 1.25 up to 1.375 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-24-64in-x0.75in | 0.375 in square key × 0.75 in, for shafts over 1.375 up to 1.75 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-24-64in-x1in | 0.375 in square key × 1 in, for shafts over 1.375 up to 1.75 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-24-64in-x1.5in | 0.375 in square key × 1.5 in, for shafts over 1.375 up to 1.75 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-24-64in-x2in | 0.375 in square key × 2 in, for shafts over 1.375 up to 1.75 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-24-64in-x3in | 0.375 in square key × 3 in, for shafts over 1.375 up to 1.75 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-32-64in-x0.75in | 0.5 in square key × 0.75 in, for shafts over 1.75 up to 2.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-32-64in-x1in | 0.5 in square key × 1 in, for shafts over 1.75 up to 2.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-32-64in-x1.5in | 0.5 in square key × 1.5 in, for shafts over 1.75 up to 2.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-32-64in-x2in | 0.5 in square key × 2 in, for shafts over 1.75 up to 2.25 in (keyway depth k/2 in shaft and hub) | STEP · STL |
| square-key-32-64in-x3in | 0.5 in square key × 3 in, for shafts over 1.75 up to 2.25 in (keyway depth k/2 in shaft and hub) | 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-keys-inch

Fits with





Questions
Key for a 1 in shaft?
1/4 in square.