This article describes the formula syntax and usage of the NEGBINOMDIST function in Microsoft Excel.


Returns the negative binomial distribution. NEGBINOMDIST returns the probability that there will be number_f failures before the number_s-th success, when the constant probability of a success is probability_s. This function is similar to the binomial distribution, except that the number of successes is fixed, and the number of trials is variable. Like the binomial, trials are assumed to be independent.

For example, you need to find 10 people with excellent reflexes, and you know the probability that a candidate has these qualifications is 0.3. NEGBINOMDIST calculates the probability that you will interview a certain number of unqualified candidates before finding all 10 qualified candidates.

Important: This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. Although this function is still available for backward compatibility, you should consider using the new functions from now on, because this function may not be available in future versions of Excel.

For more information about the new function, see NEGBINOM.DIST function.



The NEGBINOMDIST function syntax has the following arguments:

  • Number_f     Required. The number of failures.

  • Number_s     Required. The threshold number of successes.

  • Probability_s     Required. The probability of a success.


  • Number_f and number_s are truncated to integers.

  • If any argument is nonnumeric, NEGBINOMDIST returns the #VALUE! error value.

  • If probability_s < 0 or if probability > 1, NEGBINOMDIST returns the #NUM! error value.

  • If number_f < 0 or number_s < 1, NEGBINOMDIST returns the #NUM! error value.

  • The equation for the negative binomial distribution is:



    x is number_f, r is number_s, and p is probability_s.


Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.




Number of failures


Threshold number of successes


Probability of a success





Negative binomial distribution for the terms above.


Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.