About the P-Value Calculator
Statistical software reports test statistics, but deciding whether a result is significant needs the matching p-value. This p value calculator converts a z, t, chi-square or F statistic into one- and two-tailed p-values and gives critical values for common significance levels: a z of 1.96 has a two-tailed p-value of about 0.05, and a z of 2.5 about 0.012. A small p-value is evidence against the null hypothesis, not proof of an important effect.
The p-value is an area under the distribution's curve. For a right-tailed test it is the area to the right of your statistic, for a left-tailed test the area to the left, and for a two-tailed z or t test it is twice the smaller tail, since extreme values on either side count. Chi-square and F tests are almost always right-tailed. The calculator computes these areas directly from the cumulative distribution functions, accurately even for very small p-values.
Example: z = 1.96 gives a two-tailed p-value of about 0.05, the classic 5% threshold. A t statistic of 2.1 with 15 degrees of freedom gives a two-tailed p of about 0.05306, just above 0.05. χ² = 5.99 with 2 degrees of freedom gives p ≈ 0.05004, and F = 4.0 with 2 and 10 degrees of freedom gives p ≈ 0.05292.
A p-value is not the probability that the null hypothesis is true, and statistical significance is not the same as practical importance. To compute test statistics from data use the t-test calculator or the chi-square calculator, and for z-scores of individual values the z-score calculator.
How to use the P-Value Calculator
- Choose the distributionz, t, chi-square or F, matching your test.
- Enter the statisticType the value of your test statistic.
- Enter degrees of freedomFor t and chi-square one value; for F, the numerator and denominator df.
- Pick the tailTwo-tailed, left-tailed or right-tailed, and read the p-value and verdicts.
P-Value Calculator features
- z, t, chi-square and F distributions
- Left, right and two-tailed p-values
- Any degrees of freedom
- Critical values at your significance level
- Significance verdicts at 10%, 5% and 1%
- Accurate for very small p-values
- No statistical tables needed
Common uses
- Checking results from statistical software
- Statistics homework without printed tables
- Research papers and lab reports
- A/B test evaluation
- Learning how p-values work
P-values in practice: what they say, what they do not, and how to use them wisely
A p-value measures how surprising your data would be if there were really no effect. It is central to scientific research and widely misunderstood, which has led to misleading headlines and unreliable studies. This guide explains what a p-value means with a coin-tossing example, the origin of the 0.05 threshold, the difference between statistical and practical significance, the problem of multiple comparisons and good habits for reporting.
What a p-value means
A p-value is the probability of getting results at least as extreme as yours, assuming the null hypothesis, usually "no effect" or "no difference", is true. A small p-value means the data would be unusual under that assumption, which counts as evidence against it. It is not the probability that the null hypothesis is true, and it is not the probability that the result happened by chance.
A worked example: a suspicious coin
A coin lands heads 60 times in 100 tosses. If the coin were fair, the chance of a result at least this far from 50 in either direction is about 0.057. That is a p-value just above the common 0.05 threshold. The result is somewhat unusual for a fair coin but not strong evidence of bias; tossing it another 100 times would help.
This example shows why p-values are best read as a continuous measure of evidence. A p-value of 0.057 and one of 0.045 represent very similar evidence, even though they fall on opposite sides of 0.05.
Where 0.05 came from
The statistician Ronald Fisher suggested 0.05 in the 1920s as a convenient threshold for results worth a closer look, not as a rigid rule. Over the following decades it became a gatekeeper for publication in many fields. In 2016, the American Statistical Association issued a statement warning against treating p-values below 0.05 as automatically important and those above as automatically worthless.
Statistical versus practical significance
With large samples, tiny effects can produce very small p-values. A study of 100,000 people might find that a new teaching method raises test scores by 0.2 points with p < 0.001: statistically significant but practically trivial. Always look at the size of an effect, ideally with a confidence interval, alongside the p-value.
Multiple comparisons
If you test 20 independent hypotheses where no real effects exist, you should expect about one to give p < 0.05 by chance alone. Studies that test many outcomes and report only the significant ones produce false positives. Corrections such as the Bonferroni method, which divides the threshold by the number of tests, and pre-registering the main hypotheses help keep results honest.
P-hacking
Trying different analyses, removing awkward data points or stopping data collection as soon as p dips below 0.05 can make almost any result look significant. These practices, often unintentional, are called p-hacking. Deciding the analysis plan in advance, reporting all analyses performed and sharing data reduce the problem.
One-tailed and two-tailed tests
A two-tailed test looks for differences in either direction, while a one-tailed test looks in only one. One-tailed p-values are half the two-tailed ones, so choosing a one-tailed test after seeing the data inflates the evidence. Use a one-tailed test only when the direction was specified beforehand for a genuine reason.
Reporting p-values
Report exact p-values, such as p = 0.057, rather than only "significant" or "not significant", and pair them with effect sizes and confidence intervals. State how many tests were run and whether the analysis was planned in advance. Readers can then judge the strength of the evidence themselves.
Common mistakes
- Reading the p-value as the probability that the null hypothesis is true.
- Treating 0.05 as a strict boundary between real and unreal effects.
- Ignoring effect size and practical importance.
- Running many tests and reporting only the significant ones.
Related tools
For tests that produce p-values, use T-Test Calculator and Chi-Square Calculator. For effect ranges, try Confidence Interval Calculator.
P-values in A/B testing
Websites and apps use A/B tests to compare two versions of a page, and p-values judge whether a difference in sign-ups or sales is real. A common trap is checking results every day and stopping as soon as the p-value dips below 0.05, which greatly increases false positives. Decide the sample size in advance, or use methods designed for continuous monitoring, to keep conclusions trustworthy.
Alternatives and complements
Many researchers now report confidence intervals and effect sizes alongside or instead of p-values, because they show both the size of an effect and its uncertainty. Bayesian methods take another approach, expressing results as probabilities for different hypotheses given the data and prior knowledge. Each approach answers slightly different questions, and good analyses often combine them.
Power and sample size
A large p-value does not prove there is no effect; the study may simply have been too small to detect it. Statistical power is the probability of detecting an effect of a given size if it exists, and it rises with sample size. Planning studies with enough power, often 80% or more for the effect size that matters, makes non-significant results more informative.
Limits
P-values are computed exactly from the statistic and degrees of freedom entered; their meaning depends on the study's design and assumptions.
Frequently asked questions
What is a p-value?
The probability, assuming the null hypothesis is true, of getting a result at least as extreme as the one observed. A small p-value means the data would be surprising if the null hypothesis held.
What p-value is significant?
By convention, p < 0.05 is called statistically significant, and p < 0.01 highly significant. The threshold, α, should be chosen before the analysis and depends on the field and the cost of a false positive.
When do I use a two-tailed test?
When you care about a difference in either direction, which is the usual default. Use a one-tailed test only when a difference in one direction is impossible or irrelevant, decided before seeing the data.
How do I get a p-value from a z-score?
For a two-tailed test, p = 2 × (1 − Φ(|z|)), where Φ is the standard normal CDF. z = 1.96 gives p ≈ 0.05, and z = 2.58 gives p ≈ 0.01.
Why do chi-square and F tests use one tail?
Their statistics are sums of squares, so they can only be large when the data depart from the null hypothesis. Only the right tail represents evidence against it.
What are degrees of freedom?
A parameter of the t, chi-square and F distributions related to the sample size and the number of estimated quantities, such as n − 1 for a one-sample t-test. Fewer degrees of freedom mean heavier tails.
Does a small p-value mean a large effect?
No. With a huge sample, even tiny, unimportant differences give small p-values. Always report an effect size or confidence interval alongside the p-value. Report the size of the difference as well.
What is the difference between a p-value and α?
α is the cutoff chosen before the study, often 0.05. The p-value comes from the data. If p is below α you reject the null hypothesis, and α equals the false-positive rate you are willing to accept.