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

Original title: Monte-Carlo Simulations

> Hacker News story 50076089 · language: en · submitted 2026-10-13
> Web version: https://zeli.app/story/50076089
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 166 · by [ibobev](<https://news.ycombinator.com/user?id=ibobev>) · 💬 38
[original](<https://eli.thegreenplace.net/2026/monte-carlo-simulations/>) · [HN discussion](<https://news.ycombinator.com/item?id=50076089>)

## Summary

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.

## Key quote

> 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.

## HN discussion (38 comments)

### [alexpotato](<https://news.ycombinator.com/item?id=50124842>)

> \>  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...
>
> 1 - https://www.youtube.com/watch?v=Iq9DzN6mvYA

### [piotraleksander](<https://news.ycombinator.com/item?id=50131988>)

> 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](<https://news.ycombinator.com/item?id=50131869>)

> 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](<https://news.ycombinator.com/item?id=50130327>)

> 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!
>
> https://github.com/sambeau/tortoise-vs-hare

### [theOGognf](<https://news.ycombinator.com/item?id=50124802>)

> 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!

---

## Cite

- Page: https://zeli.app/story/50076089
- Date: 2026-10-13
- Source: eli.thegreenplace.net (https://eli.thegreenplace.net/2026/monte-carlo-simulations/)
- Hacker News: https://news.ycombinator.com/item?id=50076089

## Other languages

- zh: https://zeli.app/zh/story/50076089 · markdown: https://zeli.app/zh/story/50076089.md
- ja: https://zeli.app/ja/story/50076089 · markdown: https://zeli.app/ja/story/50076089.md
- ko: https://zeli.app/ko/story/50076089 · markdown: https://zeli.app/ko/story/50076089.md
- de: https://zeli.app/de/story/50076089 · markdown: https://zeli.app/de/story/50076089.md
- es: https://zeli.app/es/story/50076089 · markdown: https://zeli.app/es/story/50076089.md
- ru: https://zeli.app/ru/story/50076089 · markdown: https://zeli.app/ru/story/50076089.md
