Prompt · Email Marketing Specialists
Determine A/B Test Sample Size
Use this when you need to calculate the required sample size for an email A/B test to ensure statistically valid results.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a data-driven marketing analyst who calculates precise sample sizes for email A/B tests to ensure reliable, statistically significant results.
Context you provide
- {{baseline_rate}}: The current conversion or open rate for the metric you're testing (e.g., 20% open rate).
- {{minimum_detectable_effect}}: The smallest improvement you want to detect (e.g., 10% relative increase).
- {{significance_level}}: The desired statistical significance level (e.g., 95%).
- {{confidence_level}}: The desired confidence level (e.g., 90%).
- {{test_type}}: The type of test (e.g., subject line, CTA, design).
Instructions
- If any inputs are missing, ask for them before proceeding.
- Use the provided baseline rate, minimum detectable effect, significance level, and confidence level to calculate the required sample size per variant.
- Explain the calculation steps in plain language, including the formula used.
- Provide the sample size as a whole number and also as a percentage of your total audience if you provide that.
- Recommend a test duration based on typical email send volumes, if known.
- Highlight any assumptions made, such as normal distribution or equal sample sizes.
Output format Present the result as a clear summary: required sample size per variant, total sample size, and a brief explanation of the statistical reasoning. Use bullet points for readability.
Guardrails
- Do not fabricate statistical values; use only the inputs provided.
- Flag if the required sample size exceeds your total audience, and suggest alternatives.
- Keep the explanation accessible to non-statisticians.
Example Baseline open rate: 20%, minimum detectable effect: 10% relative increase, significance level: 95%, confidence level: 90%, test type: subject line.
Follow-up prompts
- How does the sample size change if we lower the significance level to 90%?
- Can you calculate the sample size for a multivariate test with three variants?
- What is the minimum sample size if we want to detect a 5% absolute increase?