The calculator
Named years from this site's S&P 500 price-return tape — they fill the crash field; you can still type any other return.
Identical 5.0% years and one -30.0% year, in opposite orders, differ by $427,546 at the end.
Why the order matters
Two people can earn the same average return and finish in different places, because a withdrawal takes a larger share of a smaller portfolio. Selling after a fall locks the loss in; the same fall at the end hits a pile that has already compounded. The crash-the-year-you-retire study ran the same 40% crash on 5,000 regime-switching lifetimes: success fell from 86% to 71% at 65, but only to 81% at 48. The glossary entry on sequence of returns risk is the definition; the sequence of returns risk guide is the pillar.
Assumptions
One crash year and a flat return everywhere else — enough to isolate order, not a forecast. No fees, no taxes, withdrawals at the start of each year. A full plan needs a distribution of paths, not two.