✖

Binomial distribution calculator

You are sitting a test with five questions, each with four options, and you haven’t revised at all, so you are guessing. What is the probability that you get exactly two questions right? This is what the binomial distribution is for: out of n independent attempts, each of which succeeds with probability p, it gives the chance of exactly k successes.

Enter the probability p as a percentage. The calculator also accepts fractions, so a quarter can be entered as 25 or 100/4, and a third as 100/3.

There are 10 different orders of successes and failures. Each of them has a probability of 2.64%, and together they make 26.37%.

How it works

The calculator uses the formula

P(X=k)=(nk)⋅pk⋅(1−p)n−k

The probability of getting two specific questions right and the other three wrong is (14)2⋅(34)3=271024. However, the two correct answers can be placed among the five questions in (52)=10 ways, so we multiply this probability by ten:

P(X=2)=(52)⋅(14)2⋅(34)3=10⋅271024=2701024≈0.2637

Guessing, you get exactly two of the five questions right with a probability of about 26.37%. If you are interested in “at least once”, the quicker option is the at least once probability calculator. Sums such as “at least three” are found by adding the results for three, four and five successes, as the article on the binomial distribution shows.

Chapters: Binomial coefficient calculator, Arrangements with repetition calculator, Permutations with repetition calculator, Combinations with repetition calculator, Lottery odds calculator, Birthday paradox calculator, At least once probability calculator, Binomial distribution calculator