Roymech engineering encyclopedia

Key and Spline Strength Calculations


This page provides engineering formulas and worked examples for estimating the strength of keys and splines used to transmit torque between shafts and hubs. The calculations consider shaft shear stress together with key and spline shear and compressive (bearing) stresses.

Choosing the connection before calculating its strength?
See the Key and Spline Selection Guide for guidance on selecting between keys, splines and alternative shaft-to-hub connections.

The methods are useful for preliminary mechanical design and for understanding the load path through a keyed or splined shaft connection. Service factors are included to account for operating conditions, fatigue, wear and load distribution.

Engineering note: The methods on this page are intended for preliminary design and engineering assessment. Final designs should be checked against the applicable key or spline standard, verified material properties and the actual loading, fatigue, fit and service conditions of the application.

Key and Spline Design Method

The following notes provide methods for calculating reasonable estimates of the stresses resulting from an applied torque. The calculations allow the operating conditions to be included through a service factor Ks.

Depending on the connection being considered, the service factor may include:

  • Kd = design factor
  • Ka = application factor
  • Km = load distribution factor
  • Kf = fatigue life factor
  • Kw = wear life factor

The wear factor is primarily relevant to splines and other connections where relative axial movement occurs.

The resulting design stress should be compared with an appropriate material design strength, allowing for the required factor of safety.

The original RoyMech calculations were also compared with external spline calculation methods. Different spline design methods can use different definitions of allowable stress, service factors and fixed or flexible connections. Care is therefore required when comparing numerical results between methods.

Note: Tables of the factors and design strengths used by the original RoyMech method are provided on the Spline Factors page.

Types of Shaft-to-Hub Connection

Key and spline shaft-to-hub connection types



Shaft Capacity

Before checking the key or spline, it is good practice to check the torque capacity of the shaft itself. Where a keyway or spline removes material from the shaft, the reduced shaft section should also be considered.

Note: Tables of the various factors and design strengths are provided on the Spline Factors page.

Shaft and keyway dimensions used in strength calculations



  • Do = Shaft diameter (m)
  • Di = Reduced shaft diameter (m)
  • Dh = Hole diameter for a hollow shaft (m)
  • T = Applied torque (N.m)
  • Ks = Service factor; for shafts Ks = Ka / Kf
  • σc = Compressive stress (N/m2)
  • τ = Shear stress (N/m2)

Shaft torsional stress equations




Key Capacity

Note: Tables of the various factors and design strengths are provided on the Spline Factors page.

A key transmitting torque should normally be checked for both shear and compressive (bearing) stress. The reduced shaft section produced by the keyway should also be checked.

To determine the torque capacity of the key:

  • x = Depth of key face in contact with the shaft (m) – see sketch
  • x1 = Depth of key face in contact with the hub (m) – see sketch
  • r = Shaft radius = Do/2 (m)
  • Le = Effective straight length of key (m)
  • b = Breadth of key (m)
  • c = Key chamfer size (m)
  • t1 = Depth of shaft keyway (m)
  • T = Applied torque (N.m)
  • F = Approximate tangential force on key = T/r (N)
  • Ks = Service factor
    For a fixed / close-fit key: Ks = Ka . Kd / Kf
    For a sliding-fit key: Ks = Ka . Kd / Kw
  • σc = Resulting compressive stress in the key (N/m2)
  • τ = Resulting shear stress in the key (N/m2)

It is reasonable for an initial calculation to use x = h/2. The geometry shown below provides a more representative value of x.

Effective key contact depth

The bearing stress in the hub should also be considered where the hub material has a significantly lower design strength than the shaft or key material.

Key strength equation based on shear
Based on shear

Key strength equation based on compressive bearing stress
Based on compressive strength






Straight-Sided Spline Capacity

Note: Tables of the various factors and design strengths are provided on the Spline Factors page.

For a straight-sided spline, torque is transmitted through several spline faces around the circumference. The calculation below estimates the compressive stress on the working faces.

  • r = Mean radius of spline (m)
  • n = Number of splines
  • Le = Effective straight length of spline (m)
  • d = Effective depth of spline engagement (m)
  • T = Applied torque (N.m)
  • Ks = Service factor
    For a fixed / guided spline: Ks = Ka . Kd / Kf
    For a flexible / sliding spline: Ks = Ka . Km . Kd / Kw
  • σc = Resulting compressive stress in spline (N/m2)
  • τ = Resulting shear stress (N/m2)

Straight-sided spline capacity equation based on compressive strength
Based on compressive strength





Involute Spline Capacity

Note: Tables of the various factors and design strengths are provided on the Spline Factors page.

For an involute spline the torque is distributed through a number of engaging teeth. The following approximate method checks tooth shear and compressive stress together with the strength of the reduced shaft section.

  • D = Pitch diameter of spline (m)
  • m = Spline module
  • S = Tooth thickness (m)
  • z = Number of teeth
  • Le = Effective straight length of spline (m)
  • h = Effective depth of engagement of spline teeth (m)
  • T = Applied torque (N.m)
  • Ks = Service factor
    For a fixed close-fit / guided spline: Ks = Ka / Kf
    For a flexible / sliding spline: Ks = Ka . Km . Kd / Kw
  • σc = Resulting compressive stress (N/m2)
  • τ = Resulting shear stress (N/m2)

For the 30° spline geometry used in the original RoyMech method, h = 0,9m for the flat-root form and h = m for the fillet-root form. The applicable spline standard should be checked for the geometry being used.

Involute spline shear stress calculation



Involute spline compressive stress calculation




Worked Example – Comparing a Key and Two Spline Connections

Three example calculations are provided below using the same transmitted power and rotational speed. The key and splines are assumed to be close-fit or guided connections.

The original RoyMech example uses the factors and material design strengths from the Spline Factors page. The purpose of the example is to show the calculation method and to compare the resulting stresses for a key, a straight-sided spline and an involute spline.

A transmitted power of 10 kW at 1500 rev/min is used. A nominal shaft diameter of 25 mm is then used as the basis for the three connection examples.

Initial Data

  • Power transferred = 10 kW
  • Speed = 1500 rev/min
  • Resulting torque: T = 9549 P / n = 9549 × 10 / 1500 = 63,66 N.m
  • Design life = 10,000 hours
  • Start/stops = 100,000
  • Total shaft revolutions = 900 × 106 revolutions
  • Shaft / hub / key material used in the original example: BS EN 10083 C45 normalized. Ultimate tensile strength = 580 MPa; yield strength approximately 300 MPa.
  • Design strengths used in this example: shear strength Ss = 200 MPa and compressive strength Sc = 130 MPa. See the Spline Factors page for the original RoyMech basis.

Factors Used in the Example

  • Design factor Kd = 1,0
  • Application factor Ka = 1,0
  • Load distribution factor Km = 1,0
  • Fatigue factor Kf = 0,5
  • Wear factor Kw = 0,7
  • Service factor – shaft Ks = 2,0
  • Service factor – key, close fit Kk = 2,0
  • Service factor – spline, close fit Ksp = 2,0

Shaft Calculation

Assume a basic shaft diameter Do = 25 mm. The torsional shear stress in the shaft is:

τ = 16 T Ks / (π Do3)

τ = 16 × 63,66 × 1000 × 2 / (π × 253) = 41,5 MPa

Factor of safety = Ss / τ = 200 / 41,5 ≈ 4,8

Parallel Key Calculation

Select an 8 mm × 7 mm key, 70 mm long.

Le = effective length of key = 70 - (2 × 4) = 62 mm

x = 2,94 mm
x1 = 3,26 mm
Di = reduced shaft diameter = 25 - 4 = 21 mm

Reduced Shaft Shear Stress

τ = 16 T Ks / (π Di3)

= 16 × 63,66 × 1000 × 2 / (π × 213) = 70,0 MPa

Factor of safety ≈ 200 / 70,0 = 2,86

Key Compressive (Bearing) Stress

For this example the compressive stress between the key and the mating surface is the more restrictive of the key checks.

σc = T Ks / [Le (D/2) x]

= 63,66 × 1000 × 2 × 2 / (62 × 25 × 2,94) = 55,8 MPa

Factor of safety ≈ 130 / 55,8 = 2,33

Original comparison calculation: approximately 58,5 MPa

Straight-Sided Spline Calculation

Select a straight-sided spline designated 25 - 6 × 21 × 25. For this example:

  • Outside diameter = 25 mm
  • Di = reduced diameter = 21 mm
  • n = 6 spline teeth
  • Le = spline length = 25 mm
  • r = mean tooth radius = (21 + 25) / 4 = 11,5 mm
  • c = assumed tooth chamfer = 0,3 mm
  • Effective tooth depth y = ((25 - 21) / 2) - (2 × 0,3) = 1,4 mm

Reduced Shaft Shear Stress

τ = 16 T Ks / (π Di3)

= 16 × 63,66 × 1000 × 2 / (π × 213) = 70,0 MPa

Factor of safety ≈ 200 / 70,0 = 2,86

Spline Compressive Stress

σc = T Ks / (Le n r y)

= 63,66 × 1000 × 2 / (25 × 6 × 11,5 × 1,4) = 52,7 MPa

Factor of safety ≈ 130 / 52,7 = 2,47

Original comparison calculation: 52,7 MPa

Involute Spline Calculation

Select an involute spline with module m = 1 and 24 teeth. The example geometry is:

  • Number of teeth z = 24
  • Module m = 1 mm
  • Pitch diameter D = m.z = 24 mm
  • External major diameter Dee = 25 mm
  • External minor diameter Die = 22,5 mm
  • Effective spline length L = 10 mm
  • Pitch p = mπ = 3,1416 mm
  • Basic tooth thickness at the pitch circle = p/2 = 1,5708 mm
  • Tooth engagement height used in this example h = 0,9m = 0,9 mm

Reduced Shaft Shear Stress

τ = 16 T Ks / (π Die3)

= 16 × 63,66 × 1000 × 2 / (π × 22,53) = 56,9 MPa

Factor of safety ≈ 200 / 56,9 = 3,51

Original comparison calculation: 56,9 MPa

Spline Tooth Shear Stress

τ = 4 T Ks / (L z t D)

= 4 × 63,66 × 1000 × 2 / (10 × 24 × 1,5708 × 24) ≈ 56,3 MPa

Factor of safety ≈ 200 / 56,3 = 3,55

Spline Tooth Compressive Stress

σc = 2 T Ks / (L z h D)

= 2 × 63,66 × 1000 × 2 / (10 × 24 × 0,9 × 24) ≈ 49,1 MPa

Factor of safety ≈ 130 / 49,1 = 2,65

Original comparison calculation: approximately 46,3 MPa

What the Worked Example Shows

The example demonstrates why a shaft-to-hub connection should not be assessed only from the nominal shaft diameter. Cutting a keyway or spline changes the minimum shaft section, while the connection itself introduces shear and bearing stresses that must also be checked.

For each design the engineer should therefore consider the complete load path: shaft, reduced shaft section, key or spline teeth, hub contact surfaces and the effects of the actual operating duty.

The simplified calculations are useful for initial sizing and for comparing alternative arrangements. Detailed spline design additionally requires consideration of actual tooth load distribution, dimensional tolerances, alignment, manufacturing accuracy, fatigue, wear and the requirements of the applicable spline standard.

Key and Spline Strength Calculation Process

  1. Determine the transmitted torque from power and rotational speed.
  2. Select an initial shaft diameter.
  3. Select a suitable key or spline geometry from the applicable dimensional standard.
  4. Check the torsional stress in the shaft and the reduced shaft section.
  5. Apply appropriate service factors for the actual operating conditions.
  6. Calculate key or spline shear stress.
  7. Calculate compressive (bearing) stress on the working surfaces.
  8. Compare the calculated stresses with appropriate material design strengths.
  9. Check the resulting factors of safety and revise the geometry if necessary.
  10. For final design, check fatigue, fit, wear, alignment, manufacturing and inspection requirements as appropriate to the connection.
Design caution: The allowable stresses and service factors used in a key or spline calculation must be appropriate to the material, heat treatment, loading and application. Do not assume that the example values on this page are suitable design allowables for another component.

Related Key and Spline Information





�