PPolySim OS
Use case · powered by Gambler's Ruin

Gambler's Ruin for a customer churn

Simulate a customer churn live in your browser. This runs the real Gambler's Ruin solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.

Gambler's RuinLive

Controls

Presets

A gambler betting against a rich casino faces gambler's ruin: even a nearly fair game (49% odds) almost always ends in bankruptcy before hitting a big target, because the house has effectively unlimited funds. The tiny edge compounds relentlessly over many bets — which is exactly how casinos stay in business.

▶ Run in Python

Data Inspector

P(ruin) theory80.8%
Ruined (this run)0 / 30
Edge per bet-1%

Governing equation

Reading this result: The house edge (p<0.5) makes ruin nearly certain — P(ruin) rises exponentially with the target, so aiming for $50 from $20 all but guarantees going broke first.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

About this simulation

The full Gambler's Ruin tool models a customer churn with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.

More you can do with Gambler's Ruin

Other ways to simulate a customer churn

Frequently asked questions

How do I simulate a customer churn?
Open this page and use the live Gambler's Ruin tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
Is it free?
Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
Can I use my own numbers?
Absolutely — every input is adjustable, and with data import you can drive a customer churn from your own measurements.