Home / Science / Materials science / Mechanical behaviour / Fatigue S-N calculatorTool #847

Fatigue S-N calculator: Basquin fit, endurance limit, Goodman, Gerber, Soderberg and Morrow, Miner's rule

Paste or open stress-life (S-N) test results and fit Basquin's law on log-log axes, with run-outs left out. Estimate the endurance strength, correct for mean stress with Goodman, Gerber, Soderberg or Morrow on a Haigh diagram, and add up fatigue damage for a load spectrum with Miner's rule.

Keep it one tap away for everyday use.

Bookmark Fatigue S-N calculator?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. S-N data
  2. Basquin
  3. Haigh
  4. Miner
Nothing is uploadedWorks offline once open

S-N data and Basquin fit

Use one stress unit everywhere on this page (MPa in the example). Mark a specimen that did not break with 1, yes or runout in the third column: it is plotted but left out of the fit.

Mean stress correction

Leave Se empty to use the fitted strength at the endurance life, and σf' empty to use the fitted fatigue strength coefficient. Use a corrected Se (surface, size, load, reliability) for a real part.

Miner's rule for a load spectrum

σar is the equivalent fully reversed amplitude, n the cycles in the block and N the life at σar. Damage D = Σ n/N. Failure is predicted at D = 1, though real parts often fail between D = 0.3 and 3, so use a margin. The order of the blocks is ignored.

Download

What it does

Metal parts that see a load go up and down can crack and break far below their tensile strength. The stress-life (S-N) method predicts how many cycles a part survives. This page does the three standard steps:

  1. Basquin fit. Paste stress amplitude and cycles to failure from fatigue tests. The page fits a straight line on log-log axes, σa = A·N^b, and also gives it in the reversals form σa = σf’(2N)^b that strain-life books use. Specimens marked as run-outs (they did not break) are plotted with an open triangle and left out of the fit.
  2. Mean stress correction. Most test data is fully reversed (mean stress zero), but real parts often carry a steady load as well. A tensile mean stress shortens life. The page turns your amplitude and mean stress into an equivalent fully reversed amplitude σar with four classic lines, gives the life from your fit and a safety factor, and draws them on a Haigh diagram.
  3. Miner’s rule. For a spectrum of load blocks, each block uses up a fraction n/N of the life. When the fractions add up to 1, the part is expected to fail.

How to use it

  1. Paste stress amplitude and cycles (and optionally a run-out flag: 1, yes or runout), or open a CSV or Excel file. Use one stress unit on the whole page.
  2. Pick the fit. log N on log S treats life as the uncertain quantity, as ASTM E739 recommends for stress-controlled tests; log S on log N is the older habit and gives a slightly steeper line.
  3. Set the endurance life Nₑ (often 10⁶ or 10⁷ cycles, the dashed line on the plot) and the tensile and yield strength.
  4. In the second card type your stress amplitude and mean stress. Leave Se and σf’ empty to take them from the fit, or type your own corrected values.
  5. In the third card paste the load blocks and pick the mean-stress method and whether stresses below the endurance limit do damage.

What each line means

  • Goodman: straight line from Se to Su. The usual choice for design.
  • Gerber: a parabola from Se to Su. Closer to test data for ductile metals, less conservative.
  • Soderberg: straight line from Se to the yield strength Sy. Very conservative.
  • Morrow: straight line from Se to σf’, the fatigue strength coefficient.
  • Langer (yield): σa + σm = Sy. Above it the part yields on the first cycle.

Worked example

The example has 14 made-up failures and 2 run-outs at 10⁷ cycles. With log N on log S the fit is σa = 832.9 · N^−0.0837 (r² 0.9766), so σf’ = 882.7 and the strength at 10⁷ cycles is 216.2. With Su = 600 and Sy = 450, a load of σa = 150 and σm = 100 gives an equivalent amplitude of 180 (Goodman), 154.3 (Gerber), 192.9 (Soderberg) and 169.2 (Morrow), and load-line safety factors of 1.16, 1.37, 1.09 and 1.24. All are below the endurance limit, so the life is unlimited.

For the four-block spectrum with Goodman and no damage below Se, the blocks at 300, 250 and 200 (with their mean stresses) use up 0.50, 0.32 and 0.10 of the life, the 120 block does nothing, and D = 0.925: the spectrum can be repeated 1.08 times.

Tips

  • Fit only one failure mode and one test condition (same R ratio, surface and environment).
  • Real parts have rougher surfaces, larger sizes and stress raisers. Multiply the test-bar endurance limit by the Marin factors before using it for design.
  • Aluminium and copper alloys have no true endurance limit; choose extend the S-N line for them in Miner’s rule.

FAQ

Why is Gerber’s safety factor not 1 ÷ (σa/Se + …)? Because the Gerber line is curved. The page uses Shigley’s closed form for where the load line meets the parabola.

What does a compressive mean stress do? Goodman, Soderberg and Morrow give a lower equivalent amplitude, but the safety factor is then taken as Se ÷ σa, ignoring that benefit, as most design codes do.

Does my data leave my computer? No. Everything is worked out on this page.

Where the numbers come from

  • Basquin's law, the mean-stress lines, the load-line safety factors and Miner's rule follow the usual textbook forms (Shigley's Mechanical Engineering Design, chapter 6; Dowling, Mechanical Behavior of Materials, chapters 9 and 10), written by fibub and checked in the tests against SciPy.
  • The example S-N data and load spectrum are made up by the page (σa = 900 N^−0.09 with random scatter); they are not data for any real material.
  • Your data is read on the page only. It is never uploaded or stored.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Reliability and agreement #40 Check a questionnaire scale with Cronbach's alpha and item statistics, or rater agreement with Cohen's kappa (weighted too), Fleiss' kappa and all six intraclass correlations with 95 % intervals. Matches R's psych package. Publication plot maker #27 Paste columns or open a CSV or Excel file and get a clean scientific figure with error bars, sized for a journal column. Download vector SVG or PDF, or PNG at 300 or 600 dpi. Your data stays in your browser. Stress-strain curve analyser #846 Paste or open force-extension or stress-strain data from a tensile test. Get Young's modulus from a straight-line fit, the 0.2 % offset yield strength, tensile strength, uniform and fracture elongation, toughness, resilience, true stress-strain to the UTS and the strain-hardening exponent, with a plot and CSV. Fracture toughness calculator #848 Work out the stress intensity K = Yσ√(πa) for centre, edge, double-edge and buried cracks, with finite-width corrections. Get the critical stress and critical crack size against K_IC, the ASTM E399 plane-strain size check, the plastic zone, and the fatigue crack growth life from Paris' law. Larson-Miller creep calculator #849 Paste or open creep-rupture tests (temperature, stress, hours) and fit a Larson-Miller master curve with C = 20 or your own C. Predict rupture life and the stress for a design life, compare with Sherby-Dorn and Manson-Haferd, and fit Norton's creep law (n and Q) from minimum creep rates. Laminate calculator #850 Get ply properties from fibre and matrix (rule of mixtures, Reuss or Halpin-Tsai), then use classical lamination theory for any stacking such as [0/±45/90]s: Q and Q-bar, the A, B and D matrices, effective laminate moduli, ply stresses and strains under in-plane forces and moments, and first-ply failure by maximum stress and Tsai-Wu.