P-value Calculator

Two-sided p-value

0.04999579

Test statistic

1.96

All results
Calculator inputs
?

Invert a chosen tail probability to find a cutoff. Two-sided inversion returns the magnitude of the cutoff.

?

Use the null distribution specified by the test. Student t also needs degrees of freedom.

?

The signed z or t statistic from your test. Enter a negative value for a result below the null reference.

?

Choose the alternative specified by the test design. For these symmetric continuous distributions, two-sided p is twice the tail above the absolute statistic.

Area in both tails
−4.004.0

Shading shows the selected region within the plotted range. The result integrates the full region.

Probability in each tail calculation

The left and right areas sum to one. The two-sided calculation doubles the smaller tail.

Left-tail probability0.98
Right-tail probability0.02
Two-sided probability0.05

Compare one-sided and two-sided results

Compare one-sided and two-sided results
Tail calculationProbability
Left-tail probability0.975002104852
Right-tail probability0.024997895148
Two-sided probability0.049995790296

How to use the P-value Calculator

Find one-sided or two-sided p-values and critical statistics for standard normal z or Student t. Compare the left, right and two tails.

  1. 1. Enter your inputs

    Start with Find, Reference distribution, Test statistic, Alternative hypothesis. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Two-sided p-value, Test statistic. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Standard normal and Student t null distributions. These calculations use a supplied statistic and do not estimate effects or correct for multiple comparisons.

    See the worked example and method

Understanding the P-value Calculator: uses, inputs and results

The P-value Calculator connects a test statistic with a normal or Student t tail probability under the selected hypothesis convention.

Which tail matches the alternative hypothesis?

For a greater-than alternative, use the right tail. For a less-than alternative, use the left tail. For a two-sided alternative under these symmetric models, count results at least as far from zero in either direction.

With z = 2, the right-tail p-value is about 0.0227501 and the two-sided value is about 0.0455003. The left tail includes almost the whole curve.

How do z and Student t differ?

Choose the distribution used to compute your test statistic. Student t needs degrees of freedom and has heavier tails at small df. With t = 2 and 10 degrees of freedom, the two-sided probability is about 0.073388.

For a one-sample t-test the usual df is n − 1. Other tests can use a different formula. Match the df to your test.

Further reading: American Statistical Association: interpreting p-values

What do the P-value Calculator inputs mean?

Find
Invert a chosen tail probability to find a cutoff. Two-sided inversion returns the magnitude of the cutoff.
Reference distribution
Use the null distribution specified by the test. Student t also needs degrees of freedom.
Test statistic
The signed z or t statistic from your test. Enter a negative value for a result below the null reference. This field applies when Find is set to P-value from test statistic.
Target p-value
Decimal probability. Use 0.05 for 5%. Only two-sided inversion accepts 1, which gives a cutoff of zero. This field applies when Find is set to Test statistic from p-value.
Degrees of freedom (Student t)
Positive whole degrees of freedom used by your Student t procedure, such as n − 1 for a one-sample t-test. This field applies when Reference distribution is set to Student t.
Alternative hypothesis
Choose the alternative specified by the test design. For these symmetric continuous distributions, two-sided p is twice the tail above the absolute statistic.

When is the P-value Calculator useful?

Check a hypothesis-test calculation

Enter the statistic, distribution and relevant degrees of freedom to calculate the selected tail probability.

Compare alternatives

Distinguish one-sided and two-sided tests. A p-value does not state the probability that a hypothesis is true.

P-value Calculator: a practical reference

The fixed “Normal two-sided” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Find
P-value from test statistic
Reference distribution
Standard normal z
Test statistic
1.96
Two-sided p-value
0.04999579
Test statistic
1.96
Review the example inputs and calculation

Use the result in context

Standard normal and Student t null distributions. These calculations use a supplied statistic and do not estimate effects or correct for multiple comparisons.

Try the P-value Calculator·Read the subject guide·Explore a related calculator

Worked example: P-value Calculator

Normal two-sided. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Find
P-value from test statistic
Reference distribution
Standard normal z
Test statistic
1.96
Alternative hypothesis
Two-sided
Calculated results for the fixed example
Calculated quantityExample result
Two-sided p-value0.04999579
Test statistic1.96

Match a p-value to the statistic, distribution and alternative

Which tail matches the alternative hypothesis?

For a greater-than alternative, use the right tail. For a less-than alternative, use the left tail. For a two-sided alternative under these symmetric models, count results at least as far from zero in either direction.

With z = 2, the right-tail p-value is about 0.0227501 and the two-sided value is about 0.0455003. The left tail includes almost the whole curve.

How do z and Student t differ?

Choose the distribution used to compute your test statistic. Student t needs degrees of freedom and has heavier tails at small df. With t = 2 and 10 degrees of freedom, the two-sided probability is about 0.073388.

For a one-sample t-test the usual df is n − 1. Other tests can use a different formula. Match the df to your test.

Find the critical statistic for a target probability

For a two-sided normal probability of 0.05, the cutoff magnitude is about 1.95996. The rejection boundaries for that rule are ±1.95996. A left-tailed probability of 0.025 instead gives the single negative cutoff.

The inverse uses the same selected distribution as the forward calculation. Check the displayed tail probability when using an inverted result in a worked example.

Read the shaded area and tail table together

Shading shows the selected region within a bounded view of the density curve. The number uses the full theoretical region. A small tail can be too thin to see clearly, so read the numeric result for extreme statistics.

The comparison table reports all three tail calculations for the same statistic. In a two-sided test, doubling the smaller tail accounts for both directions.

Interpret evidence in the context of the test

A p-value measures tail probability under the specified null model. Report it alongside the effect estimate, its uncertainty and the study design. A small probability can occur with a small effect measured precisely, especially in a large sample.

Choose the alternative and any decision threshold as part of the analysis plan. Repeated testing and selective reporting affect how the evidence should be read.

American Statistical Association: interpreting p-values

Formula and calculation method

Right-tail p = P(T ≥ observed). Left-tail p = P(T ≤ observed). Two-sided p = 2P(T ≥ |observed|) for a symmetric null distribution.

Interpret p in the context of the test assumptions, effect estimate and study design.

Scope and Limitations

  • Standard normal and Student t null distributions. These calculations use a supplied statistic and do not estimate effects or correct for multiple comparisons.

Reference Sources

Frequently asked questions

Does a p-value give the probability that the null is true?

No. It gives an area under the null distribution, conditional on the test model.

Can two-sided p be greater than one?

No. It doubles the smaller tail, whose area is at most one half.

Why can the same numerical statistic give different p-values?

The null distribution, degrees of freedom and chosen tail determine the probability.

Can the calculator derive t from raw measurements?

This tool uses a supplied statistic. Compute the test statistic and degrees of freedom for your study first.