Documentation/Modules/Engineering guide to key and spline design for shaft-hub connections

Engineering guide to key and spline design for shaft-hub connections

Calculate torque capacity of parallel keys and splines from shear and bearing stress limits on key, shaft, and hub per ISO 3912 screening methods.

Standards catalog

Validation: indicative · Method band: formula

Open calculator

Indicative method: Parallel-key / spline shear and bearing stress capacity screening

Assumptions

  • Linear elastic material behavior unless noted otherwise.
  • User is responsible for load combinations and load factors per the selected design code.
  • Design standard (US/EU/ISO) sets unit defaults and screening check labels — not a full code worksheet.

Limitations

  • Does not replace full DIN 6885 / ANSI B17.1 fit and tolerance worksheets.
  • Professional screening — verify critical shaft-hub connections with code tables.

Engineering checks

CheckINDUSEUISO
Key shear safety factorimplementedimplementedimplemented
Key bearing safety factorimplementedimplemented

How engineers design keyed and splined connections

Keys and splines transmit torque between a shaft and a hub (gear, pulley, coupling). A key is a small bar fitted into matching slots (keyways) in both shaft and hub; splines are integral teeth machined into the shaft. The key or spline must resist shear across its width and bearing stress on the keyway flanks. The design process selects a standard key size for the shaft diameter, then checks that the key length provides adequate shear and bearing capacity.

Types and configurations

TypeFitApplication
Parallel key (square/rect)Sliding or tightGeneral-purpose drives
Woodruff keySemi-circular, self-aligningLight-duty, tapered shafts
Gib-head keyTaper with head for extractionHeavy press fits
Straight-sided splineMultiple teethAutomotive, gearboxes
Involute splineInvolute profileAerospace, high-torque

Engineering workflow

  1. Look up standard key cross-section for the shaft diameter (ISO 3912 / DIN 6885).
  2. Calculate the tangential force from torque and shaft radius.
  3. Determine required key length from shear stress limit.
  4. Check bearing stress on the shallower keyway side (shaft or hub).
  5. For splines, multiply effective bearing area by tooth count and load-sharing factor.
  6. Verify keyway stress concentration does not compromise shaft fatigue life.

Key quantities and formulas

Tangential force on key:

Key shear stress:

Bearing stress on keyway:

Spline bearing with load sharing:

Worked example

A 50 mm shaft transmits 200 N-m through a standard 14 x 9 mm parallel key, 40 mm long. Key material: steel with MPa, MPa.

  • Tangential force: N.
  • Shear stress: MPa — well within 60 MPa.
  • Bearing stress: MPa — within 120 MPa.
  • Both checks pass with safety factors of 4.2 (shear) and 2.7 (bearing).

Common mistakes and checks

  • Using key height instead of half-height for bearing: the bearing surface is only the portion of the key embedded in the shaft or hub.
  • Ignoring keyway stress concentration: a keyway reduces the shaft's fatigue strength by a factor of 1.5–3.0 depending on fillet radius.
  • Single key for reversing torque: reversing loads hammer the key in the keyway — consider two keys at 90 deg or 120 deg.
  • Assuming all spline teeth share load equally: manufacturing tolerances mean only 50–75% of teeth carry load — apply a sharing factor.

FAQ

How do I select the right key size?

ISO 3912 and DIN 6885 provide standard key cross-sections for each shaft diameter range. For a 50 mm shaft, the standard key is 14 x 9 mm.

When should I use splines instead of keys?

When torque is high relative to shaft diameter, when alignment must be precise, or when the connection must slide axially under load (sliding splines in gearboxes).

Do keyways weaken the shaft?

Yes — the stress concentration at keyway corners can reduce fatigue strength by 30–60%. Use generous fillet radii and consider fatigue analysis with the Shafts module.

Can I use two keys on one shaft?

Yes — two keys at 90 deg or 120 deg spacing share load and are used when a single key is too long or for reversing torque applications.

What is the difference between a sliding fit and a tight fit key?

A sliding fit key allows axial movement of the hub along the shaft; a tight fit key is pressed in and prevents axial motion.

Use the PhyCalcPro calculator

Open the Keys & Splines calculator to enter torque, shaft diameter, key type and dimensions, and material allowables. The tool returns tangential force, shear stress, bearing stress, utilizations, and the governing failure mode.


Purpose

Calculate torque capacity of parallel keys and splines from shear and bearing stress limits on key, shaft, and hub.

Physics & theory

Keys transmit torque between shaft and hub through shear in the key and bearing on keyway flanks. Tangential force . Key shear stress . Bearing stress on shaft or hub side is . Splines multiply effective bearing area by tooth count with a load sharing factor. Stress concentration at keyway corners reduces fatigue strength.

Governing equations

Numerical method

Closed-form shear and bearing checks for selected key size or custom dimensions. Spline mode applies tooth count and load-sharing factor per ISO 3912 simplified method.

Inputs

ParameterDescription
torque, shaft diameterOperating load
Key type/sizeStandard or custom
Material allowablesKey and hub shear/bearing
Spline teeth (optional)For spline analysis

Outputs

  • Tangential force, key shear stress, bearing stress, utilizations, governing failure mode.

Design codes & checks

  • Indicative: Key shear and bearing capacity
  • ISO: ISO 3912 parallel keys and keyways

Assumptions & limitations

  • Uniform load along key length; no torsion along key overhang.
  • Static or slowly varying torque; no fatigue per DIN 6892 full method.
  • Set-screws and taper keys use different models.
  • Hub wall thickness must support bearing — not checked here.

Verification

References

  1. ISO 3912:2019. Parallel keys and keyways.
  2. Shigley, J. E., & Budynas, R. G. Mechanical Engineering Design, 11th ed., Ch. 7.
  3. DIN 6892:2012. Drive type connections — Keys.
  4. Peterson, R. E. Stress Concentration Factors (keyway Kt).

Validation & quality

Trust signals for this module — release tier, catalog status, and verification notes. Engineers should review assumptions and limitations before relying on results.

Verified
Release tier
Verified
Catalog status
indicative
Validation quality
2 / 5
Numerical depth
3 / 5 · formula
CI benchmarks
1 / 1 passed

Key shear and bearing capacity.

Fleet-wide release tiers and export audit: Quality & maturity dashboard · Trust & responsibility

Indicative results still require independent engineering review for certified work.

Related guides