Underleaf Logo
Underleaf
UniversitiesAccessibilityBlogPricing
Log InTry Free
All tools

Statistics

Statistics

p-Value Calculator

Compute p-values from t-, z-, and chi-square statistics, with significance interpretation in plain language.

Input

Test details

The t, z, or χ² value reported by your statistical software.

For an independent-samples t-test: df = n₁ + n₂ − 2.

Output

p-value

Two-tailed t-test

p
0.0266
p < .05, significant
APA: p = 0.027
LaTeX: $p = 0.027$

p-values are computed using standard analytic CDFs (Abramowitz & Stegun for normal, regularized incomplete beta for t and chi-square). Accurate to ~6 decimals for typical research ranges.

Write up your results in Underleaf

Underleaf is an AI LaTeX editor with inline writing assistance, image-to-LaTeX conversion, and a citation finder. Free to try.

Try Underleaf free

One- vs two-tailed, and which you should use

A two-tailed test asks "is there a difference?" (either direction). A one-tailed test asks "is the value larger / smaller?" (specified direction). Two-tailed is the default in psychology, education, and most social sciences; one- tailed is justifiable only when your hypothesis truly is directional and pre-registered. The convention exists because one-tailed tests halve the p-value, making it easier to find "significance", which is why journals are suspicious of them when used post hoc.

Related tools

Confidence interval calculatorSample size calculatorCSV viewer

Explore More Tools

Image to LaTeX

Convert images of notes, equations, or tables to LaTeX code.

Equation to LaTeX

Convert equations to LaTeX code from text or images.

Table to LaTeX

Convert tables to LaTeX code from text or images.

Excel to LaTeX

Convert Excel spreadsheet data to LaTeX tables.

Try more tools for free

Create an account to unlock all features

More file conversions

AI writing tools

PDF preview

100% free to try

Get started for free
Underleaf Logo
Underleaf

Empowering students and researchers with AI-powered tools for academic writing.

Go to appContact us

Company

PricingBlogTutorialsAffiliate Program

Free Tools

Image to LaTeXExcel to LaTeXArXiv to LaTeXTikZ GeneratorThesis GeneratorChrome ExtensionAll Tools

© 2026 Underleaf. All rights reserved.