# A/B test significance calculator

> Check whether an A/B test result is statistically significant: conversion rates, uplift, p-value and confidence from visitors and conversions.

Free tool by Orkosi. Page: https://orkosi.com/tools/ab-test-calculator

A variant that looks 20% better after two days is usually noise. Enter the visitors and the conversions of both versions to see whether the difference is real.

1. Enter visitors and conversions of version A.
2. Enter visitors and conversions of version B.
3. Press Calculate and read the verdict and the confidence.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `visitors_a` | integer | yes | Visitors A. |
| `conversions_a` | integer | yes | Conversions A. |
| `visitors_b` | integer | yes | Visitors B. |
| `conversions_b` | integer | yes | Conversions B. |

## Example

Input:

```json
{
  "visitors_a": 5000,
  "conversions_a": 200,
  "visitors_b": 5000,
  "conversions_b": 250
}
```

Result:

```json
{
  "rate_a": 4,
  "rate_b": 5,
  "uplift_percent": 25,
  "z_score": 2.41,
  "p_value": 0.0159,
  "confidence_percent": 98.41,
  "significant": true,
  "verdict": "B wins: the difference is significant at 95% confidence."
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "ab-test-calculator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/ab-test-calculator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"visitors_a":5000,"conversions_a":200,"visitors_b":5000,"conversions_b":250}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**What does statistically significant mean?**

That a difference this large would appear by chance less than 5 times in 100 if the two versions were truly equal. That is 95% confidence.

**Which test is used?**

A two-sided two-proportion z-test with a pooled variance, the standard test for conversion rates.

**Can I stop the test as soon as it is significant?**

No. Checking every day and stopping at the first significant result finds false winners. Fix the sample size first and judge once it is reached.

All free tools: https://orkosi.com/tools.md
