CalcPro

P-Value Calculator

Convert a z-score into one- and two-tailed p-values.

What the calculator does

This tool converts a z-score (your test statistic) into both one-tailed and two-tailed p-values. It uses the standard normal distribution to determine the probability of observing a result as extreme as (or more extreme than) the one you calculated, assuming your null hypothesis is true. This is essential for deciding whether to reject or accept your hypothesis in statistical testing.

The formula

p-value = 1 − Φ(|z|) for one-tailed; p-value = 2 × [1 − Φ(|z|)] for two-tailed

Where Φ is the cumulative distribution function (CDF) of the standard normal distribution, and |z| is the absolute value of your z-score.

Worked example

Imagine you conducted a hypothesis test and calculated a z-score of 2.15.

Step 1: Take the absolute value
|2.15| = 2.15

Step 2: Find the CDF value
Using the standard normal distribution table or calculator, Φ(2.15) ≈ 0.9842

Step 3: Calculate one-tailed p-value
One-tailed p-value = 1 − 0.9842 = 0.0158

Step 4: Calculate two-tailed p-value
Two-tailed p-value = 2 × 0.0158 = 0.0316

Interpretation:

  • If your test was one-tailed, the p-value is 0.0158 (1.58%). This is less than 0.05, so you would reject the null hypothesis at the 5% significance level.
  • If your test was two-tailed, the p-value is 0.0316 (3.16%). Still below 0.05, so again you reject the null hypothesis.

The one-tailed result suggests stronger evidence (smaller p-value) because you're testing in only one direction, whereas the two-tailed test splits the significance region between both tails of the distribution.

Common mistakes

Confusing p-value with probability of truth: A p-value of 0.03 does not mean there's a 3% chance your hypothesis is true. It means there's a 3% probability of getting your result (or more extreme) if the null hypothesis actually is true.

Choosing the wrong tail: Make sure you know whether your research question demands a one-tailed or two-tailed test before running your analysis. Deciding after seeing results inflates false-positive rates.

Ignoring effect size: A very small p-value with a tiny effect size may be statistically significant but practically meaningless. Always report both.

Threshold confusion: The 0.05 cutoff is conventional but arbitrary. Some fields use 0.01 or 0.001. Your discipline and journal guidelines should guide this choice.

This estimate is for statistical reference only and should not replace professional statistical consultation for research, medical, or regulatory decisions.

Frequently asked questions

What is a p-value?

A p-value is the probability of observing a test statistic at least as extreme as the one you calculated, assuming the null hypothesis is true. Lower p-values (typically <0.05) suggest stronger evidence against the null hypothesis.

What's the difference between one-tailed and two-tailed p-values?

A one-tailed p-value tests for an effect in one specific direction (e.g., greater than or less than). A two-tailed p-value tests for an effect in either direction and is typically twice the one-tailed value.

How do I interpret the result?

Compare your p-value to your significance level (usually 0.05). If p-value < 0.05, you typically reject the null hypothesis. If p-value ≥ 0.05, you fail to reject it.

Can I use a negative z-score?

Yes. The calculator uses the absolute value of the z-score to find the p-value, since the standard normal distribution is symmetric around zero.

What z-score range is typical?

Most z-scores fall between −3 and +3. A z-score of ±1.96 corresponds to a two-tailed p-value of 0.05; ±2.58 gives 0.01.

Is this estimate or professional advice?

This calculator provides a statistical estimate only. For research, medical, or high-stakes decisions, consult a qualified statistician or domain expert.