# How do you calculate risk of ruin for a trading strategy? Slug: how-do-you-calculate-risk-of-ruin-for-a-trading-strategy. Canonical: https://tradingtune.com/blog/how-do-you-calculate-risk-of-ruin-for-a-trading-strategy ## Summary Estimate risk of ruin by defining a loss threshold, modeling possible account paths and counting threshold crossings. ## Key facts - Risk of ruin depends on the chosen threshold, time horizon and model assumptions. - A path counts as ruined when it touches the threshold, even if it later recovers. - Resampling historical trades cannot reveal losses absent from the input data. - Compare estimates only when sizing, costs, the horizon and the ruin definition are consistent. ## Outline - How do you calculate the risk of ruin? (#how-do-you-calculate-the-risk-of-ruin) - What account level counts as ruin? (#what-account-level-counts-as-ruin) - Which historical data goes into the estimate? (#which-historical-data-goes-into-the-estimate) - How do you turn trades into possible account paths? (#how-do-you-turn-trades-into-possible-account-paths) - How do sizing and costs change the calculation? (#how-do-sizing-and-costs-change-the-calculation) - How can you check the inputs by hand? (#how-can-you-check-the-inputs-by-hand) - What does the time horizon change? (#what-does-the-time-horizon-change) - How reliable is the estimated chance? (#how-reliable-is-the-estimated-chance) - How should you report the result? (#how-should-you-report-the-result) - Sources (#sources)