Model first-success probabilities with flexible trial inputs instantly. See PMF, CDF, mean, variance, and survival. Export results, formulas, examples, and guidance for confident decisions.
Sample values below use p = 0.30 with X as the trial number of the first success.
| x | P(X = x) | P(X ≤ x) |
|---|---|---|
| 1 | 0.3 | 0.3 |
| 2 | 0.21 | 0.51 |
| 3 | 0.147 | 0.657 |
| 4 | 0.1029 | 0.7599 |
| 5 | 0.07203 | 0.83193 |
| 6 | 0.050421 | 0.882351 |
PMF: P(X = x) = (1 - p)x - 1 × p, for x ≥ 1
CDF: P(X ≤ x) = 1 - (1 - p)x
Survival: P(X > x) = (1 - p)x
PMF: P(X = x) = (1 - p)x × p, for x ≥ 0
CDF: P(X ≤ x) = 1 - (1 - p)x + 1
Survival: P(X > x) = (1 - p)x + 1
Mean: 1/p for trial-count form, or (1 - p)/p for failures-count form
Variance: (1 - p)/p2
Interval probability: P(a ≤ X ≤ b) = F(b) - F(a - 1)
It measures how long you wait for the first success in repeated independent Bernoulli trials, or how many failures occur before that first success.
Use it when the first success can happen on trial 1, 2, 3, and so on. This form starts counting at one.
Use it when zero is a valid outcome. It counts unsuccessful trials before the first success appears.
Trials must be independent, each outcome must be success or failure, and the success probability must remain constant across all trials.
It gives the chance that the first success occurs after the selected value, which is useful for waiting-time and reliability questions.
The trial-number form includes the success trial itself, while the failures form does not. That shifts the mean by exactly one.
The calculator returns the smallest integer whose cumulative probability reaches or exceeds the target level you entered.
A limited table can omit remaining tail probability, and rounded display values can create very small visual differences.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.