Math / calculator

P-Value Calculator

Calculate approximate left, right or two-tailed p-values for an explicitly selected standard normal Z or Student T statistic.

Calculator

Calculator

Calculate a specified Z or T test p-value.

Enter the standardized test statistic, its distribution and the tail. T requires known degrees of freedom; this tool never selects a test from raw data.

Inputs and options

Your result

Enter details to see the result.

Complete the inputs and calculate to see the main result and its supporting breakdown.

Example

Worked example

Example inputs

Test distribution
Standard normal Z
Test statistic
1.96
Alternative hypothesis tail
Two-tailed

Calculation breakdown

Right tail = survival(statistic); left tail = survival(−statistic); two tails = 2×survival(|statistic|).

Distribution and tail
Z / two

Example result

Approximate p-value

0.049995790297

Probability of at least as extreme a statistic under the specified null model; not the probability that the null is true.

How to interpret the result

The p-value lies between zero and one. Two-tailed results include both symmetric extremes, while one-tailed results depend on the sign and selected direction.

How to use this calculator

  1. Choose standard normal Z or Student T as specified by your test.
  2. Enter its statistic and, for T, degrees of freedom.
  3. Select the alternative hypothesis tail and calculate its null-model probability.

How it works

Formula

Right tail = survival(statistic); left tail = survival(−statistic); two tails = 2×survival(|statistic|).

Does a small p-value prove an alternative?

No. It measures how extreme the statistic is under the specified null model and assumptions; it is not the probability either hypothesis is true.

What this calculator does

Convert a supplied Z or T test statistic into a tail probability; choose the test direction before interpreting significance.

Inputs you will need

Some inputs appear only for the operation or shape you select.

Required or selected inputs

  • Test distribution
  • Test statistic
  • Degrees of freedom
  • Alternative hypothesis tail

Assumptions

  • The test statistic already corresponds to the chosen null distribution. T degrees of freedom are entered, not inferred.

Limitations

  • Z statistics are limited to ±12; T to ±1 million with 1–9,999 degrees of freedom. Values are numerical approximations, not test-selection advice.

Useful next steps

For interval estimation around a sample mean, choose Confidence Interval Calculator.

References

NIST: confidence limits, normal and Student t distributions — Mean intervals use population SD with Z, or sample SD with T and n−1 degrees of freedom. P-values require an explicitly chosen distribution and tail. T evaluation uses the DLMF incomplete-beta continued fraction; survey planning uses the normal proportion approximation.

See how HandyChest handles units, validation, rounding, and testing, or Report a problem with this calculator.

Good to know

Frequently asked questions

How should I read the p-value result?

The p-value lies between zero and one. Two-tailed results include both symmetric extremes, while one-tailed results depend on the sign and selected direction.

Keep going