Compute probability density (PDF), cumulative probability (CDF), and key statistics — mean, variance, mode, skewness, and kurtosis — for the Beta distribution. Visualize the density curve and cumulative distribution on an interactive canvas.
The Beta distribution is a continuous probability distribution defined on the interval [0, 1] and parameterized by two positive shape parameters, α and β. It is one of the most versatile distributions in statistics, serving as the conjugate prior for the Bernoulli, binomial, negative binomial, and geometric distributions in Bayesian inference. Its support on the unit interval makes it the natural choice for modelling proportions, probabilities, rates, and fractions.
f(x; α, β) = ∫ xα−1 (1−x)β−1 / B(α, β)
where B(α, β) = Γ(α)Γ(β) / Γ(α+β) is the Beta function, and Γ denotes the Gamma function.
The Beta distribution was first studied by Thomas Bayes in the 18th century and later formalized by Pierre-Simon Laplace and Andrey Kolmogorov. Its name derives from the Beta function introduced by Euler and Legendre. The distribution gained prominence with the rise of Bayesian statistics in the 20th century, particularly through the work of Harold Jeffreys and Bruno de Finetti. Today, it is a fundamental tool in machine learning, A/B testing, actuarial science, and quality control.
The Beta distribution is deeply connected to the Dirichlet distribution (its multivariate generalization) and the Beta-binomial model. It also emerges as the distribution of order statistics from a uniform distribution, and as the distribution of the R² coefficient in regression analysis under certain assumptions.
The Beta distribution is fully characterized by its first two moments, but higher moments are also tractable. Let X ∼ Beta(α, β). Then:
The Cumulative Distribution Function (CDF) is the regularized incomplete Beta function I_x(α, β), which is computed using continued fractions or series expansions. Our calculator uses a robust numerical implementation to provide accurate CDF values for any α, β > 0.
An e-commerce company runs an A/B test on two landing page designs. After 1000 visitors, version A receives 120 conversions, version B receives 150 conversions. Using a Beta(1,1) prior (uniform), the posterior for the conversion rate of version A is Beta(121, 881), and for version B is Beta(151, 851). The calculator shows that the mean conversion rate for B is 0.151 vs 0.121 for A, with 95% credible intervals [0.128, 0.176] and [0.100, 0.143] respectively. The overlap is minimal, giving strong evidence that version B is superior. This tool enables rapid, rigorous decision-making without the need for complex statistical software.
In project management, the PERT technique uses the Beta distribution to model the duration of each activity. For an activity with optimistic (a), most likely (m), and pessimistic (b) estimates, the mean duration is (a + 4m + b)/6 and the variance is ((b−a)/6)². The Beta distribution's flexibility allows it to represent skewed duration estimates (e.g., most tasks finish near the optimistic side with a long pessimistic tail). Our calculator can be used to directly compute probabilities of completing an activity within a given timeframe by evaluating the CDF at the target duration.
In online learning, the Beta distribution is used to model the probability of a binary outcome (click, purchase, etc.) and is updated sequentially as new data arrives. For instance, a recommendation system maintains a Beta(α, β) posterior for each item's click-through rate. After each user interaction, the parameters are updated: α ← α + successes, β ← β + failures. The calculator provides the current posterior density, allowing the system to estimate the expected click-through rate and its uncertainty, which informs exploration-exploitation strategies (e.g., Thompson sampling).
If X ∼ Gamma(α, θ) and Y ∼ Gamma(β, θ) are independent, then X/(X+Y) ∼ Beta(α, β). This property underpins the Beta distribution's role in Bayesian analysis and its relationship to the Dirichlet distribution.
The Beta distribution is the conjugate prior for the binomial likelihood. If the prior is Beta(α, β) and the data are k successes in n trials, the posterior is Beta(α+k, β+n−k). This closed-form updating is computationally efficient and analytically tractable, making the Beta-Binomial model a cornerstone of Bayesian statistics.
The k-th order statistic of a sample of size n from a uniform distribution follows a Beta distribution: U_(k) ∼ Beta(k, n−k+1). This result is used in non-parametric statistics and quantile estimation.