P-Value Calculator
Convert z, t, chi-square or F into a p-value, with the tail convention named for each distribution.
P-Value Calculator
Convert z, t, chi-square or F into a p-value, with the tail convention named for each distribution.
What the page prints, and what it refuses
Every figure is printed with the rule or formula that produced it, and any numerical tolerance is stated on the result rather than implied. The page refuses an input the formula does not define and names the value it read; it prints no answer it cannot support.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page turns a test statistic into a p-value for four reference distributions. A t of 2.5 with 10 degrees of freedom gives a two-tailed p of 0.0314; a chi-square or F statistic is read in its upper tail instead, and the page says which convention it used.
The tails come from the incomplete beta and incomplete gamma functions, evaluated to about 3e-14 relative accuracy. No table is interpolated, so a statistic between printed table values gets its own answer.
Which tail belongs to which statistic
A normal or t statistic is usually two-tailed, because the alternative can lie on either side. A chi-square or F statistic is non-negative and its test is one-sided by construction, so its p-value is the upper-tail probability.
The page prints the convention on the result rather than leaving it to the reader: a two-tailed t and an upper-tail F are not interchangeable, and mixing them is the usual error.
How to use P-Value Calculator
Enter the statistic, choose the distribution, and fill the degrees of freedom it needs.
Press Run. The result prints the p-value, the statistic, the degrees of freedom and the tail convention.
What to Expect
Best for
- Converting a test statistic into a p-value
- Checking a reported p against its statistic
- Working between printed table values
Not ideal for
- Computing the statistic from raw data, which the specific test pages do
- A one-tailed normal or t test, which needs a direction
- A statistic with a non-central distribution
What this tool keeps
- The statistic and every degree of freedom
What may need cleanup
- Nothing: the p-value is a final number
Common errors
- A negative chi-square or F statistic is refused
- A non-positive df is refused by name
Example use cases
- Convert t = 2.5, df = 10
- Check a chi-square p
- Compare an F and a t result
Sample input
statistic = 2.5, t, df = 10
Sample output
two-tailed p = 0.0314
Who this is for
- Statistics students
- Researchers checking a reported p
Frequently asked questions
Why is the t p-value two-tailed?
That is the usual convention for a t statistic and the one the page prints. A one-tailed test needs a direction, which this page does not ask for.
What degrees of freedom does an F test need?
Two: the numerator df₁ and the denominator df₂. The page reads both when F is selected and ignores them for the normal.
Is a p-value below 0.0001 printed as zero?
No. It prints < 0.0001, because a p-value of zero would claim an impossibility the arithmetic cannot establish.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.