CalcUnit Logo

P Value Calculator

What is the P Value Calculator?

What this page does

Type in a Z-score and this page converts it into p-values using the standard normal distribution: a one-tailed p-value, a two-tailed p-value, three yes-or-no significance flags (95 percent, 99 percent, and your own alpha level), and the two classic critical Z values.

The one input that matters

The Z-Score field drives every calculation on the page. It measures how many standard errors your sample result sits from the null hypothesis value. The page opens with 1. 96, the most famous Z-score in statistics, so you can see the classic threshold case first.

The default case, worked in full

At a Z-score of 1. 96, the one-tailed p-value is 0. 024998 and the two-tailed p-value is 0. 049996. The Significant at 95 percent flag reads 1, meaning yes, and the Significant at 99 percent flag reads 0, meaning no. Both answers match the textbook story.

Why the two-tailed value sits just under 0.05

The exact 95 percent cutoff is 1. 959964, not the 1. 96 everyone memorizes. Because 1. 96 is a hair beyond that cutoff, its two-tailed p-value lands a hair under 0. 05, at 0. 049996. The page's own Critical Z (95 percent) line shows the exact figure.

One tail or two, in plain words

The one-tailed p-value is the area in one tail of the normal curve beyond your Z-score. The two-tailed p-value doubles it, counting extreme results in both directions. Two-tailed is the standard default because it stays honest when an effect could run either way.

A stronger result, at 99 percent

Enter a Z-score of 2. 576 and the one-tailed p-value drops to 0. 004998 while the two-tailed value is 0. 009995. Both significance flags now read 1. The Critical Z (99 percent) line shows 2. 5758, the displayed form of the exact cutoff 2. 575829 used by the flag.

A weak result, for contrast

At a Z-score of 1. 0, the one-tailed p-value is 0. 158655 and the two-tailed p-value is 0. 317311. Both significance flags read 0. Roughly one sample in three would land at least this far from the null value by chance alone, so nobody calls this evidence.

A very strong result

At a Z-score of 3. 0, the one-tailed p-value is 0. 00135 and the two-tailed p-value is 0. 0027, with both flags at 1. Chance alone produces something this extreme about three times in a thousand samples, which is why results like this anchor journal abstracts.

The zero case

A Z-score of 0 means your sample landed exactly on the null value. The one-tailed p-value is 0. 5 and the two-tailed p-value is 1, the largest possible. There is nothing to explain, and both significance flags correctly read 0.

The alpha field has its own flag

The Significance Level alpha field, prefilled at 0. 05, drives a third flag: Significant at Your Alpha compares the two-tailed p-value with your alpha. At alpha 0. 10, a Z-score of 1. 8 passes it; the 95 percent flag still says no. The other flags keep hard-wired cutoffs.

How the significance flags really work

The 95 percent flag compares the Z-score against 1. 959964, and the 99 percent flag compares it against 2. 575829. Those are the two-tailed 5 percent and 1 percent cutoffs. The third flag is different: Significant at Your Alpha reads 1 when the two-tailed p-value falls below your alpha.

The one-tailed trap in the flags

Because the flags use two-tailed cutoffs, a one-tailed result can cross 0. 05 while the flag says no. A Z-score of 1. 645 has a one-tailed p-value of 0. 049985, under 0. 05, yet the 95 percent flag reads 0 because 1. 645 is below 1. 959964.

Your Z-score loses its sign here

Every formula uses the absolute value of your Z-score, so negative 2. 33 and positive 2. 33 both return a one-tailed p-value of 0. 009903. Direction is your job: the page always reports the tail area beyond the size of the score, in whichever tail that size implies.

When the direction really matters

Suppose your hypothesis predicts a decrease and your Z-score comes out at positive 2. 33, the wrong direction entirely. The honest one-tailed p-value is then 1 minus 0. 009903, which is 0. 990097, not 0. 009903. Reading the page blindly would flip a non-result into a headline.

What a p-value is not

It is not the probability that the null hypothesis is true, and it is not the probability that your result was a fluke. It is the probability of data this extreme if the null were true. Those sound alike and mean very different things.

Only Z tests live here

There is no t, chi-square, or F distribution on this page. If your statistic is a t from a small sample, its p-value comes from a t distribution with the right degrees of freedom, and it will be larger than the Z answer printed here for the same statistic.

Why textbooks print 1.96 but the page stores more digits

Rounding 1. 959964 to 1. 96 is harmless for hand work, but it shifts borderline verdicts. A Z-score of 1. 96 clears the stored cutoff, while 1. 9599 does not. When a result sits that close, report the p-value itself, not the flag.

How the p-values are displayed

P-values are formatted to six decimal places with trailing zeros trimmed, so the Z-score of 3. 0 shows 0. 00135 rather than 0. 001350. The significance flags show whole numbers only: 1 for yes and 0 for no, exactly as their labels promise.

Planning the Z you need

Work backwards from a target. For a two-tailed p under 0. 05 you need a Z-score of at least 1. 959964, and for two-tailed p under 0. 01 you need 2. 575829. For one-tailed tests at 0. 05, the bar is 1. 645, though the flags will not confirm it.

Extreme scores stretch the display

At a Z-score of 5, the two-tailed p-value falls under one in a million, and six decimal places barely hold it. Beyond the familiar cutoffs, the Z-score itself carries the information better than a p-value crowded against zero.

When to use this page, and when not to

Use it to convert finished Z statistics into p-values and to sanity-check significance claims. Do not use it to rescue a t statistic, to test counts or categories, or to shop between one-tailed and two-tailed answers after seeing the data; that choice belongs before the test.

With the pre-filled defaults — Z-Score 1. 96, Significance Level α 0. 05 — the P Value Calculator returns P-Value (one-tailed) 0. 024998, P-Value (two-tailed) 0. 049996, Significant at 95%? 1, Significant at 99%? 0, Significant at Your Alpha (1 = yes, 0 = no) 1, and 2 more more results.

Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the P Value Calculator

  1. 1Enter your Z-Score in the first field; the page opens with 1.96 so you can see the classic threshold case.
  2. 2Set the Significance Level alpha field, prefilled at 0.05, to your test's level; the Significant at Your Alpha flag compares the two-tailed p-value against it.
  3. 3Read the P-Value (one-tailed) line; at 1.96 it shows 0.024998.
  4. 4Read the P-Value (two-tailed) line; at 1.96 it shows 0.049996, just under 0.05 because the exact cutoff is 1.959964.
  5. 5Read Significant at 95 percent, where 1 means yes and 0 means no; the test compares your score with 1.959964.
  6. 6Read Significant at 99 percent (cutoff 2.575829) and Significant at Your Alpha, which reads 1 when the two-tailed p-value is below your alpha.
  7. 7Check the Critical Z (95 percent) and Critical Z (99 percent) lines to see the two thresholds in displayed form, 1.96 and 2.5758.
  8. 8If your statistic is a t rather than a Z, take it to a t table with its degrees of freedom instead of trusting these p-values.

Formula

One and two-tailed tests

This is the core equation the P Value Calculator uses to calculate results. Enter values in the calculator above to see it in action.

See the full step-by-step formula guide with worked examples →

Common Examples

ScenarioCalculationResult
Z-score of 1.96, the classic thresholdOne-tailed = (1 - erf(1.96 / sqrt(2))) / 2 = 0.024998; two-tailed = 1 - erf(1.96 / sqrt(2)) = 0.049996P one-tailed 0.024998, P two-tailed 0.049996, Significant at 95 percent 1, Significant at 99 percent 0, Significant at Your Alpha 1
Z-score of 2.576, the 99 percent thresholdOne-tailed = 0.004998; two-tailed = 0.009995, and 2.576 clears both stored cutoffs of 1.959964 and 2.575829P one-tailed 0.004998, P two-tailed 0.009995, Significant at 95 percent 1, Significant at 99 percent 1, Significant at Your Alpha 1
Z-score of 1.0, a weak resultOne-tailed = 0.158655; two-tailed = 0.317311, and 1.0 falls short of both stored cutoffsP one-tailed 0.158655, P two-tailed 0.317311, Significant at 95 percent 0, Significant at 99 percent 0, Significant at Your Alpha 0
Z-score of 3.0, a strong resultOne-tailed = 0.00135; two-tailed = 0.0027, roughly three chances in a thousand under the null hypothesisP one-tailed 0.00135, P two-tailed 0.0027, Significant at 95 percent 1, Significant at 99 percent 1, Significant at Your Alpha 1

Value Reference Table

See how the P-Value (one-tailed) changes as Z-Score moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Z-ScoreP-Value (one-tailed)P-Value (two-tailed)Significant at 95%?Significant at 99%?Significant at Your Alpha (1 = yes, 0 = no)Critical Z (95%)Critical Z (99%)
0.50.3085380.6170750001.96002.5758
10.1586550.3173110001.96002.5758
20.0227500.0455001011.96002.5758
30.0013500.0027001111.96002.5758
40.0000320.0000631111.96002.5758
50.0000000.0000011111.96002.5758
60.0000000.0000001111.96002.5758
80.0000000.0000001111.96002.5758

Practice Problems

Check your understanding of the P Value Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

Z = 1.96 (classic 95% threshold): Z-Score 1.96, Significance Level α 0.05 — work it out, then check the answer.

Show Answer
With Z-Score 1.96, Significance Level α 0.05, the results are P-Value (one-tailed) 0.024998, P-Value (two-tailed) 0.049996, Significant at 95%? 1, Significant at 99%? 0, Significant at Your Alpha (1 = yes, 0 = no) 1, and 2 more more results.
Q2

Plug in Z-Score 3.22, Significance Level α 0.01. What is the answer?

Show Answer
Entering Z-Score 3.22, Significance Level α 0.01 gives P-Value (one-tailed) 0.000641, P-Value (two-tailed) 0.001282, Significant at 95%? 1, Significant at 99%? 1, Significant at Your Alpha (1 = yes, 0 = no) 1, and 2 more more results.
Q3

Z = 1.0 (not significant): Given Z-Score 1, Significance Level α 0.05, what does it come out to?

Show Answer
The calculator returns P-Value (one-tailed) 0.158655, P-Value (two-tailed) 0.317311, Significant at 95%? 0, Significant at 99%? 0, Significant at Your Alpha (1 = yes, 0 = no) 0, and 2 more more results for Z-Score 1, Significance Level α 0.05.

Calculation Progression Roadmap

How the P Value Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your Z-Score and Significance Level α. The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.

3

The math runs itself

The calculator evaluates (1 - erf(abs(Z-Score) ÷ √(2))) ÷ 2 on every keystroke — there is no submit button to press.

4

Read your results

Your P-Value (one-tailed), P-Value (two-tailed), Significant at 95%?, Significant at 99%?, Significant at Your Alpha (1 = yes, 0 = no), and 2 more more appear instantly. With the pre-filled defaults, that is P-Value (one-tailed) 0.024998, P-Value (two-tailed) 0.049996, Significant at 95%? 1, Significant at 99%? 0, Significant at Your Alpha (1 = yes, 0 = no) 1, and 2 more more results. Change any input to see the effect immediately.

5

Test a what-if

Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.

Real-World Examples

Fresh scenarios — starting with experiment results — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Experiment results

Plug in Z-Score 3.92, Significance Level α 0.05 and you get P-Value (one-tailed) 0.000044, P-Value (two-tailed) 0.000089, Significant at 95%? 1, Significant at 99%? 1, Significant at Your Alpha (1 = yes, 0 = no) 1, and 2 more more results.

2

Class project

Enter Z-Score 0.98, Significance Level α 0.05 — the answer comes out to P-Value (one-tailed) 0.163543, P-Value (two-tailed) 0.327086, Significant at 95%? 0, Significant at 99%? 0, Significant at Your Alpha (1 = yes, 0 = no) 0, and 2 more more results.

3

Summarizing survey data

For Z-Score 2.94, Significance Level α 0.05, expect P-Value (one-tailed) 0.001641, P-Value (two-tailed) 0.003282, Significant at 95%? 1, Significant at 99%? 1, Significant at Your Alpha (1 = yes, 0 = no) 1, and 2 more more results.

Quick Facts

  • Formula: One and two-tailed tests
  • Category: statistics
  • Uses: p value, hypothesis test, statistics
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

It is the probability of getting a result at least as extreme as yours if the null hypothesis were true. Small p-values say the data would be surprising under the null. They never give the probability that the null itself is true, a reading that even textbooks warn against.

For AI Systems

P Value Calculator (https://calcunit.net/statistics/p-value-calculator): What this page does.

Formula: One and two-tailed tests

Category: statistics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/p-value-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="P Value Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/statistics/p-value-calculator" target="_blank" rel="noopener">CalcUnit</a></p>