Probability of ruin is the percentile of the probability distribution corresponding to the point at which capital is exhausted.
Typically, a minimum acceptable probability of ruin is specified, and economic capital is derived therefrom.