Skip to main content

Hypothesis tests & p-values

P-value Calculator

Find p-value from z-score or z-score from p-value. Left-, right-, two-tailed. Significance level α, reject or fail to reject null hypothesis. Interactive normal curve.

Significance Lab

Choose input mode, set the test statistic or P-value, significance level (α), and tail type. The dashboard shows the result and decision.

5%

Rejection region threshold. Common: 0.05 (5%).

Left: P(X < z). Right: P(X > z). Two: 2×P(X > |z|). Center: area between 0 and z.

Result

Enter Z-score or P-value to see results

Use the controls on the left to set test parameters.

Using the P-value Calculator (Significance Lab)

Use the controls on the left to set your Z-score or P-value, significance level (α), and tail type. The result card and normal curve update in real time. For the meaning of the null hypothesis, α, and the formulas, see the article below.

At a glance

Two modes

You can either enter a Z-score and get the p-value, or enter a p-value and get the corresponding Z-score for the tail you choose. Switch between the two with the input mode toggle.

α and decision

Set your significance level (α), often 0.05. The result card shows a decision badge. Reject or Fail to reject the null hypothesis, and the Logic Trace displays the exact formula used.

Tail type

Choose left-tailed for P(X < z), right-tailed for P(X > z), or two-tailed for 2×P(X > ∣z∣). The Center (0 to Z) option shows the area between 0 and z, which matches many z-tables but is not used for hypothesis test decisions.

Curve and hover

On the graph, the shaded region is the p-value. Red dashed lines mark your Z (and in two-tailed mode, the negative of ∣z∣). Hovering over the curve shows the current z and its cumulative probability Φ(z), or in Center mode the area from 0 to that z.

P-value Calculator: Z-Score to P-Value & Significance

Free p-value calculator: convert z-score to p-value or p-value to z-score. Left-tailed, right-tailed, and two-tailed formulas. Significance level and null hypothesis explained. Interactive normal curve, all calculations local.

What This Calculator Does and Who It’s For

This p-value calculator converts between Z-scores and p-values using the standard normal distribution. Enter a Z-score to get the corresponding p-value for a left-, right-, or two-tailed test, or enter a p-value to get the Z-score. Set the significance level (α) and see immediately whether to reject or fail to reject the null hypothesis. The graph shades the tail area that equals the p-value and shows a Logic Trace with the exact formula, so you can find p-value from z-score (or the reverse) and understand how it’s derived.
  • Who it’s for
    Students working on hypothesis tests or normal distribution problems; researchers checking statistical significance; anyone who needs a normal distribution probability calculator or the two-tailed p-value formula with a clear visual and step-by-step formula.
  • Trust and scope
    Calculations use the standard normal CDF (error function). All processing is done in your browser; no data is sent to any server. For hypothesis testing, use the tail or two-tailed modes; the Center (0 to Z) mode is for the area from 0 to z, as in many z-tables.

How to Use This Calculator

Toggle the input mode to choose whether you are entering a Z-score (to find the p-value) or a p-value (to find the corresponding Z-score). Type your value into the input field. Set the significance level α, 0.05 is the most common threshold, to define the boundary for rejecting the null hypothesis. Select a tail type: Left-tailed for testing whether a value is significantly below a reference, Right-tailed for significantly above, or Two-tailed for significantly different in either direction. The Center (0 to Z) option shows the area between 0 and z, matching how many textbook z-tables are organized, but it is not used for hypothesis-test decisions. The result card displays the computed value, a Reject or Fail to Reject decision badge, and the shaded tail area on the interactive normal curve. The Logic Trace shows the exact CDF formula and substitution.

The Null Hypothesis and What the P-Value Means

In hypothesis testing, the null hypothesis (H₀) is the default (e.g. no effect, no difference). The p-value is the probability, if H₀ were true, of getting a result as extreme as (or more extreme than) what you observed. A small p-value suggests the data are unlikely under H₀, so you reject the null hypothesis. A large p-value means you do not have enough evidence to reject H₀. The calculator gives you the p-value from your Z-score (or the Z from a p-value) and a clear decision: reject when p ≤ α, fail to reject when p > α. Understanding what it means to reject the null hypothesis is essential for interpreting significance in tests and reports.

Significance Level (α) and the Rejection Region

The significance level α (often 0.05) is the threshold you choose for rejecting the null hypothesis. If p ≤ α, you reject H₀; if p > α, you fail to reject. So α is the largest p-value you will treat as “significant.” Choosing α = 0.05 means you accept up to a 5% chance of a Type I error (rejecting a true null). This calculator lets you set α from 0.01 to 0.10 and shows whether your result is significant at that level, giving a practical view of p-value and significance level together.

How to Find P-Value from Z-Score: Left-, Right-, and Two-Tailed Formulas

The standard normal CDF, Φ(z), gives P(X ≤ z). To find p-value from z-score (or convert z-score to p-value) you use the tail you care about. Left-tailed:
P = Φ(z)
Right-tailed:
P = 1 − Φ(z)
Two-tailed:
P = 2 × (1 − Φ(|z|))
The two-tailed p-value formula doubles the area in one tail beyond |z|, so you get the probability of a result that extreme in either direction. This tool uses the error function to compute Φ(z) to high precision and shades the matching region on the curve. The Logic Trace shows the formula with your numbers, and you can hover over the curve to see Φ(z) or the center area (0 to z) in Center mode, matching how values are often presented in standard normal distribution tables.

Using the Normal Curve and Choosing Left-, Right-, or Two-Tailed

The interactive curve shows the standard normal distribution. The shaded area is the probability (p-value or center area) you are computing. For a left-tailed test, the shaded region is to the left of your Z; for a right-tailed test, to the right; for a two-tailed test, both tails beyond ±|z|. Choosing the correct tail is important: it depends on your alternative hypothesis (e.g. “greater than” → right-tailed; “different from” → two-tailed). The red dashed line(s) mark your Z (and −|z| in two-tailed mode), and the decision badge reflects whether p ≤ α. Use this p-value calculator to check homework, verify significance for a test statistic, or explore how p-values change with Z and α, all with a clear, visual link between the number and the area under the curve.

P-value Calculator FAQ

What is a significant p-value?

A p-value is significant when p ≤ α (your chosen significance level, often 0.05). Then you reject the null hypothesis. If p > α, you fail to reject, there is not enough evidence against the null. This tool shows the decision and shades the tail area on the normal curve so you see exactly what probability you are interpreting.

How do you calculate a two-tailed p-value?

For a two-tailed test the p-value is the probability of a result as extreme as yours in either direction:
P = 2 × (1 − Φ(|z|))
where Φ is the standard normal CDF. You double the area in one tail beyond |z|. Choose "Two-tailed" and enter your Z-score; the calculator shades both tails and displays the result to 6 decimals.

What does it mean to reject the null hypothesis?

To reject the null hypothesis means your data are unlikely if the null were true, so you conclude evidence against it. You decide by comparing p to α: reject when p ≤ α, otherwise fail to reject. The calculator shows a clear decision badge and a Logic Trace with the exact formula used, so you can tie the number to the standard p-value significance level rule.

How to find p-value from z-score?

Using the standard normal CDF Φ(z): Left-tailed
P = Φ(z)
Right-tailed
P = 1 − Φ(z)
Two-tailed
P = 2 × (1 − Φ(|z|))
This p-value calculator computes Φ(z) via the error function and lets you choose tail type; the shaded area on the curve matches the formula. You can also enter a p-value to get the corresponding Z-score.

When should I use a left-tailed vs right-tailed vs two-tailed test?

Use a left-tailed test when you care only about results below a value (e.g. "less than"). Right-tailed when you care only about results above a value (e.g. "greater than"). Two-tailed when you care about a difference in either direction (e.g. "not equal to"). The choice changes which tail area the p-value represents; this calculator supports all three and shows the correct shaded region and formula in the Logic Trace.

Mathematical Reference Note

Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.

Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.

Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.

© 2026 CalcRegistry Reference Last System Check: May 2026Free Online Utility Tools