How to use this tool
- Enter required successes, failures before last success, success probability.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Required successes | Numeric value. Minimum: 1. Maximum: 10000. | 3 |
| Failures before last success | Numeric value. Zero or positive. Maximum: 10000. | 2 |
| Success probability | Numeric value. Must be greater than zero. Maximum: 1. | 0.5 |
Result for these sample inputs
0.1875
- Mean failures
- 3
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
Choose the right inputs and workflow
This convention counts failures before the r-th success. If your data record total trials, subtract r to get failures. The trials must have a common independent success probability.
The method, explained
P(K=k)=C(k+r−1,k)p^r(1−p)^k.
Using required successes = 3, failures before last success = 2, success probability = 0.5, the result is 0.1875. Change these example inputs to match your task; use the method above to check each step.
Understanding your result
Counts failures, not total trials. Trials are independent with constant success probability; very small probabilities may round to zero.
What to keep in mind
Counts failures, not total trials. Trials are independent with constant success probability; very small probabilities may round to zero. A descriptive or probability calculation under the stated assumptions. Check the sample design and model before interpreting results.
Methodology maintained by ClarityKit. How these tools are built and checked.