Shaft Diameter Calculator: Torque, Bending, Fatigue & Critical Speed
Size a solid steel shaft for torque, bending and infinite-life fatigue. Check bearing loads, deflection, slope and Rayleigh critical speed, with diagrams and a rotating stress-cycle animation.
This shaft design calculator sizes a solid round steel shaft carrying one or two drive elements between two bearings. It is intended for machine designers, engineering students and anyone checking a transmission layout before detailed drawings or finite-element analysis. It combines a shaft diameter calculator for torque and bending with fatigue, stiffness and critical-speed screening.
Start with the bearing span and a trial diameter. Locate each element from bearing A. With two elements, the entered power flows between them; with one element, a coupling at bearing A supplies the torque. Enter mechanical power and rotational speed, or switch to a known mean torque. An optional alternating torque amplitude represents half the torque range. It must not exceed the mean torque; reversing torque is outside this model.
Choose a spur gear, belt pulley or chain sprocket at each station. Pitch diameter converts torque into rim force. A spur gear also needs its pressure angle and radial-force side; a belt or chain needs the tight-to-slack tension ratio. The direction angle sets the gear's tangential force or the belt's resultant direction. Choose either perpendicular radial-force direction from the actual gear mesh. Alternatively, enter signed total transverse forces directly. In this mode, include the rotor weight in the entered downward force. Rotor masses remain necessary for the critical-speed calculation.
Replace the illustrative steel strengths with values appropriate to the material and heat treatment. The shaft fatigue calculator estimates the specimen endurance limit or accepts measured data, then applies explicit surface, size, reliability, temperature and other reduction factors. Enter bending and torsional stress concentrations for shoulders, grooves or keyways, together with notch sensitivities. A keyway stress concentration depends on its actual geometry; the starting values are illustrative rounded-shoulder assumptions. Recheck the size factor and notch data after choosing a final diameter.
Compare the conservative static-yield and DE-Goodman fatigue diameters, then inspect the trial shaft's deflection and bearing slopes. The tool checks both torque endpoints with gravity held fixed. Strength sizing combines the greatest endpoint point-load bending moment, a worst-direction self-weight contribution and the full transmitted torque. This envelope can exceed the stress at any individual section. Deflection, slopes and radial reactions show maxima across the torque range. Charts and tables retain the signed endpoint states, so a load canceled by gravity at maximum torque cannot hide a larger response at minimum torque. A shaft that meets the strength diameter can still need enlargement for alignment.
The shaft critical speed calculator uses gravity sag under rotor weights and shaft self-weight in Rayleigh's energy estimate. Operational gear and belt forces are excluded from that sag calculation. Compare the estimated first bending critical speed with operating speed and the subcritical ratio you select. Play the rotation angle to see why a stationary bending load produces one reversed stress cycle at a material point during each revolution.
The model assumes a uniform, slender, linearly elastic steel shaft with rigid bearing supports. It excludes overhung loads, hollow or stepped stiffness, axial thrust, bearing compliance, gyroscopic effects and detailed resonance response. Infinite-life fatigue screening does not predict a service life or replace detailed verification. DIN 743 is named for further shaft-strength assessment; this tool does not implement its procedure.
How it is calculated
Torque and drive forces
Mechanical torque is , with an explicit rpm-to-angular-speed conversion. The checked range is to . The input condition requires : torque reversal is rejected because it requires a different gear contact or belt/chain direction model. Zero torque is included when or the complete range is zero.
For each endpoint, rim force is . For a spur gear ; for parallel belt or chain runs with tight/slack ratio , the transverse resultant is . Gear tangential direction is , with +y downward and +z lateral. The radial-side selector gives for or for :
At , the two sides therefore produce upward or downward radial force while preserving the same +z tangential force. Select the separating direction from the actual mesh geometry; SDP/SI §16.1 explains tangential and radial gear forces. Use known-force mode for a force system outside this description.
Derived endpoint forces include the same rotor weight at both endpoints. Known-force mode expects total forces including weight; these entered forces stay fixed over the torque range.
Why the endpoints enclose the whole range
With non-reversing torque, each derived force is affine in torque, and gravity is constant. Linear beam moments, displacements, slopes and reaction components are consequently affine in torque at every shaft position. The norm of an affine vector is convex. Therefore its greatest magnitude over this closed interval occurs at an endpoint. Component zero crossings and gravity cancellations inside the interval cannot create a larger magnitude. Both endpoint states are retained; no signed componentwise mixture is treated as a physical load state.
Equilibrium and stiffness
Reactions follow force and moment balance in each transverse plane. At each endpoint the bending resultant is . The reported bending, deflection, slope and radial-reaction magnitudes are the maxima over the two endpoints. Torque is confined to the shaft segment between the drive stations, or from bearing A to the single station. Euler–Bernoulli point-load solutions plus a uniform self-weight solution give displacement and its derivative, with zero displacement and zero applied end moment at the two bearings. The chart samples 201 equally spaced positions; rotor displacements, bearing slopes and moments at both load stations are evaluated directly. Small slope is reported in mrad. Maximum deflection and its position are sampled, rather than analytic extrema. MIT OCW Lecture 03, attached pp. 11–17, gives the beam relations and superposition assumptions; NPTEL Module 8 Lesson 2, pp. 6–8, gives the stiffness example.
Conservative diameter sizing
For a candidate diameter , use and the bending envelope . Self-weight is recalculated at every candidate diameter. For point loads, the resultant is convex between load stations, so its maximum occurs at a load station. is the greatest such moment across both torque endpoints. Adding the peak self-weight moment in the worst direction and applying full torque forms a conservative uniform-diameter envelope even when the real moment and torque peaks do not coincide in position or occur at different torque endpoints.
Nominal stresses are and . Static yield uses .
A fixed endpoint transverse load produces fully reversed bending at a rotating point. For constant or slowly varying transverse loading, the calculation conservatively applies the worst endpoint bending envelope during every revolution: , . Set and . DE equivalent stresses are and . Modified Goodman gives . The standard elastic DE-Goodman treatment uses fatigue concentration factors for both mean and alternating components; elastic factors are retained separately for the peak-yield check. No local yielding or mean-stress relaxation is modeled.
The specimen estimate is . Surface, size, reliability, temperature and other modifiers multiply this value; the bending loading factor is one. Bisection finds each diameter at the requested safety factor. MIT Lecture 04, pp. 30–32 and 52–54, supports the endurance estimate, modifiers, Goodman line and notch sensitivity. NPTEL Module 8 Lesson 1, pp. 5–6, gives round-section stress equations; the calculator uses von Mises rather than the lesson's allowable-shear/ASME sizing procedure.
Rayleigh critical speed
Compute the gravity-only sag from rotor weights and distributed shaft self-weight. With and rotor weights ,
Trapezoidal integration uses the 201-position grid; rotor terms use exact station sag. This extends the concentrated-weight formula in NPTEL Module 8 Lesson 2, p. 7, to include shaft mass through the same energy balance. It is an approximate upper estimate for the ideal first bending frequency. The displayed speed ratio is a preliminary subcritical screen, not a certified separation margin.
The beam superposition, conservative envelope, distributed-mass extension and numerical implementation are derived here from these mechanics relations. The animation shows elastic bending stress, , at a material point using the conservative sizing envelope; torsional stress is reported separately.
Assumptions
- One uniform, solid round steel shaft; two ideal bearings at its ends, with no overhang. Both bearings restrain transverse displacement and allow bending rotation. The single-element mode puts the driving coupling at bearing A.
- Rotor masses are point masses without rotary inertia. Density and modulus are uniform. The self-weight switch controls both distributed shaft mass and shaft weight.
- Drive-force directions are stationary in space. Derived forces are checked at both non-reversing torque endpoints, with rotor gravity held fixed. Known forces stay constant. Endpoint envelope values may occur at different states for different positions; they are not a single simultaneous deflected shape.
- Fatigue treats the worst endpoint bending envelope as fully reversed on every revolution, with the entered mean and alternating torsion. This is a constant or slowly varying transverse-load model, not a synchronized load-history fatigue analysis.
- Belt/chain runs are parallel for the sum-of-tensions force approximation. No extra bearing preload or belt pretension is added beyond the entered tension ratio.
- Known forces include rotor weight. Their entered rotor masses still determine gravity sag for critical speed. The user must keep these two descriptions physically consistent.
- Illustrative properties are MPa, MPa, GPa and density 7850 kg/m³; these do not designate a certified grade. Default notch factors 1.7 and 1.5 are starting assumptions for a rounded shoulder, not universal keyway values.
- Endurance modifiers and notch factors stay fixed during sizing. Re-evaluate the size factor, surface condition and actual shoulder/keyway geometry at the chosen final diameter.
- No finite-life cycle counting or variable-amplitude damage accumulation. A missing safety-factor value at exactly zero stress means no finite stress-based safety factor is needed. With station 2 disabled, its deflection card is blank. Drawings contain explicit SI annotations; numeric cards, charts and tables follow the metric/US display switch.
Where it applies
Use for preliminary sizing and teaching of slender steel shafts under elastic bending and torsion. A span/diameter ratio below 10 and deflections above 1% of span trigger approximation warnings. Deflection and slope targets must come from the application and component suppliers.
The required strength diameter is conservative and does not automatically satisfy stiffness or speed requirements. Increasing diameter changes self-weight and distributed mass. Re-enter the chosen size and review all targets.
Rayleigh assumes rigid supports and ignores bearing/housing flexibility, disk rotary inertia, gyroscopic coupling, damping, imbalance response and higher modes. Its upper estimate can overstate the actual first critical speed. The chosen operating/critical ratio is a user assumption; analyze the complete rotor near resonance or for any supercritical operation.
Torque reversal is excluded: reduce the amplitude to no more than the mean torque. Gear radial directions must follow mesh geometry; use known forces for other load systems. Synchronized force/rotation histories, load-direction changes, finite-life damage accumulation and resonant amplification of changing loads need a separate analysis.
No axial load, thrust, hollow section, stepped flexural rigidity, plastic notch correction, corrosion fatigue, fretting or contact stress is included. Notch factors account only for local stress amplification, not the stiffness of an actual stepped shaft. This is not a DIN 743 verification and embeds no standard tables or charts; check against the standard in force where required.
References
- MIT OpenCourseWare, M. Culpepper, 2.72 Elements of Mechanical Design, Lecture 03: Shafts (2009), attached pp. 11–17. https://ocw.mit.edu/courses/2-72-elements-of-mechanical-design-spring-2009/resources/mit2_72s09_lec03/
- MIT OpenCourseWare, M. Culpepper, Lecture 04: Fatigue (2009), attached pp. 30–32, 52–54. https://ocw.mit.edu/courses/2-72-elements-of-mechanical-design-spring-2009/resources/mit2_72s09_lec04/
- NPTEL / IIT Kharagpur, Design of Machine Elements I, Module 8 Lesson 1: Shaft and its design based on strength, pp. 5–9. https://archive.nptel.ac.in/content/storage2/courses/112105125/pdf/mod8les1.pdf
- NPTEL / IIT Kharagpur, Module 8 Lesson 2: Design of shaft for variable load and based on stiffness, pp. 4–8. https://archive.nptel.ac.in/content/storage2/courses/112105125/pdf/mod8les2.pdf
- J. Shigley, C. Mischke and R. Budynas, Mechanical Engineering Design, McGraw-Hill, 2003, ISBN 9780072921939; textbook cited by the MIT course. Bibliographic source and reading assignments: https://ocw.mit.edu/courses/2-72-elements-of-mechanical-design-spring-2009/pages/readings/. Textbook tables and figures are not reproduced.
- SDP/SI, Elements of Metric Gear Technology, §16.1 Forces in a Spur Gear Mesh: force components and directions. https://www.sdp-si.com/resources/elements-of-metric-gear-technology/page8.php
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Bearing span | L_span | mm | 800 |
| Trial shaft diameter Uniform solid diameter for stiffness, mass and trial-stress results. Resize after reviewing the required diameters. | d_trial | mm | 60 |
| Use a second drive element With two elements, torque flows between stations 1 and 2. With one, a coupling at bearing A supplies torque to station 1. | two_stations | true | |
| Include shaft self-weight and distributed mass Uses the trial diameter and density. Switch off only when a weightless-shaft approximation is justified. | shaft_mass | true | |
| Torque source | torque_mode | Power and speed | |
| Transmitted mechanical power | P_drive | kW | 15 |
| Operating speed Speed must be positive; power is mechanical shaft power. | n_run | rpm | 900 |
| Mean transmitted torque | T_given | N*m | 160 |
| Alternating torque amplitude Half the torque range. Must not exceed the mean torque: this model excludes torque reversal. Both endpoint loads are checked with rotor weight held fixed. | T_amp | N*m | 0 |
| Station 1 distance from bearing A Stations must lie strictly between the bearings. | a_1 | mm | 200 |
| Station 1 load model Derived loads are evaluated at both torque endpoints with the same rotor weight. Known transverse forces stay fixed across that range. | kind_1 | Belt pulley | |
| Pitch diameter 1 | D_1 | mm | 200 |
| Load direction 1 In the transverse y–z plane: 0° is downward +y, 90° is +z. For a gear, enter the tangential-force direction, then select its perpendicular radial-force side from the mesh geometry. | beta_1 | deg | 0 |
| Spur-gear pressure angle 1 Spur gears only; axial thrust is excluded. | alpha_1 | deg | 20 |
| Gear radial-force side 1 Choose the separating-force direction from the actual mesh geometry. At tangential direction 90°, +90° gives upward radial force; −90° gives downward radial force. Use known forces if the mesh cannot be described by these two perpendicular directions. | radial_side_1 | +90° from tangential force | |
| Tight/slack tension ratio 1 Pulley resultant = (tight + slack) tension. For a sprocket, use a high ratio only if slack-side tension is negligible. | ratio_1 | 3 | |
| Known total downward force 1 Positive downward. Include rotor weight here. This total force stays fixed at both torque endpoints; weight is not added again. | Fy_1 | N | 1000 |
| Known total lateral force 1 Signed force in +z. This known force stays fixed across the entered torque range. | Fz_1 | N | 5000 |
| Rotor mass 1 Used for gravity-sag critical speed in every mode. Added to the downward load only for derived drive forces. | m_1 | kg | 12 |
| Station 2 distance from bearing A Stations must lie strictly between the bearings. | a_2 | mm | 550 |
| Station 2 load model Derived loads are evaluated at both torque endpoints with the same rotor weight. Known transverse forces stay fixed across that range. | kind_2 | Spur gear | |
| Pitch diameter 2 | D_2 | mm | 160 |
| Load direction 2 In the transverse y–z plane: 0° is downward +y, 90° is +z. For a gear, enter the tangential-force direction, then select its perpendicular radial-force side from the mesh geometry. | beta_2 | deg | 90 |
| Spur-gear pressure angle 2 Spur gears only; axial thrust is excluded. | alpha_2 | deg | 20 |
| Gear radial-force side 2 Choose the separating-force direction from the actual mesh geometry. At tangential direction 90°, +90° gives upward radial force; −90° gives downward radial force. Use known forces if the mesh cannot be described by these two perpendicular directions. | radial_side_2 | +90° from tangential force | |
| Tight/slack tension ratio 2 Pulley resultant = (tight + slack) tension. For a sprocket, use a high ratio only if slack-side tension is negligible. | ratio_2 | 3 | |
| Known total downward force 2 Positive downward. Include rotor weight here. This total force stays fixed at both torque endpoints; weight is not added again. | Fy_2 | N | -6000 |
| Known total lateral force 2 Signed force in +z. This known force stays fixed across the entered torque range. | Fz_2 | N | 2200 |
| Rotor mass 2 Used for gravity-sag critical speed in every mode. Added to the downward load only for derived drive forces. | m_2 | kg | 8 |
| Young's modulus Use the material's modulus at service conditions. | E_mod | GPa | 200 |
| Steel density | rho_mat | kg/m^3 | 7850 |
| Yield strength Illustrative steel properties; replace with certified material and heat-treatment values. | S_y | MPa | 400 |
| Ultimate tensile strength | S_ut | MPa | 600 |
| Specimen endurance limit Estimate: min(0.5 × ultimate strength, 700 MPa), for steel. | endurance_mode | Estimate from tensile strength | |
| Measured specimen endurance limit Unmodified fully reversed bending limit. | S_lab | MPa | 300 |
| Surface factor Starting estimate for a machined surface, not a material certificate. Enter a factor appropriate to strength and finish. | k_surface | 0.8 | |
| Size factor Fixed assumption for sizing. Re-evaluate this factor at the final diameter; no chart is embedded. | k_size | 0.85 | |
| Reliability factor 0.814 is a common 99% fatigue-reliability modifier under the textbook scatter model. | k_reliab | 0.814 | |
| Temperature factor Use 1 only when room-temperature endurance data apply. | k_temp | 1 | |
| Other endurance reduction factor Bending load factor is 1. Combined torsion is handled with distortion energy; do not also apply a torsion load factor. | k_other | 1 | |
| Elastic bending stress concentration 1 for smooth geometry. A rounded shoulder may start near 1.7; a keyway can be more severe. Replace this illustrative value with geometry-specific evidence. | K_t | 1.7 | |
| Elastic torsional stress concentration 1 for smooth geometry. A rounded shoulder may start near 1.5. Keyways and grooves require their own verified factors. | K_ts | 1.5 | |
| Bending notch sensitivity Kf = 1 + q × (Kt − 1). Set 1 for the conservative full-notch-effect assumption. | q_b | 0.8 | |
| Torsional notch sensitivity | q_t | 0.8 | |
| Required strength safety factor Applied to both static yield and modified Goodman fatigue sizing. | n_design | 2 | |
| Allowable maximum shaft deflection An application-specific target; consult the gear and bearing suppliers. | delta_limit | mm | 0.25 |
| Allowable bearing slope magnitude An application-specific alignment target, not a universal bearing limit. | slope_limit | mrad | 1 |
| Maximum operating / critical speed ratio Subcritical screening target chosen by the designer; not a rotordynamic standard. | speed_ratio_limit | 0.7 | |
| Rotation angle ▶ Slowed illustration: one revolution gives one fully reversed bending cycle. | theta_rot | deg | 45 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Required strength diameter | 46.22 mm |
| Static yield diameter · conservative | 34.94 mm |
| DE-Goodman diameter · conservative | 46.22 mm |
| Yield safety factor at trial diameter | 9.9 |
| Fatigue safety factor at trial diameter | 4.32 |
| Maximum deflection at trial diameter | 0.2071 mm |
| Bearing A slope | 0.921 mrad |
| Bearing B slope | 0.778 mrad |
| Rayleigh first critical speed | 7,343 1/min |
| Operating / critical speed | 0.123 |
| Mean transmitted torque | 159.15 N·m |
| Maximum resultant bending | 484.07 N·m |
| Maximum bearing A radial reaction | 2,441.4 N |
| Maximum bearing B radial reaction | 1,445.7 N |
| Element 1 deflection | 0.1598 mm |
| Element 2 deflection | 0.1671 mm |
| Modified endurance limit | 166.06 MPa |
Checked against sources
Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).
NPTEL pulley and pinion: torque and two-plane bending
Source: NPTEL Design of Machine Elements I, Module 8 Lesson 1, pp. 8–9: span 800 mm; pulley at 200 mm; pinion at 600 mm. Published moments are rounded. This case checks equilibrium and moment superposition, not the lesson's ASME allowable-shear sizing.
Inputs: Station 2 distance from bearing A = 600 mm; Station 1 load model = Known transverse forces; Station 2 load model = Known transverse forces; Rotor mass 1 = 102 kg; Rotor mass 2 = 0 kg; Include shaft self-weight and distributed mass = no; Torque source = Known mean torque; Mean transmitted torque = 600 N·m; the others as above.
| Result | Source | This calc |
|---|---|---|
| Mean transmitted torque | 600 N·m | 600 N·m |
| Maximum station 1 bending over the torque range | 873 N·m | 873 N·m |
| Maximum station 2 bending over the torque range | 1,029 N·m | 1,029 N·m |
NPTEL 5 kN center-load stiffness example
Source: NPTEL Module 8 Lesson 2, p. 8: 5 kN at the center of a 1 m simply supported solid steel shaft, E = 200 GPa, target deflection 1 mm; the lesson rounds the calculated diameter to 57 mm. At that rounded diameter the exact deflection is about 1.005 mm, so a 0.02 mm rounding tolerance is used.
Inputs: Bearing span = 1,000 mm; Station 1 distance from bearing A = 500 mm; Use a second drive element = no; Station 1 load model = Known transverse forces; Known total downward force 1 = 5,000 N; Known total lateral force 1 = 0 N; Rotor mass 1 = 509.9 kg; Include shaft self-weight and distributed mass = no; Torque source = Known mean torque; Mean transmitted torque = 0 N·m; Trial shaft diameter = 57 mm; the others as above.
| Result | Source | This calc |
|---|---|---|
| Maximum deflection at trial diameter | 1 ± 0.02 mm | 1.005 mm |
MIT example: endurance-modifier arithmetic
Source: MIT OCW 2.72 Lecture 04, p. 54: specimen Sut = 100 kpsi and modifiers 0.797 × 1 × 0.85 × 1 give the printed endurance limit 33.9 kpsi. This isolates the modifier arithmetic from the example's axial loading; it is not a shaft fatigue-load validation.
Inputs: Ultimate tensile strength = 689.5 MPa; Surface factor = 0.797; Size factor = 1; Reliability factor = 1; Other endurance reduction factor = 0.85; the others as above.
| Result | Source | This calc |
|---|---|---|
| Modified endurance limit | 233.7 ± 0.5 MPa | 233.5 MPa |
Review regression: self-weight-only shaft must require strength
Source: Independent review reproduction supplied with this task: an 8000 mm span carrying only its own distributed weight requires 41.8783 mm by yield and 92.57 mm by the stated fatigue envelope. Independent closed-form verification: substituting w(d)=rho*g*pi*d²/4 into M=wL²/8 makes each required pure-bending diameter linear in L²/strength. These are regression values from the review, not numbers published in the cited lecture notes.
Inputs: Bearing span = 8,000 mm; Station 1 distance from bearing A = 2,000 mm; Station 2 distance from bearing A = 5,500 mm; Rotor mass 1 = 0 kg; Rotor mass 2 = 0 kg; Station 1 load model = Known transverse forces; Station 2 load model = Known transverse forces; Known total downward force 1 = 0 N; Known total lateral force 1 = 0 N; Known total downward force 2 = 0 N; Known total lateral force 2 = 0 N; Torque source = Known mean torque; Mean transmitted torque = 0 N·m; the others as above.
| Result | Source | This calc |
|---|---|---|
| Static yield diameter · conservative | 41.878 mm | 41.878 mm |
| DE-Goodman diameter · conservative | 92.57 mm | 92.57 mm |
Review regression: minimum torque governs opposing belt and gravity loads
Source: Independent reviewer reproduction supplied with this task: centered pulley at L=800 mm, rotor=20 kg, D=200 mm, tension ratio=3, direction=180°, mean/amplitude torque=6.5377667/3.2688833 N·m. At Tmin the review gives 130.755 N downward and 26.151 N·m bending; Tmax cancels weight. Bearing reaction follows force equilibrium; deflection is independently checked with the NPTEL central-load closed form PL³/(48EI) at the 60 mm trial diameter, E=200 GPa. These are review regression numbers, not a published fatigue benchmark.
Inputs: Use a second drive element = no; Station 1 distance from bearing A = 400 mm; Include shaft self-weight and distributed mass = no; Rotor mass 1 = 20 kg; Load direction 1 = 180 deg; Torque source = Known mean torque; Mean transmitted torque = 6.538 N·m; Alternating torque amplitude = 3.269 N·m; the others as above.
| Result | Source | This calc |
|---|---|---|
| Station 1 total downward force at Tmin | 130.8 N | 130.8 N |
| Maximum resultant bending | 26.151 N·m | 26.151 N·m |
| Maximum bearing A radial reaction | 65.378 N | 65.378 N |
| Maximum deflection at trial diameter | 0.01096 mm | 0.01096 mm |







Responses