Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

A/B Test Sample Size Calculator

Plan your test before you start. Enter your conversion rate and the smallest change worth detecting to see how many visitors you need and how long to run it.

Atualizado em
%
%
Relative change: 20% takes a 5% rate to 6%.
Result
—

Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

Como usar: A/B Test Sample Size Calculator

  1. Enter your current conversion rate.
  2. Choose the smallest relative change that would matter to you.
  3. Keep 95% confidence and 80% power unless you have a reason to change them.
  4. Add daily visitors to see how long the test will take.

The two numbers that matter

Minimum detectable effect is the smallest lift you care about. Smaller effects need far more visitors: halving it needs roughly four times the traffic. Power is the chance of spotting a real effect of that size, and 80% is the common standard.

How it’s calculated

This tool uses the standard formula for comparing two proportions with a two-sided test. Results are per version, so multiply by the number of versions for the total.

When the test ends, check the result with the A/B Test Significance Calculator.

Também pesquisado como: ab test sample size calculator, sample size calculator, ab test duration calculator, how long to run ab test, minimum detectable effect, split test sample size.

Ferramentas que combinam com: A/B Test Sample Size Calculator

  • CTR Calculator — Enter clicks and impressions to get your click-through rate, for ads, email or Search Console.
  • Calculadora de porcentagem — Sete cálculos de porcentagem do dia a dia em uma única página.
  • UTM Builder — Add utm_source, utm_medium, utm_campaign and friends to any link, see which GA4 channel the visit will land in, and tag a whole list of URLs at once.
  • GA4 Event Code Generator — Pick a recommended GA4 event — generate_lead, sign_up, purchase, add_to_cart and more — or name your own, fill in the parameters and items, and copy the code as gtag(), a Tag Manager dataLayer.push() or a server-side Measurement Protocol request.

Perguntas frequentes

Is anything I enter saved or sent?
No. The calculation runs in your browser. Your last inputs are remembered on this device only, so the page opens where you left off.
How long should an A/B test run?
Until it reaches the planned sample size, and for at least two full weeks so every weekday is covered.
What if I don’t have enough traffic?
Test bigger changes, which need fewer visitors, or test a step with more traffic.
Is the change relative or absolute?
Relative. A 20% change on a 5% rate means detecting 6%.
Posso instalar o A/B Test Sample Size Calculator como um aplicativo da web e usá-lo offline?
Sim. O A/B Test Sample Size Calculator é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

Ferramentas relacionadas