Monte Carlo simulations reveal a 30% chance your retirement savings run out
Monte-Carlo Simulations

Monte Carlo methods use randomness to solve problems, from estimating pi to analyzing the game of SET. A retirement simulation with one million scenarios shows that a $1M portfolio drawing $30k yearly has a 40% chance of depletion within 30 years—far riskier than average-return estimates suggest.
Assuming that a 65-y.o. person would plan for 25 years of retirement until death, the ~30% odds of not having sufficient funds for this duration of time are sobering.
- alexpotato
> After running 10 million simulated draws, I got an answer of 0.0323, which matches the real answer very closely.
If you enjoyed reading about how you can approximate complex statistical values using basic programming, I highly recommend Jake Vanderplas "Statistics for Hackers" [0][1].
It converts the sometimes hard to grok statistics terms and formulas into some very simple loops and basic operations.
Can't recommend it enough.
0 - https://speakerdeck.com/pycon2016/jake-vanderplas-statistics...
- piotraleksander
I checked the SET game and isn't https://eli.thegreenplace.net/2026/monte-carlo-simulations/#... wrong? "all different (...) for each attribute separately" and solution from the footnote names items with all 3 shapes
- xinu2020
Probabilistic programming languages that supports sampling are a good fit for these kinds of simulations.
estimating pi: https://playground.probl.dev/#code=ZchBCoMwEEbhfU7x40pRyiS4k...
(I'm the author of probl)
- sambeau
I used Monte-Carlo simulations to work out the rules to a small kids’ game.
The idea was to start with a seemingly biased game—a race between a tortoise (rolling one die) and a hare (rolling 2 dice)—and to tweak the rules until both players had an equal chance of winning.
It was a fun experiment and the game actually works well!
- theOGognf
Those interested in this should read about DSMC: https://en.wikipedia.org/wiki/Direct_simulation_Monte_Carlo. It’s the same idea for low density gas interactions without having to actually simulate all the particles involved while still getting accurate results. Cool stuff!