Loading…

Hypothesis Test P Value Calculator

Math Probability • Statistical Inference and Hypothesis Testing

View all topics

Compute p-values for z-tests and t-tests (one- or two-tailed) from a test statistic (and optionally show the data-based test statistic for a one-sample mean test). Includes tail-shaded curve animation and an \(\alpha\) decision.


Optional: compute the test statistic from one-sample mean data: \(z=\frac{\bar x-\mu_0}{\sigma/\sqrt{n}}\) (known \(\sigma\)), \(t=\frac{\bar x-\mu_0}{s/\sqrt{n}}\) (unknown \(\sigma\)). If you fill these, click “Compute stat” to populate the statistic field.

Ready

Tail area visualization (animated)

Animation ready

The shaded region equals the p-value for the selected alternative. The statistic value is labeled on the x-axis, and the p-value is shown inside the plot box.

Choose z or t, set the alternative, then click “Calculate p-value”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.