Blueprint mode is on — see the design decisions behind this site

What is A/B testing? How to experiment without statistical mistakes

A/B testing shows two versions to users at the same time to see which performs better. Learn experiment design, sample size, duration and the most common mistakes in plain language.

Is a green button better than a blue one? Is a short headline better than a long one? Instead of arguing in a meeting, you can run an experiment. That is A/B testing: half the users see version A, half see version B, and the results are compared.

The parts of a good experiment

  1. Hypothesis. "If we show shipping cost on the product page, cart abandonment will drop because the surprise is removed."
  2. One primary metric. For example, checkout completion rate.
  3. Random split. Each user is randomly assigned and keeps seeing the same version.
  4. Sample size and duration. Decide before you start.
  5. Decision. If B wins, roll it out; otherwise keep A.

How long to wait?

Two practical rules:

  • At least one or two full weekly cycles, because weekend behaviour differs from weekdays.
  • Enough sample size; use a sample-size calculator. A smaller effect needs a bigger sample.

Common mistakes

  • Peeking and stopping early. Checking daily and declaring a "winner" on day one raises the error rate.
  • Changing several things at once. You will not know which one worked.
  • Too little traffic. With 200 visits a month A/B testing is pointless; use user interviews instead.
  • Testing trivia. Button colour matters less than the message and the price.
  • Ignoring guardrail metrics. Sign-ups rose but complaints rose too.

What is worth testing?

Summary

Every experiment, even a failed one, teaches something. Record results in a log so they are not forgotten or repeated. Experimentation is part of a data-driven decision culture.

Related service: MVP development for startups

Written by

Mohammad Ali Eslamipour

Mohammad Ali Eslamipour is a digital product architect who defines, architects and — with his own engineering team — ships AI products, SaaS platforms and web apps.

From idea to a live product

Launch your MVP in 10 to 12 working days.

Build the first version of your product with a defined scope, server and domain for year one and source-code handover — then test it with real users.

  • Price and scope are clear before you pay
  • Staged payment; 40% before final handover
  • The source code and access are yours

From 17,000,000 Toman

See all bundles