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.43750.09380.75, 1, 1.5, 2, 3
0.4375–0.56250.1250.75, 1, 1.5, 2, 3
0.5625–0.8750.18750.75, 1, 1.5, 2, 3
0.875–1.250.250.75, 1, 1.5, 2, 3
1.25–1.3750.31250.75, 1, 1.5, 2, 3
1.375–1.750.3750.75, 1, 1.5, 2, 3
1.75–2.250.50.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.

featureexactmates withfitfiles
keysquare, 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 inshaft keyseat and hub keyseatslidesquare-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 boreslidesquare-key-*

Where the files are

Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.

ASMEANSI B17.1 Keys and keyseatsstandardASME; 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
  1. Claude: Add to Claude
  2. ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
  3. Cursor: install with one click. VS Code: install with one click.
Other apps and full steps
square-key-6-64in-x0.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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.75in0.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-x1in0.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.5in0.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-x2in0.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-x3in0.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
Let your AI pull this. Add 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.
Set it up →

Plain text: sheet.txt · JSON: /api/geometry?object=square-keys-inch

Square keys, inch (ANSI B17.1): 3/32 to 1/2 in, isometric render of a generated part
Render of square-key-16-64in-x1.5in from the free STEP; not to scale.

Fits with

Questions

Key for a 1 in shaft?

1/4 in square.