AP Stats P-Value Calculator

Find the two-tailed p-value for a z statistic or a t statistic. Enter your test statistic, choose z or t, and add degrees of freedom for a t-test. The calculator gives you the p-value and tells you whether it is below common alpha levels.

Calculate Your P-Value

Enter your test statistic and press Calculate P-Value.

The bar shows the p-value on a 0 to 1 scale. A short bar means a small p-value.

Interactive visual: Live preview

Press Show live preview to redraw this chart from your calculator inputs.

What Is a P-Value?

A p-value is the probability of getting results at least as extreme as the ones you observed, if the null hypothesis were true. A small p-value, usually below 0.05, is evidence against the null hypothesis, because your results would be surprising if the null were true. A large p-value is not proof that the null is true, it only means your data do not give strong evidence against it.

Interactive visual: See the idea

Example: t = 2.50 with df = 24 — two-tailed p about 0.020, reject H0 at 0.05.

How to Use This Calculator

Interactive visual: Walk through it

Step 1: Open the AP Stats P-Value Calculator calculator at the top and enter the values it asks for.

1) Type your test statistic, keeping its sign or using its absolute value; the two-tailed calculation uses the absolute value. 2) Choose z if the population standard deviation is known, or t if you used a sample standard deviation. 3) For t, type the degrees of freedom, usually n - 1 for a one-sample test. 4) Press Calculate P-Value and compare the result with your alpha level, usually 0.05.

How to Calculate a P-Value

Interactive visual: See it on a chart

Press Update visual to redraw this chart from your calculator inputs.

For a two-tailed test, the p-value is the probability of getting a test statistic at least as extreme as yours, in either direction, if the null hypothesis were true. For z, that is p = 2 × (1 - normal CDF(|z|)). For t, the same idea uses the t-distribution with your degrees of freedom.

Worked example: t = 2.50 with df = 24. The two-tailed p-value is about 0.020. Because 0.020 is less than 0.05, you would reject the null hypothesis at the 0.05 level, but not at the 0.01 level.

Tips and Common Mistakes

Interactive visual: Mistake vs correct

Mistake: Reporting the one-tailed p-value when the test is two-tailed.

Frequently Asked Questions

Interactive visual: FAQ

Tap any question below to show or hide its answer.

What does a p-value of 0.03 mean?

If the null hypothesis were true, you would see a result at least this extreme about 3% of the time. At alpha = 0.05, that is statistically significant.

Is a smaller p-value always better?

A smaller p-value is stronger evidence against the null, but it does not by itself prove a large or important effect. Report the effect size and confidence interval too.

What is the difference between a z p-value and a t p-value?

A z p-value uses the normal distribution. A t p-value uses the t-distribution, which has heavier tails for small samples and approaches the normal distribution as degrees of freedom grow.

Why does my p-value change when degrees of freedom change?

With fewer degrees of freedom, the t-distribution is wider, so the same test statistic is less surprising and the p-value is larger.

What do I do if my p-value is 0.06?

At alpha = 0.05, you fail to reject the null hypothesis. That does not prove the null is true; it means the evidence is not strong enough at that level.

Can a p-value be greater than 1?

No. A p-value is a probability, so it is always between 0 and 1.

Related Calculators and Guides

Keep exploring AP Statistics with calculators and guides related to this tool.

Related Calculators

Interactive visual: Tool path

Start with this tool, then follow the path through the related calculators.

P-Value Calculator → Hypothesis Testing Calculator → T-Test Calculator

Related Guides

Disclaimer: AP is a trademark of the College Board, which was not involved in this site.

All AP Statistics Calculators

Use any of the 25 free calculators below, no login needed. Each calculator opens on its own page with its own formula, worked example, tips, and FAQs.

AP Statistics Score Calculator Z-Score Calculator P-Value Calculator T-Test Calculator Confidence Interval Calculator Margin of Error Calculator Standard Deviation Calculator Chi-Square Calculator Binomial Distribution Calculator Normal Distribution Calculator Expected Value Calculator Hypothesis Testing Calculator Sample Size Calculator Correlation Coefficient Calculator Residual Calculator Linear Regression Calculator Two-Sample T-Test Calculator Proportion Confidence Interval Calculator Variance Calculator Geometric Distribution Calculator Percentile Calculator Degrees of Freedom Calculator Outlier Calculator R-Squared Calculator Poisson Distribution Calculator

Read the AP Statistics guides for worked examples, TI-84 steps, and exam strategy.