Rainflow Counting
Rainflow Counting Algorithm · Also known as: Rainflow cycle counting, RFC
Rainflow counting is a fatigue cycle counting method that converts a complex stress history into individual cycles for damage assessment. Developed by Tatsuo Endo and colleagues in 1974, it provides the most physically realistic representation of fatigue damage when combined with Miner's linear cumulative damage hypothesis. The algorithm has become the industry standard in reliability engineering and vibration analysis.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
Use rainflow counting when analyzing fatigue life under non-stationary, random, or variable-amplitude loading. It is essential for vibration-induced fatigue, automotive crash/durability testing, wind turbine blade analysis, and any application where stress history is irregular. Assume the material is ductile and follows linear cumulative damage; avoid for brittle materials without significant plastic deformation and for high-frequency noise-dominated signals.
Strengths & limitations
- Physically realistic: matches actual material fatigue behavior under variable loading better than simpler methods.
- Industry standard: endorsed by ASTM E1049 and widely adopted in aerospace, automotive, and civil engineering.
- Sequence-aware: accounts for the order of stress reversals, not just magnitude, crucial for non-Gaussian loading.
- Well-defined: deterministic algorithm with clear rules for cycle extraction, enabling consistent implementation.
- Assumes linear damage accumulation (Miner's hypothesis), which may underestimate or overestimate damage for some material-loading combinations.
- Computationally intensive for very long stress histories (thousands to millions of data points).
- Sensitive to turning-point detection: noise or small variations in the stress signal can create spurious peaks.
- Limited to ductile materials; less accurate for brittle fracture or fatigue crack propagation without ductility.
Frequently asked
How does rainflow counting differ from peak-and-valley or level-crossing counting?
Peak-and-valley simply counts consecutive peaks and valleys without considering their matching; level-crossing counts how many times stress crosses a threshold. Rainflow is superior because it pairs reversals according to the 'rain-flow' rule, matching the physical stress-strain hysteresis cycles in the material. This makes rainflow more accurate for irregular, non-stationary loading.
What is the 'rain-flow' rule exactly?
Imagine rain falling on a roof with peaks and valleys. A drop rolls downhill until it hits a valley or a level equal to its starting height, matching that pair as a cycle. In the algorithm, you scan the stress history left to right, extract half-cycles by matching each reversal with another reversal of opposite sign at a similar level, or until interrupted by a larger reversal. Different variants (three-point, four-point) have been proposed, but the four-point algorithm is standard.
Do I need to smooth the stress history before rainflow counting?
Yes, if your data contains noise. High-frequency oscillations or measurement noise will create spurious peaks and valleys, inflating cycle counts and damage predictions. Apply a low-pass filter or smoothing window before extracting turning points. However, be careful not to lose real, small-amplitude reversals that contribute to fatigue.
Can rainflow counting be used for corrosion-fatigue or fatigue-crack propagation?
Rainflow counting itself is agnostic to the damage model. You can use it to extract cycles and then apply a crack-growth law (e.g., Paris equation) instead of Miner's rule. However, crack propagation is nonlinear and sequence-dependent, so linear cumulative damage assumptions may not hold. For corrosion-fatigue, rainflow with adjusted S-N curves (e.g., using lower fatigue strength) is a practical approach.
How do I interpret the rainflow output for design decisions?
Rainflow gives you a histogram of cycle amplitudes and mean stresses. You compare each cycle to the S-N curve (or Goodman diagram) for your material and design stress level to compute damage fraction. Sum damage fractions using Miner's rule; if the sum exceeds 1, failure is expected. Use this to size components, select materials, or reduce design stresses.
Sources
- Goodman, J. (1899). Mechanics Applied to Engineering. Longman, Green and Co. link ↗
- Miner, M. A. (1945). Cumulative damage in fatigue. Journal of Applied Mechanics, 12(3), 159-164. DOI: 10.1115/1.4009458 ↗
- Endo, T., Matsumoto, T., Hasebe, T., & Mori, K. (1974). Damage evaluation of metals for random or varying loading. Proceedings of the Symposium on Mechanical Behavior of Materials. link ↗
- ASTM International (2021). E1049-21: Standard Practices for Cycle Counting in Fatigue Analysis. link ↗
How to cite this page
ScholarGate. (2026, June 3). Rainflow Counting Algorithm. ScholarGate. https://scholargate.app/en/reliability-engineering/rainflow-counting
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- First-Order Reliability MethodReliability Engineering↔ compare
- Highly Accelerated Life TestingReliability Engineering↔ compare
- Response Surface Desirability FunctionReliability Engineering↔ compare
- Second-Order Reliability MethodReliability Engineering↔ compare