P-Value Calculator

The p-value is the number at the heart of almost every hypothesis test, and this calculator turns a test statistic into one in an instant for the four distributions you meet most: the standard normal (z), Student's t, chi-square, and F. Run a test by hand or in software and you end up with a statistic, a z of 1.96, a t with some degrees of freedom, a chi-square value, or an F ratio, and what you actually need to report and interpret is the p-value behind it. Choose the distribution, type in the statistic and the degrees of freedom where they apply, pick a one or two-tailed test for z and t, and the calculator returns the exact p-value along with a plain-language verdict on significance at the usual thresholds. A p-value is the probability of seeing a result at least as extreme as yours if the null hypothesis were true, so a small value, conventionally below 0.05, is taken as evidence against the null. The calculator uses accurate numerical methods, the incomplete beta and gamma functions, rather than a printed table, so you get a precise figure for any statistic and any degrees of freedom instead of rounding to the nearest row. That makes it genuinely useful for statistics students checking assignments, for researchers and analysts reporting results, and for anyone who has a test statistic from a textbook, a stats package or a spreadsheet and simply needs the corresponding probability. Remember that a p-value is only part of the story: it tells you about statistical significance, not the size or importance of an effect, so read it alongside effect size, confidence intervals and good study design. The distributions and a worked example are explained clearly below.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner
0
p-value
 

How it works

For a z or t statistic the calculator finds the area in the tail (or both tails) beyond your value. For chi-square and F, which are one-sided, it finds the upper-tail probability. These tail areas are computed from the normal, t, chi-square and F distributions using the incomplete gamma and beta functions, giving an exact p-value for any degrees of freedom.

Worked example

A two-tailed z-test gives a statistic of 1.96. The area beyond 1.96 in one tail of the standard normal is about 0.025, so the two-tailed p-value is about 0.05, right on the usual significance threshold. A t of 1.96 with few degrees of freedom would give a slightly larger p-value.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About

Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2019 to 2026 Calculate.co.nz. All rights reserved.