Please verify you are human to use the calculator.
The simplest discrete distribution — a single trial with two outcomes (success/failure). Building block of the binomial.
Use the interactive controls above to adjust the distribution parameters and see how the shape of the probability mass function (PMF) and cumulative distribution function (CDF) change in real time. The probability calculator lets you compute exact probabilities for any range.
A Bernoulli variable records one trial: success has probability p and failure has probability 1 - p. To count successes across a fixed number of independent trials with the same probability, use the binomial distribution calculator.
Explore how the bernoulli distribution is used in practice in our tutorials:
Fitting the bernoulli distributionto real data is a modelling decision with consequences downstream, in the tails the model never sees during training. We review that choice in someone else's model as part of AI due diligence, and make it in your own as part of AI consulting for mid-market firms.
Free calculators for t-tests, chi-square, ANOVA, Mann-Whitney U, confidence intervals, sample size, power analysis, and effect size.
Try itCalculate posterior probabilities with interactive visualisation. Includes classic presets (medical tests, spam filtering) and sequential evidence updates.
Try itInteractive linear and polynomial regression calculator. Enter data points, fit models, and visualise residuals with live R² and coefficient estimates.
Try itModels the number of successes in a fixed number of independent trials, each with the same probability of success.
Try itModels the number of events occurring in a fixed interval of time or space, given a known average rate.
Try itModels the number of trials needed to get the first success. The discrete analogue of the exponential distribution.
Try itGet notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.
Common questions about the bernoulli distribution