P-Value Calculator: Z Score and T Score
This p-value calculator finds the p-value from a z score or t score, for left-tailed, right-tailed or two-tailed tests. Enter your test statistic and degrees of freedom to see the p-value and compare it with your significance level, such as 0.05.
P-value Calculator
Uses standard normal CDF for z; Student-t approximation for t.
-
-
-
This p-value calculator converts a z-statistic or t-statistic into a p-value for a left-tailed, right-tailed or two-tailed test. It shades the p-value region on the distribution curve and tells you whether the result is significant at ฮฑ = 0.05.
How to use the P-value Calculator
- Choose the Statistic Type: Z-statistic or t-statistic.
- Enter the Test Statistic Value from your test. For t, also enter the Degrees of Freedom (df), often n − 1 for a one-sample test.
- Pick the Tail (two-tailed, left-tailed or right-tailed) to match your alternative hypothesis.
- Press Calculate P-value. Read the p-value, the verdict at 0.05, the area description and the shaded chart.
Formula
Right-tailed: p = P(X ≥ stat)
Two-tailed: p = 2 × P(X ≥ |stat|)
X follows the standard normal distribution for z, or Student's t distribution with df degrees of freedom for t. The t distribution has heavier tails, so the same statistic gives a larger p-value with t than with z, especially when df is small.
Example
A one-sample t-test with 16 observations gives t = 2.5, so df = 15. Two-tailed, the tool returns p ≈ 0.0245, which is below 0.05, so the result is significant. For comparison, z = 1.96 two-tailed gives p ≈ 0.05, the classic cutoff.
Frequently asked questions
What is a p-value?
The p-value is the probability of getting a test statistic at least as extreme as yours if the null hypothesis were true. A small p-value means your data would be surprising under the null hypothesis.
How do I know which tail to use?
Match your alternative hypothesis. Greater than calls for right-tailed, less than for left-tailed, and not equal to for two-tailed. When unsure, two-tailed is the standard choice.
What are the degrees of freedom for a t-test?
For a one-sample or paired t-test, df = n − 1. For a two-sample test with equal variances, df = n₁ + n₂ − 2. More degrees of freedom make the t curve closer to the normal curve.
Does a small p-value prove my hypothesis?
No. It only says the data is unlikely under the null hypothesis. It does not measure the size or importance of an effect, and with very large samples even tiny effects can produce small p-values.
For a quick significant or not verdict from a z-score, try the Statistical Significance Calculator.
P-value from a z score or t score
How to use it
- Pick the test type, such as z test or t test.
- Enter the test statistic, and the degrees of freedom for a t test.
- Choose one-tailed or two-tailed.
- Compare the p-value with your alpha level.
More questions
What does p less than 0.05 mean?
The result would be unlikely if the null hypothesis were true, so it is usually called statistically significant at the 5% level.
What is the p-value for a z score of 1.96?
About 0.05 for a two-tailed test.
Should I use a z test or a t test?
Use a t test when the population standard deviation is unknown and you use the sample's. A z test fits when it is known.
Related tools: Z-score Calculator, Confidence Interval Calculator, Standard Deviation Calculator.
Reading a p-value for a z score of 2.33
Choose Z or T, enter the test statistic (and the degrees of freedom for T), pick the tail that matches your hypothesis and read the p-value and the significance message. To see the area under the curve behind a z score, use the Normal Distribution Calculator.
Worked example: a website test gives z = 2.33 and you expected an increase, so you use the right tail. The tool returns p ≈ 0.0099, which is below both 0.05 and 0.01. A two-tailed test on the same z gives p ≈ 0.0198, exactly double.
More answers
Why is the two-tailed p-value double the one-tailed value?
The normal curve is symmetric, so an extreme result in either direction counts. For z = 2.33, the right tail is 0.0099 and the two-tailed value is 0.0198.
Does p = 0.0099 mean a 1% chance the null hypothesis is true?
No. It means that if the null hypothesis were true, a result at least this extreme would turn up about 1% of the time. It does not give the probability that the hypothesis is true.