Skip to content
ToolUlkaa Tool
All tools

Statistics

Statistics CalculatorRandom Number GeneratorStandard Deviation CalculatorZ-Score CalculatorProbability CalculatorPermutation and Combination CalculatorP-Value CalculatorT-Test CalculatorConfidence Interval CalculatorSample Size CalculatorChi-Square CalculatorCorrelation Coefficient CalculatorLinear Regression CalculatorANOVA CalculatorProbability Distribution Calculator

Categories

AcademicTextMathematicsStatisticsMachine LearningAIData ScienceFile
All tools
Statistics

A/B Test Sample Size Calculator

Enter your baseline conversion rate and the smallest lift you care about to find the sample per group.

Calculate
Smallest change to detect
Power
Significance level (α)
Test

Sample size per group

3841
Total, both groups
7682
Baseline rate
10%
Rate to detect
12%
Power
80%
Unrounded n
3840.85

You need about 3841 people in each group (7682 in total) to detect a change from 10% to 12% with 80% power at α = 0.05 (two-sided).

This is a fixed-sample estimate. Peeking at results early and stopping inflates false positives.

Step-by-step working

  1. 1Critical values
    z1−α/2, zpowerz_{1-\alpha/2},\ z_{\text{power}}z1−α/2​, zpower​
    ↓
    1.96, 0.841621.96,\ 0.841621.96, 0.84162
  2. 2Average rate
    pˉ=p1+p22\bar p = \dfrac{p_1 + p_2}{2}pˉ​=2p1​+p2​​
    ↓
    pˉ=0.11\bar p = 0.11pˉ​=0.11
  3. 3Sample size per group
    n=(zα2pˉqˉ+zβp1q1+p2q2)2(p1−p2)2n = \dfrac{\left(z_{\alpha}\sqrt{2\bar p\bar q} + z_{\beta}\sqrt{p_1q_1 + p_2q_2}\right)^2}{(p_1 - p_2)^2}n=(p1​−p2​)2(zα​2pˉ​qˉ​​+zβ​p1​q1​+p2​q2​​)2​
    ↓
    n=3840.85→3841n = 3840.85 \to 3841n=3840.85→3841

    Rounded up to a whole person.

  1. Tools
  2. Statistics
  3. Sample Size Calculator
  4. A/B Test Sample Size Calculator

About A/B Test Sample Size Calculator

This A/B test sample size calculator gives the number of people needed in each group to detect a chosen change in a conversion rate, with a chosen power and significance level. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.

It uses the standard normal-approximation formula for comparing two proportions, the same one as R’s power.prop.test. You choose the baseline rate, the smallest change that would matter (as a relative lift or in percentage points), the power and the significance level, and whether the test is one-sided or two-sided.

The page opens on a 10% baseline and a 20% relative lift, which is a move to 12%. The estimate assumes one comparison and a fixed sample size. Looking at results every day and stopping when the p-value dips below 0.05 raises the false-positive rate, so fix the sample size first and wait.

How to use A/B Test Sample Size Calculator

  1. 1Choose what to calculate: survey size, margin of error, a mean, or an A/B test.
  2. 2For a survey, set the confidence level, the margin of error in percentage points and the expected proportion. Use 50% if you are unsure.
  3. 3If your population is small, type its size to apply the finite population correction.
  4. 4For an A/B test, enter the baseline rate, the change to detect, the power and the significance level.
  5. 5Read the result, then open the working to copy the formula into your methods section.

Features

  • Survey sample size for a proportion at 90%, 95% or 99% confidence.
  • Margin of error for a given sample size, with finite population correction.
  • Sample size to estimate a mean from the standard deviation and the margin of error.
  • A/B test sample size per group from baseline rate, minimum detectable change, power and significance.
  • Finite population correction when the population is known and small.
  • A bell curve of the confidence level and step-by-step KaTeX working.

Sample size per group, two proportions

With p̄ the average of the two rates and q = 1 − p:

n = ( z_α √(2 p̄ q̄) + z_β √(p1 q1 + p2 q2) )² / (p1 − p2)²

Worked examples

  • 50% to 75%, power 90%, α = 0.05 two-sided → gives 77 per group (76.71 unrounded)

    R documentation: power.prop.test(p1 = .50, p2 = .75, power = .90) gives n = 76.7.

  • 10% to 12%, power 80%, α = 0.05 two-sided → gives 3841 per group

  • 10% to 12%, power 80%, α = 0.05 one-sided → gives 3026 per group

Privacy: how it works

  • All formulas run in your own browser tab. Nothing you type is sent to Ulkaa or to any other server.
  • There is no account and nothing is stored once you close the tab.

Tips

  • If you do not know the expected proportion, use 50%. It gives the largest sample and so a safe margin.
  • Smaller margins are expensive: moving from ±5 to ±2.5 points roughly quadruples the sample.
  • For an A/B test, decide the smallest change that would matter to the business. Detecting tiny lifts takes very large samples.
  • A population much larger than the sample barely changes the answer. The correction matters when the sample is more than about 5% of the population.

Frequently asked questions

Is it really free?

Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.

Do I need an account?

No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.

Does it run in my browser?

Yes. Your numbers are processed by code running in your browser tab, on your own device.

Is my data uploaded?

No. Your numbers are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.

What is a minimum detectable effect?

The smallest change in the rate that you would want the test to be able to detect. A smaller effect needs a much larger sample, roughly four times as many people for half the effect.

Should I use a one-sided test?

Only if a change in the other direction would lead to the same decision as no change. A two-sided test is the safe default, and it needs more people.

More Sample Size Calculator pages

  • Sample Size CalculatorFind how many responses a survey needs, the margin of error of a sample, or how many people an A/B test needs.
  • Survey Sample Size CalculatorSet a confidence level, a margin of error and your population size to find how many responses to collect.
  • Margin of Error CalculatorType the sample size and get the margin of error for a survey result.
  • Sample Size for a Mean CalculatorEnter the standard deviation and the margin of error you can accept to find the number of observations.

Ulkaa Apps

  • Ulkaa
  • Calendar
  • Task
  • Note
  • Disk
  • Call
  • Contact
  • Mail
  • Finance
  • Health
  • Office
  • Work
  • Workspace
  • Halum
  • Jaal
  • Islam
  • Game
  • Weather
  • Campus
  • News
  • Developer
  • Help
  • Account
About·Privacy·Terms·© 2026 Ulkaa

What is Ulkaa Tool?

Ulkaa Tool is a free collection of fast, privacy-friendly online tools from Ulkaa Network. Calculate your GPA and CGPA, edit rich text, count words and characters, replace text and more — all in your browser.

Every tool runs entirely in your browser — no sign-up, and your data never leaves your device.

Academic

  • GPA Calculator
  • CGPA Calculator
  • Citation Generator
  • Quiz Maker

Text

  • Rich Text Editor
  • Word Counter
  • Character Counter
  • Text Replacement

Ulkaa

  • Ulkaa
  • Ulkaa News
  • Ulkaa Campus
  • Ulkaa Tool
  • Ulkaa Game
  • Ulkaa Weather
  • Ulkaa Islam

Company

  • About Ulkaa
  • Careers
  • Support
  • Help
  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Sitemap

© 2015-26, Ulkaa. All rights reserved.
Facebook PageLinkedIn CompanyX (Twitter) ProfileInstagram ProfileGitHub Account