Calculator · Marketing, Sales, Customer Experience & Communications, Data, AI, Digital, IT & Cybersecurity, Research, Knowledge, Thinking & Analytics

A/B Test Significance Calculator

Is version B really better, or is the difference chance? It calculates both conversion rates, the lift, the z value and the p-value with a two-proportion test.

Inputs

The calculation runs only in your browser; your figures are not sent to our servers or stored.

The page shows the result for the example values; turn on JavaScript to calculate with your own figures.

Result

p-value
0.0355
Lift of B
30%
Conversion rate A
10%
Conversion rate B
13%
z value
2.103
  • The difference is statistically significant at the chosen confidence.

The result updates with every change.

The result is a standard formula; interpreting it and deciding on it need professional judgment in your context.

How the tool works: formula and worked example

A marketer or product manager sees the new landing page convert better than the old one and wants to roll it out. Yet a gap between two versions can come from ordinary variation in visitor behaviour, especially with small numbers. The question to settle before deciding is whether the gap is larger than chance usually produces. This calculator answers it with arithmetic you can show the team.

It runs a two-sided two-proportion z-test with pooled variance, as described in the NIST/SEMATECH e-Handbook. It computes each version's conversion rate, then a pooled rate across both, and from that the standard error of the difference. The z value is the difference in rates divided by that standard error, and the p-value is the probability of seeing a gap at least this large in either direction if the versions were truly equal. The result counts as significant when the p-value is below one minus the chosen confidence level.

In the default example each version received 1,000 visitors; A converted 100 and B converted 130. A's rate is 10% and B's is 13%, a relative lift of 30%. The z value is 2.103 and the p-value 0.0355, below 0.05, so the difference is significant at 95% confidence. Choose 99% instead and the threshold drops to 0.01, and the same data no longer clears it.

Significance says the gap is probably not chance; it does not say the gap is large or profitable. Read it together with the lift: a tiny but significant lift on a huge site may not pay for the change, while a big lift that is not significant means you lack data, not that the variant failed. When either version has fewer than ten conversions or non-conversions, the tool warns that the z approximation is no longer reliable.

The most damaging habit is stopping as soon as the result turns significant. Checking the p-value daily and stopping at the first dip below the threshold inflates false positives badly. Fix the sample size and duration in advance and cover at least one full weekly cycle so particular weekdays do not skew the result. And do not test dozens of metrics and then pick whichever one came out significant; that manufactures winners.

Standard and formula

Two-sided two-proportion z-test with pooled variance: z = (p_B − p_A) ÷ √(p̂(1 − p̂)(1/n_A + 1/n_B)); the difference is significant when the p-value is below 1 − confidence.

Sources

How to use it

  1. Set the sample size and test length before starting; do not stop at the first difference.
  2. Enter visitors and conversions for each version once the period ends.
  3. Adopt the result when it is significant and the lift matters in practice.

Frequently asked questions

How do I know if my A/B test result is significant?

Compare the p-value with one minus the confidence level; at 95% it must be below 0.05. In the default example it is 0.0355, so the difference is significant.

What does the p-value mean in an A/B test?

It is the probability of a gap this large or larger if the two versions were actually equal. It is not the probability that B is better, a common misreading.

How many visitors do I need for an A/B test?

It depends on the baseline conversion rate and the smallest lift worth detecting; smaller lifts need larger samples. Work out the sample size before starting, and never go below ten conversions per version.

Should I stop the test once it becomes significant?

No, run to the sample size and duration you fixed in advance. Stopping at the first significant reading raises the chance of declaring a false winner.

What is the difference between 95% and 99% confidence?

A 99% level demands stronger evidence, cutting false positives but needing a larger sample. The default data is significant at 95% and not at 99%.

Domains

Careers this tool serves

Programs that build this skill

  • Paper content studio: a ring light, a phone on a tripod, a creator figurine filming a product, small heart and share tokens drifting up: cover of the ARPS program Short Diploma in Digital Marketing Short Diplomas

    Marketing, Sales, Customer Experience & Communications

    Short Diploma in Digital Marketing

    Learn how a digital marketing team chooses an audience, message and channel, verifies real requests and decides where to spend. Follow a fictional training center from an audience need to a launch decision that protects access and service capacity.

    • 6 subjects
    • 24 lessons
    • 61 hours
    Free
    Start the first subject now
  • Paper control desk with multiple screens of blank ad tiles, a marketer figurine adjusting a gold dial while tiny cursor arrows stream out: cover of the ARPS program Specialist Preparation Program in Digital Marketing Specialist Preparation Programs

    Marketing, Sales, Customer Experience & Communications

    Specialist Preparation Program in Digital Marketing

    Learn to plan, execute and measure a digital campaign from business outcome to optimization decision. Build a segment, journey, message and channel plan, then execute search, content, email and landing pages before checking tracking, economics and experiments.

    • 8 subjects
    • 30 lessons
    • 54.5 hours
    Free
    Start the first subject now
  • Paper garden where seedlings of different heights grow from a laptop keyboard, the tallest plant reaching a gold sun-disc at the top: cover of the ARPS program Short Diploma in SEO and Organic Growth Short Diplomas

    Marketing, Sales, Customer Experience & Communications

    Short Diploma in SEO and Organic Growth

    A practical foundation in how search engines work, how to interpret search intent, and how content, technical structure, links and measurement support sustainable organic growth without manipulation or ranking guarantees.

    • 6 subjects
    • 25 lessons
    • 59 hours
    Free
    Start the first subject now
  • Product team around a paper roadmap board with cards in three columns, a prototype app on a phone stand, a gold flag-less milestone pin: cover of the ARPS program Short Diploma in Product Management Short Diplomas

    Entrepreneurship, Innovation & Product

    Short Diploma in Product Management

    A foundational diploma on moving from product problems and users to value, strategy, priorities and roadmaps, then collaborating on delivery and launch, measuring outcomes and learning through experiments after release.

    • 6 subjects
    • 24 lessons
    • 59.5 hours
    Free
    Start the first subject now

Related tools

All tools · Professional encyclopedia