Interactive explainer
Interactive Bayesian update
How does new evidence change an estimated success rate? Choose a prior, add successes and failures, and compare the posterior, 95% interval and probability of exceeding your threshold. Free, with no registration; your inputs stay in your browser.
Live Bayesian update: prior, likelihood and posterior
This explainer requires JavaScript. Its calculation: a prior and successes in trials yield posterior .
For a conversion or quality rate, first define what counts as success and which observations are comparable. This calculator shows uncertainty about one rate; use the Bayesian A/B test calculator to compare two variants.
How the explainer works
The unknown quantity is a success rate , such as a page’s conversion rate or a method’s hit rate. The dashed curve is the prior: your assumption before data is available. Every observation is a success or a failure. The orange curve shows the data’s likelihood, normalised to area 1 for easier comparison. The filled curve is the posterior: the product of the two, normalised again.
Because a beta prior is conjugate to the binomial likelihood, the update has an exact expression:
The shaded band is the central 95% credible interval; the metrics use the exact beta distribution, not an approximation.
Three things to try
- Little data, strong prior: choose “Informed” and add five successes. The posterior barely moves: prior knowledge weighs as much as 40 observations.
- Lots of data: simulate 50 observations several times. Whatever the starting prior, the posterior concentrates around the true .
- Threshold: move the threshold and watch change. This is exactly the quantity needed for many decisions.