
This free A/B test calculator will help you compare two variants of your website, A and B, and tell you the probability that B is better. You can read more about A/B testing in our earlier blog post on the subject. You may also be interested in our Chi-Squared sample size calculator which will help you calculate the minimum sample size needed to run a Chi-Squared test, given an expected standardised effect size.
Assuming you have already run your A/B test, you will have recorded for both variants of your website, A and B, the following data:
How many people have visited that variant
How many people converted on that variant (this could be a click, a purchase, a contact request, or any other desirable outcome)
Simply enter the numbers that came out of your A/B test into the calculator below:
Enter your visitor and conversion data to calculate the probability that Variant B is better than Variant A.
Calculating...
Result
The calculator relies on Bayesian simulations. It simulates 100,000 samples from a distribution and uses this to calculate the approximate probability that B beats A. The conversion rates for both variants are treated as random variables following a Beta distribution.
So that you can understand how the Bayesian A/B test probability is being calculated, the Python code will appear below when you run the Bayesian A/B test calculator.
First you need to install some dependencies:
pip install scipy numpy
# Python code will appear here.
You can also run the code in R:
# R code will appear here.
Looking for experts in Natural Language Processing? Post your job openings with us and find your ideal candidate today!
Post a Job
We are excited to introduce the new Harmony Meta platform, which we have developed over the past year. Harmony Meta connects many of the existing study catalogues and registers.
Guest post by Jay Dugad Artificial intelligence has become one of the most talked-about forces shaping modern healthcare. Machines detecting disease, systems predicting patient deterioration, and algorithms recommending personalised treatments all once sounded like science fiction but now sit inside hospitals, research labs, and GP practices across the world.

If you are developing an application that needs to interpret free-text medical notes, you might be interested in getting the best possible performance by using OpenAI, Gemini, Claude, or another large language model. But to do that, you would need to send sensitive data, such as personal healthcare data, into the third party LLM. Is this allowed?
What we can do for you