Keyway Calculator

Select the standard parallel key for a shaft diameter and calculate the key length needed for shear and crushing under a given torque.

Built by Sabki SolutionsRules: IS 2048 / DIN 6885 parallel keysLast updated
mm
7mm200mm
N·m
0.1N·m1,00,000.0N·m
MPa
10MPa200MPa
MPa
20MPa400MPa

Standard Key (b × h)

14 × 9 mm

Key Length

40 mm

Length for Shear / Crushing

23.8 / 37 mm

Tangential Force

20000 N

Stresses at Chosen Length

35.7 / 111.1 MPa

Recommended Hub Length

75 mm

Parallel Key Size and Length

Enter the shaft diameter and the torque. The calculator picks the standard parallel key for the shaft and works out the length needed so the key neither shears nor crushes, rounded up to a standard length.

Formulas

  • Force F = 2T ÷ d
  • Shear L = F ÷ (b τ)
  • Crushing L = 2F ÷ (h σc)

Standard parallel keys (IS 2048 / DIN 6885)

Shaft dia (mm)Key b × h (mm)
17 to 226 × 6
22 to 308 × 7
30 to 3810 × 8
38 to 4412 × 8
44 to 5014 × 9
50 to 5816 × 10
58 to 6518 × 11
65 to 7520 × 12
75 to 8522 × 14
85 to 9525 × 14

Worked examples

1. 50 mm shaft, 500 N·m (the defaults). Key 14 × 9; F = 20 kN; shear needs 23.8 mm, crushing 37.0 mm → 40 mm key; hub at least 75 mm.

2. 30 mm shaft, 150 N·m. Key 8 × 7; needs 23.8 mm → 25 mm.

3. 75 mm shaft, 2,000 N·m. Key 20 × 12; crushing needs 74 mm → 80 mm.

For shock loads or hollow and cast-iron hubs, reduce the allowable stresses, or use splines or shrink fits.

Related tools

Frequently Asked Questions

What key size does a shaft need?

Standard sizes depend on diameter (IS 2048 / DIN 6885): 22 to 30 mm shafts use 8 × 7 mm keys, 30 to 38 mm use 10 × 8, 44 to 50 mm use 14 × 9 and 58 to 65 mm use 18 × 11.

How is the force on the key found?

F = 2T ÷ d. 500 N·m on a 50 mm shaft gives 20,000 N.

How long should the key be?

Long enough for both checks: shear L = F ÷ (b τ) and crushing L = 2F ÷ (h σc). The larger value governs, rounded up to a standard length.

Which failure usually governs?

Crushing (bearing) of the key or keyway side, because the key bears on only about half its height.

What allowable stresses are used?

For C45 key steel, about 60 to 70 MPa in shear and 100 to 150 MPa in crushing for steady loads; lower for shock and cast iron hubs.

What hub length is recommended?

At least the key length, and typically 1.5 × shaft diameter for stability.

What if the key is longer than the hub?

Use two keys at 180°, a spline, a shrink fit, or a larger shaft diameter.

How deep is the keyway in the shaft?

About 60% of the key height (for a 14 × 9 key, t1 = 5.5 mm), the rest in the hub. Check the standard for exact depths and tolerances.

Does the keyway weaken the shaft?

Yes. It reduces strength by about 25%, which design codes allow for (see the Shaft Design Calculator).

What fits are used for keys?

Normal fit: shaft keyway N9, hub keyway JS9. Close fit: P9 both. The key itself is h9.

Related Calculators

More in Mechanical · Engineering calculators · All calculators A–Z