P-value Calculator

Compute one-tailed or two-tailed p-values for Z, t, χ², and F test statistics.
Inputs
Type of p-value
Results
p-value
CDF value F(x)
Decision (vs α)
Distribution used
Step-by-step derivation
  1. Select distribution Z (Normal) and tail two-tailed.
  2. Evaluate the cumulative probability at score , giving .
  3. Apply the selected tail rule: p = 2 × min(F, 1 − F).
  4. Compare p with α = 0.05 to determine statistical significance.
References
  • Normal CDF: Φ(z) = 0.5 × [1 + erf(z / √2)]
  • t CDF via the regularized incomplete beta function
  • χ² CDF via the regularized lower incomplete gamma function
  • F CDF via the regularized incomplete beta function

Use this P-Value Calculator to convert an already-calculated Z, t, chi-square, or F test statistic into a left-tailed, right-tailed, or supported two-tailed p-value.

Calculation Method

The calculator first evaluates the cumulative distribution function for the selected distribution.

For a cumulative probability F(x):

Left-tailed p-value = F(x)

Right-tailed p-value = 1 − F(x)

For symmetric Z and t distributions, a two-tailed p-value can be calculated as:

p = 2 × min[F(x), 1 − F(x)]

Example

For a z-score of 2.00 with a two-tailed alternative:

The upper-tail probability is approximately:

0.02275

Therefore:

p ≈ 2 × 0.02275 = 0.0455

At α = 0.05, this result would be statistically significant because 0.0455 < 0.05.

Important Note

A p-value is calculated assuming the null hypothesis and statistical model are correct. It is not the probability that the null hypothesis is true and does not measure effect size or practical importance.

Select the distribution, degrees of freedom, and tail direction that match the original statistical test. Two-tailed interpretation for chi-square and F distributions is test-specific and may not follow the same convention as symmetric Z or t tests.

Sources

View Sponsored Offers →

Related Tools

Margin of Error Calculator

Use our Margin of Error Calculator to find margin of error for a mean or proportion from sample size, confidence level, and z value.

Confidence Interval Calculator

Use our Confidence Interval Calculator to find confidence intervals for a mean or proportion with standard error, critical value, margin of error, and lower and upper bounds.

IQR (Interquartile Range) Calculator

Use our IQR Calculator(Interquartile Range) to find Q1, Q3, median, and interquartile range from a data set. Supports raw numbers, value:count input, and two quartile methods.

Percentile Calculator

Use our Percentile Calculator to find percentile values from a data set with nearest rank or linear interpolation. Supports raw numbers and value:count input.

IQ PERCENTILE CALCULATOR

Use our IQ Percentile Calculator to convert an IQ score into percentile rank, percent above, and percent below using SD 15 or SD 16 normal-distribution scales.

Z-test Calculator

Use our Z-Test Calculator to compute z statistic, p-value, standard error, and critical z for one-sample or two-sample mean tests when sigma is known.

Outlier Calculator (Tukey Fences)

Use our Outlier Calculator to find low and high outliers with Tukey fences and the IQR method. Get Q1, Q3, IQR, fences, counts, and sorted data fast.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.

Sample Size Calculator

Use our Sample Size Calculator to estimate sample size for a mean or proportion from confidence level, margin of error, and optional finite population correction.