Close the Skill Gap -> Enroll to be a Certified Financial Modeling & Valuation Analyst (FMVA)® Today!


Calculates the negative binomial distribution probability

Negative Binomial Distribution Formula

The NEGBINOM.DIST Function is categorized under Statistical functions. It will calculate the negative binomial distribution probability. It will get the probability mass function or the cumulative distribution function for a negative binomial distribution. For example, using the function, we can find out the probability that when a coin is tossed, we will get 10 heads before we get 12 tails. This guide will break down the Excel negative binomial distribution formula.

For the negative binomial distribution, we will fix the number of successes but uses a variable number of trials. NEGBINOM.DIST will calculate the probability of a given number of failures occurring before a fixed number of successes.

Two forms that are used are:

  1. The Probability Mass Function – It calculates the probability of there being exactly “f” failures before “s” successes.
  2. The Cumulative Distribution Function – It calculates the probability of there being at most “f” failures before “s” successes.

In financial analysis, the NEGBINOM.DIST function can be useful in finding out the probability of getting x return from a stock or portfolio before getting a negative return.





The NEGBINOM.DIST function uses the following arguments:

  1. Number_f (required argument) – It is the number of failures that are encountered before number_s successes.
  2. Number_s (required argument) – It is the required number of successes.
  3. Probability_s (required argument) – It is the probability of successes in one trial.
  4. Cumulative (optional argument) – It specifies the type of negative binomial distribution to be calculated. It can either be TRUE (uses the cumulative distribution function) or FALSE (use the probability mass function).

To learn more, launch our free Excel crash course now!


How to use the Negative Binomial Distribution Formula in Excel?

To understand the uses of the NEGBINOM.DIST function, let us consider an example:


Example – Negative Binomial Distribution Formula

Suppose we are given the following data:


Negative Binomial Distribution Formula Excel


The formula for calculating binomial distribution is shown below:




We get the result below:


NEGBINOM.DIST - Example 1a


Notes about Negative Binomial Distribution in Excel

  1. The NEGBINOM.DIST function will truncate all numerical values to integers.
  2. #VALUE! error – Occurs when:
    • The number_f, number_s, or probability_s arguments are not recognized as numeric values;
    • The cumulative argument provided is not recognized as a numeric or a logical value.
  3. #NUM! error – Occurs when:
    • The number_f provided is less than 0 or the supplied number_s is greater than 1.
    • The probability_s provided is less than 0 or greater than 1.
  4. The NEGBINOM.DIST function was introduced in MS Excel 2010 and hence is unavailable in earlier versions. For older versions, we can use the NEGBINOMDIST function.


Free Excel Course

Check out CFI’s Free Excel Course if you want to learn more about Excel functions using your own online instructor. You’ll receive step by step instructions and demonstrations on how to become an expert in Excel.


free Excel keyboard shortcuts course


Additional resources

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional resources:

  • Excel Functions for Finance
  • Advanced Excel Formulas Course
  • Advanced Excel Formulas You Must Know
  • Excel Shortcuts for PC and Mac

Free Excel Tutorial

To master the art of Excel, check out CFI’s FREE Excel Crash Course, which teaches you how to become an Excel power user.  Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.


Launch CFI’s Free Excel Course now to take your career to the next level and move up the ladder!