P-Value from Z-Score Calculator
Convert a z-score into a p-value.
Result
How it is calculated
Enter a z statistic from your test. The tool works only with its size, |z|, so the sign does not change the answer:
one-tailed p = 1 − Φ(|z|) and two-tailed p = 2 × (1 − Φ(|z|))
Φ is the cumulative distribution function of the standard normal distribution, computed through a polynomial approximation of the error function, accurate to roughly six or seven decimals, which is far finer than the four decimals shown. The one-tailed value is the area in a single tail, so it applies when you predicted the direction in advance. The label "Significant" appears when the two-tailed p is below 0.05; this is a fixed threshold, not one you can change.
Worked example
A z-test gives z = −2.5. Only 2.5 matters. The area beyond 2.5 in one tail of the normal curve is 0.0062, so the one-tailed p-value is 0.0062. Doubling it for both tails gives a two-tailed p-value of 0.0124. Since 0.0124 is below 0.05, the tool labels the result Significant. For comparison, z = 1.5 has a two-tailed p of 0.1336 and is labelled Not significant.
Common mistakes
- Using the one-tailed value for a test that could have gone either way. For a two-sided hypothesis you need the two-tailed p.
- Entering a t statistic from a small sample. This tool uses the normal distribution, so with few observations the true p-value is larger.
- Expecting the sign of z to matter. A z of −2.5 and +2.5 give the same p-values here, so the tool cannot tell you which tail you are in.
- Treating the p-value as the probability that the null hypothesis is true. It is the chance of a result this extreme if the null were true.
- Treating the fixed 0.05 label as a rule. A different alpha, such as 0.01, needs you to compare the p-value yourself.
Sources
- Handbook of Mathematical Functions, page 299: formula 7.1.26 (rational approximation of the error function) — Abramowitz and Stegun, National Bureau of Standards Applied Mathematics Series 55, 1964 (page scan hosted by UBC)
About this calculator
This calculator converts a z-score into a p-value using the cumulative distribution function of the standard normal distribution. The one-tailed p-value is the probability of observing a value at least as extreme as the z-score in one direction (Φ(−|z|)), while the two-tailed p-value doubles that to account for extremes in either direction — the value most commonly compared against a significance threshold like α = 0.05.
Researchers, statisticians, and students use this conversion as the final step of a hypothesis test: after computing a test statistic (from a z-test, a large-sample proportion test, etc.), the z-score is translated into a p-value to decide whether to reject the null hypothesis. A p-value below the chosen significance level indicates the observed result would be unlikely under the null hypothesis, and is conventionally treated as statistically significant.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Watch the rounding near the threshold. A z of 1.96 shows a two-tailed p of 0.0500 and is still labelled Significant, because the underlying value is just under 0.05 and the display rounds to four decimals. Very large z values show as 0.0000, which means smaller than the display can show, not exactly zero. Which kind of test produced the z you are converting?