How this p-value calculator works
This calculator turns a z-score or a t-statistic into lower-tail, upper-tail, and two-tailed p-values. The default is Z-score. The headline is the two-tailed p-value — the usual question — with a compact format for very small values. Details also show both one-sided tails and the statistic you entered.
Empty on a required field is no result. Typed 0 for z is valid (two-tailed p = 1). In t-statistic mode you also need degrees of freedom as a whole number greater than 0. Advanced options currently has no extra controls — only the note Reserved for future tail-direction options. Closing that section does not change the result.
How to use the p-value calculator
- Choose Z-score (default) or t-statistic.
- Enter a z-score, or a t-statistic plus integer degrees of freedom greater than 0. Empty is no result.
- Read two-tailed p in the headline, plus lower-tail p, upper-tail p, and the statistic. t mode also shows df.
- Advanced options can be opened, but it only shows Reserved for future tail-direction options. Closing it does not hide the p-values.
Advanced options, and closing them
This section is empty of extra inputs. It only shows Reserved for future tail-direction options. Lower-tail, upper-tail, and two-tailed p-values do not wait on Advanced. Closing the section does not change the live result.
P-value formulas
Let F be the CDF of the chosen distribution (standard normal for z, Student’s t for t). Lower-tail p = F(s). Upper-tail p = 1 − F(s). Two-tailed p = 2 × min(F(s), 1 − F(s)). For the t distribution, very large degrees of freedom use the normal approximation. Extremely small p displays as < 1e-12.
Worked examples
Example: z = 1.96
The standard-normal CDF at 1.96 is about 0.975. Lower-tail p ≈ 0.975, upper-tail p ≈ 0.025, two-tailed p ≈ 0.050, which is the headline. That matches the usual 5% two-sided cut-off.
Example: z = 0
Typed 0 is valid. Both tails are 0.5, so two-tailed p = 1. Empty z is no result.
Example: t = 2.04, df = 30
t-statistic mode needs both the statistic and a whole-number df greater than 0. Two-tailed p is just under 0.05 — close to the two-sided 5% Student’s t cut-off for 30 degrees of freedom. A non-integer or empty df is no result. Closing Advanced options does not change these p-values.
Things to keep in mind
The headline is two-tailed, not one-tailed. This page does not decide significance for you; compare p with your own α. Completed results can be saved in this browser’s local history.
P-value calculator FAQ
Which fields are required?
A z-score in Z-score mode. In t-statistic mode, a t-statistic and integer degrees of freedom greater than 0. Empty is no result. Typed 0 for z is valid. Default mode is Z-score. Advanced options is optional and currently unused.
What happens when I close Advanced options?
Nothing in the result changes. The section only shows Reserved for future tail-direction options. Lower-tail, upper-tail, and two-tailed p stay visible.
Is the headline one-tailed or two-tailed?
Two-tailed. It is twice the smaller tail. Lower-tail p and upper-tail p are always in the details.
Why does a tiny p show as < 1e-12?
p-values can be extremely small. When the computed value is 0 within the formatter’s window, the widget displays < 1e-12 instead of 0.
Does t mode use a normal approximation?
Student’s t CDF is used. For very large degrees of freedom the implementation falls back to the normal approximation, as the disclaimer states.
Does this p-value calculator store my numbers?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.