Statistics & probability

Negative binomial failures before successes calculator

Find the probability of k failures before the rth success and its cumulative probability.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Find the probability of k failures before the rth success and its cumulative probability.

THE FORMULAP(X=k)=C(k+r−1,k)pʳ(1−p)ᵏ

A worked example

At p=1/2, two failures before the third success have probability 6/32.

Good to know

Trials must be independent and p must be positive.

Read the result

Find the probability of k failures before the rth success and its cumulative probability.

The primary result is labeled “Exact probability”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

Trials must be independent and p must be positive.

For a related exercise, try the statistics calculator.

A few questions, answered

How can I check the default inputs by hand?

At p=1/2, two failures before the third success have probability 6/32.

Which rule does this calculator apply?

P(X=k)=C(k+r−1,k)pʳ(1−p)ᵏ

Find your calculator

Start typing to explore the library.