The calculator
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 glossary entry on sequence of returns risk and the crash-at-retirement study go further.
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.