Skip to main content
CalcChef

P-Value Calculator

P-value from a z, t, chi-square or F statistic and its degrees of freedom, left-, right- or two-tailed, with an optional comparison against alpha. How it works

Use the P-Value Calculator

P-value
0.049996

P(|Z| ≥ 1.96), the probability of a statistic at least this extreme in either direction if the null hypothesis is true.

p is below α = 0.05.

A p-value is the probability, if the null hypothesis is true, of a test statistic at least this extreme. It is not the probability that the hypothesis is true.

About the P-Value Calculator

A z-score of 1.96 has a two-tailed p of 0.049996, which rounds to 0.05000, and a right-tailed p of 0.02500. This p-value calculator turns a z, t, chi-square or F statistic into the tail probability that goes with it, using the degrees of freedom you enter, and can compare the result with a significance level α.

P-values for common z-scores

zTwo-tailed pRight-tailed p
10.31730.1587
1.2820.19980.09992
1.6450.099970.04998
1.960.050000.02500
20.045500.02275
2.3260.020020.01001
2.5760.0099950.004998
30.0027000.001350
3.2910.00099830.0004992
46.334 × 10^-53.167 × 10^-5
55.733 × 10^-72.867 × 10^-7

The left-tailed p for a negative z equals the right-tailed p for the same positive z.

t critical values for a two-tailed test at 0.05, and the p each one gives

Degrees of freedomtTwo-tailed p
112.7060.05000
24.3030.04999
52.5710.04997
102.2280.05001
202.0860.05000
302.0420.05003
602.0000.05003
1201.9800.04999

Critical values are rounded to three decimals, as in printed tables, so p comes out within 0.0001 of 0.05 and is sometimes just above it.

Chi-square critical values for a right-tailed test at 0.05

Degrees of freedomChi-squareRight-tailed p
13.8410.05001
25.9910.05001
37.8150.04999
49.4880.04999
511.0700.05001
1018.3070.05000

How to use this tool

  1. Choose the type of test statistic: z, t, chi-square or F.
  2. Type the statistic. Add the degrees of freedom for t and chi-square, or the numerator and denominator degrees of freedom for F.
  3. Choose the tail: two-tailed, right-tailed or left-tailed for z and t, and right- or left-tailed for chi-square and F.
  4. To compare with a significance level, enter α, such as 0.05. The tool then says whether p is below it.

Frequently asked questions

How do I find the p-value from a z-score?
Take the area under the standard normal curve beyond your z. For z = 2.5 the right-tailed p is 0.006210 and the two-tailed p is 0.01242. A negative z in a left-tailed test gives the mirror-image area: z = -1.96, left-tailed, is 0.02500.
How do I find the p-value from a t statistic?
Choose t, then enter the statistic and its degrees of freedom. t = 2.5 with 10 degrees of freedom gives a two-tailed p of 0.03145 and a right-tailed p of 0.01572. Fewer degrees of freedom mean a larger p for the same statistic: a value of 2 gives 0.07339 with 10 degrees of freedom, 0.05927 with 20 and 0.04550 on the normal curve.
Should I use a one-tailed or a two-tailed p-value?
That follows from the alternative hypothesis, which is set before looking at the data. If a difference in either direction would count, use two-tailed; if only one direction would, use that tail. For z and t the two-tailed value is twice the smaller one-tailed value: z = 2 is 0.02275 right-tailed and 0.04550 two-tailed.
What does it mean if p is less than 0.05?
A statistic at least this extreme would turn up less than 5% of the time if the null hypothesis were true. The American Statistical Association’s 2016 statement adds that a p-value does not measure the probability that the hypothesis is true, or the size or importance of an effect, and that conclusions should not rest only on whether p passes a threshold. When you enter α, the tool reports that p is below α or not below it, and nothing else.
Which degrees of freedom do I enter?
That depends on the test. A one-sample t test on n values uses n − 1: with 15 values, t = 2.5 and 14 degrees of freedom give a two-tailed p of 0.02547. A regression slope uses n − 2. A chi-square goodness-of-fit test with k categories uses k − 1, so a die tested for fairness has 5, and a chi-square of 12 then gives 0.03479. A test of independence in a table with r rows and c columns uses (r − 1) × (c − 1), so a 2 × 3 table has 2.
Why is there no two-tailed option for chi-square and F?
The tool offers the right and left tails only, because the usual chi-square and F tests use the right tail: a chi-square of 10 with 4 degrees of freedom gives p = 0.04043, and F = 4.96 with 1 and 10 degrees of freedom gives 0.05009. A two-sided test of one variance, or of the ratio of two, does exist: it puts α/2 in each tail, which is the same as doubling the smaller one-tailed p (capped at 1). F = 2.5 with 20 and 20 degrees of freedom is 0.02329 right-tailed, so the two-sided p is 0.04658.

Related Tools

View all tools