Shaft Key Stress Calculator (Parallel Key)

A parallel key transmits torque from a shaft to a hub and can fail by shearing across its width or by crushing its side faces. This calculator checks both, using distortion energy theory for shear, and finds the shortest key that meets your safety factor.

Inputs

Results

Lowest factor of safety
2.24
Shear stress
52.08
Bearing (crushing) stress
156.3
Minimum key length for the required factor
35.71

    RefENG-MEC-009
    MethodF = 2T/d; τ = F/(b·L); σ_c = F/((h/2)·L)
    UnitsSI
    Date2026-11-23

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Force at the shaft surfaceF = 2T/dF = 25 kN
    2. Shearτ = F/(bL); FS = 0.577S_y/ττ = 52.08 MPa, FS = 3.877
    3. Bearingσ = F/((h/2)L); FS = S_y/σσ = 156.3 MPa, FS = 2.24

    Bearing usually governs

    Because only half the key height bears on the hub, crushing stress is normally higher than shear stress for standard key proportions. Keys are often deliberately made from softer steel than the shaft so they fail first and protect it.

    Assumptions and limits

    • Uniform load distribution along the key; torque applied at the shaft surface.
    • Square-ended parallel key; effective length excludes rounded ends.

    References

    • ISO/DIN 6885-1, Drive type fastenings without taper action: parallel keys.
    • Shigley's Mechanical Engineering Design, section 7-7.

    Questions

    Is a 12 × 8 × 40 mm key enough for 500 N·m on a 40 mm shaft?
    Bearing stress is about 156 MPa, giving a factor of safety of about 2.2 against 350 MPa yield, so yes for a factor of 2.
    What key size for a 40 mm shaft?
    ISO/DIN 6885 specifies 12 × 8 mm for shafts over 38 up to 44 mm.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.