# Probability of Success Calculator

Any event has two possibilities, 'success' and 'failure'. If n is the total number of events, s is the number of success and f is the number of failure then you can find the probability of single and multiple trials. This calculator will help you to find the probability of the success for n number of events represented in a graph.

## Probability Distribution Calculator

Any event has two possibilities, 'success' and 'failure'. If n is the total number of events, s is the number of success and f is the number of failure then you can find the probability of single and multiple trials. This calculator will help you to find the probability of the success for n number of events represented in a graph.

Code to add this calci to your website  Formula: P (X = r) = nCr pr (1-p)n-r
Where,

Combination nCr = n! / ((n- r)! × r!) n = number of events p = Probability of success for each trial r = 0, 1, ... n

### Example:

If the total number of events (n) is 4 and the probability of success is 2, then the probability of success for each single trial (p) is 2/4.

#### Hence p = 0.5

Hence, r value varies from 0 to 4.
P (X = 0) is 4C0 0.50 (1-0.5)4-0
= 0.625

P (X = 1) is 4C1 0.51 (1-0.5)4-1
= 0.25

P (X = 2) is 4C2 0.52 (1-0.5)4-2
= 0.375

P (X = 3) is 4C3 0.53 (1-0.5)4-3
= 0.25

P (X = 4) is 4C4 0.54 (1-0.5)4-4
= 0.625