• VOLUME
  • TIME
  • CONFIDENCE
  • HUMAN

How to calculate experiment sample sizes with your agent

Connect this MCP to your agent to turn conversion targets into concrete user requirements. It handles the statistical heavy lifting so you don't have to.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I calculate experiment sample sizes with my AI?

Give your agent your baseline conversion rate and your Minimum Detectable Effect (MDE). Your agent runs the math to tell you exactly how many users you need per variant. You'll get a clear breakdown of the required volume and the estimated time needed to finish the test.

The results you get

What your calculation produces

Once you provide your metrics, your agent produces these specific results.

VOLUME

Required user count

Your agent calculates the total number of participants needed for each variant. You'll know exactly how much traffic to route to your test.

TIME

Estimated test duration

By looking at your daily traffic, your agent tells you how many days the experiment will run. This helps you plan your roadmap.

CONFIDENCE

Statistical certainty

The math ensures your results meet standard confidence intervals. You get the math behind the numbers without doing the algebra.

HUMAN

Decision support

Your agent presents the raw numbers, but you decide if the MDE is realistic for your business. You make the final call on whether to run the test.

The workflow

What your agent does when the request arrives.

Your agent uses the math tools to turn your business goals into a testing plan.

  1. Gather metrics

    Your agent asks for your baseline conversion rate and the MDE you want to detect.

    calculate_sample_size
  2. Run the math

    Your agent executes the statistical formula to determine the necessary sample size per variant.

    calculate_sample_size
  3. Project duration

    Your agent uses your daily traffic numbers to estimate how long the experiment will take to conclude.

    calculate_sample_size
  4. Deliver results

    Your agent presents a summary of the required users, the duration, and the statistical parameters used.

    calculate_sample_size

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Test Duration Calculator tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the calculation immediately.

Starting points

Replace the numbers in these prompts with your actual conversion data and target MDE.

Test Duration Calculator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_O1AMvmlC1UbiIg5EToBCmgYLv4CFNyrsTcP8VO1g/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Test Duration Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "test-duration-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_O1AMvmlC1UbiIg5EToBCmgYLv4CFNyrsTcP8VO1g/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the sample size for an experiment with a 5% baseline conversion and a 10% MDE.

  • 02

    How many users do I need if my current conversion is 2.5% and I want to detect a 0.5% lift?

  • 03

    Based on a 12% baseline and a 20% MDE, how many days will this test run if I get 500 visitors a day?

  • 04

    Run a sample size calculation for my checkout page: 3% conversion, 15% MDE, 1000 daily users.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Test Duration Calculator once, then ask.

Connect the MCP to your preferred client in one click. Your credentials stay encrypted, and you can start running math immediately.

Connect Test Duration Calculator to your agent

FAQ

How this task behaves

  • 01

    Can your agent run the experiment for me?

    No. Your agent only calculates the required numbers. You must manually set up and run the experiment in your own testing platform.

  • 02

    Does your agent change my conversion data?

    No. Your agent only reads the numbers you provide to perform calculations. It has no access to your live website or analytics tools.

  • 03

    What happens if I don't know my MDE?

    You should decide on a Minimum Detectable Effect based on your business goals. Your agent needs this number to provide an accurate sample size.

  • 04

    Can I use this for multivariate tests?

    The tool is designed for A/B tests where you compare a control to a specific number of variants.

  • 05

    Will your agent tell me if my test is significant?

    Your agent calculates how many users you need to reach significance. It cannot monitor a live test and tell you when it has finished.

  • More questions about Test Duration Calculator? The Connector page answers them. See everything the Test Duration Calculator Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Test Duration Calculator to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Test Duration Calculator plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Test Duration Calculator to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.