InputTestHub

Proportion Test Calculator

Runs a one or two-proportion z-test with the pooled standard error, the p-value and a confidence interval for the difference.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Used for the one-proportion test.
Enter your figures and press Calculate.
In short A two-proportion z-test asks whether two rates could plausibly come from the same underlying proportion. The figures loaded above — 120 of 1,000 against 90 of 1,000 — give z = 2.1883, p = 0.0287 and a difference of three percentage points, so the gap is larger than sampling noise comfortably explains. The standard error uses the POOLED proportion, because the null hypothesis being tested says the two rates are equal; the confidence interval for the difference uses the unpooled version, because there you are estimating a gap rather than testing whether it is zero. That asymmetry is deliberate and is why a borderline test and its interval can occasionally disagree. Squaring z gives 4.7887, which is exactly the chi-square statistic for the same 2×2 table — the two tests are algebraically identical, so a chi-square on a 2×2 IS a two-proportion z-test. Two warnings that matter more than the arithmetic. Report the ABSOLUTE difference rather than the relative one: a move from 1% to 2% is a 100% lift and one percentage point, and only one of those figures tells you what you gained. And checking an A/B test repeatedly, stopping the moment p drops below 0.05, inflates the false-positive rate well past 20% — fix the sample size in advance.

How to use the Proportion Test Calculator

  1. Enter your figures in the input fields.
  2. The result updates as you type, together with the full working.
  3. Check the breakdown table to see exactly how the number was reached.

About the Proportion Test Calculator

One and two-proportion z-tests, with the interval for the difference.

What people use it for

  • Testing whether two conversion rates really differ.
  • Comparing pass rates, click rates or defect rates.
  • Checking a single proportion against a claimed value.

Details

The worked examplez = 2.1883, p = 0.0287
Difference+3.00 percentage points
z squared4.7887 — the chi-square on the same 2×2
Test usesthe POOLED standard error
Interval usesthe unpooled one

The maths behind it

This tool uses z = (p̂₁ − p̂₂) ÷ √(p̄(1−p̄)(1/n₁ + 1/n₂)), where p̄ is the pooled proportion. Every intermediate value is shown on screen, so the result can be checked by hand.

The pooled standard error for the test and the unpooled one for the interval are both correct for their own purpose, and the page prints both so the difference is visible rather than surprising.

Where this tool stops

This assumes each observation is independent and that the samples are random. A significant difference between two groups that were not randomly assigned measures whatever separated them, not the thing you changed.

Frequently asked questions

Is this the same as a chi-square test?
On a 2×2 table, yes, exactly — z squared is the chi-square statistic and the p-values match. They are two presentations of one test.
Should I report the absolute or relative difference?
Absolute, always, and the relative one only alongside it. A rise from 1% to 2% is a 100% improvement and one percentage point, and the second is what you actually gained.
Can I stop the test as soon as it turns significant?
No. Repeatedly checking and stopping at p < 0.05 pushes the real false-positive rate past 20%. Fix the sample size before you start, or use a method built for continuous monitoring.
What if my counts are small?
The normal approximation needs roughly ten successes and ten failures in each group. Below that, use Fisher's exact test instead — the page tells you your counts so you can check.
Is there a limit on how often I can use the Proportion Test Calculator?
Free, unlimited, and no email address required. You can use it a hundred times a day and nothing changes.
Is what I paste into the Proportion Test Calculator stored?
No. The Proportion Test Calculator runs entirely in your browser using JavaScript. Because the work happens locally, the utility also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
How is the result calculated?
It uses z = (p̂₁ − p̂₂) ÷ √(p̄(1−p̄)(1/n₁ + 1/n₂)), where p̄ is the pooled proportion. The full working is printed under the result, so you can follow every step rather than trusting a black box.
What do I get if I try it?
Enter 120/1000 against 90/1000 and the Proportion Test Calculator returns z = 2.1883, p = 0.0287.
When would I actually need the Proportion Test Calculator?
The jobs it is built for: testing whether two conversion rates really differ. Comparing pass rates, click rates or defect rates. Checking a single proportion against a claimed value. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Proportion Test Calculator cannot do?
This assumes each observation is independent and that the samples are random. A significant difference between two groups that were not randomly assigned measures whatever separated them, not the thing you changed. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Proportion Test Calculator work from?
The worked example is z = 2.1883, p = 0.0287. Difference is +3.00 percentage points. z squared is 4.7887 — the chi-square on the same 2×2. These are printed on the page itself, so you do not have to take them on trust.
Is the number rounded?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…