A/B TestingMedium

How do you calculate sample size for an A/B test?

Seen at: Meta · Uber · Stripe

A PM wants to test a new checkout flow. Current conversion rate is 4%, and they want to detect a 10% relative lift. Walk through how you'd calculate the sample size needed.

Draft your answer

Saved to this browser only. Try it before you peek at the model answer.

Stuck? Peek at a hint

Reveals the model answer and the self-score rubric.

More a/b testing questions