Skip to content
Log in

How to calculate sample size for an A/B test: formula, example and calculator

How to calculate sample size for an A/B test: the formula, a worked example, how statistical power and MDE change the number, and a free calculator.

By Sergey BruhPublished 10 min read

Learn it in the course

Learn statistics hands-on

A free course for PMs and marketers: short lessons, real product data and exercises with instant feedback.

Start the free course

Related articles