T-Test Calculator

This calculator runs the three standard t-tests used to compare two sets of sample data and decide whether the difference between their means is statistically meaningful, the same three tests found in the Excel Data Analysis Toolpak. You enter your figures into the Data 1 and Data 2 boxes, one value per line, and the results update automatically and appear side by side in three tables: Paired Two-Sample for Means, for matched or repeated measurements, which needs equal-sized data sets, Two-Sample Assuming Unequal Variances (Welch's t-test), and Two-Sample Assuming Equal Variances, a pooled-variance test. Each table shows the mean, variance and number of observations for both variables, plus the degrees of freedom, the t Stat, and the one-tail and two-tail p-values and critical t-values, so you can see straightaway whether your result clears the common 0.05 significance level. The paired test also reports the Pearson correlation between the two data sets, and the equal-variances test reports the pooled variance used in its workings. Use the Reset button to clear both boxes and start again. This suits students, researchers and anyone checking survey, experiment or before-and-after results for a genuine difference rather than random variation. As with any statistical test, the result is only as reliable as the data you enter, so check your sample sizes and assumptions before drawing conclusions from the output.

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: Health Based Building

Data 1

Data 2

t-Test: Paired Two Sample for Means

Variable 1Variable 2
Mean
Variance
Observations
Pearson Correlation
Hypothesized Mean Difference0
Degrees of Freedom
t Stat
P(T<=t) one-tail
t Critical one-tail
P(T<=t) two-tail
t Critical two-tail

t-Test: Two-Sample Assuming Unequal Variances

Variable 1Variable 2
Mean
Variance
Observations
Hypothesized Mean Difference0
Degrees of Freedom
t Stat
P(T<=t) one-tail
t Critical one-tail
P(T<=t) two-tail
t Critical two-tail
 

t-Test: Two-Sample Assuming Equal Variances

Variable 1Variable 2
Mean
Variance
Observations
Pooled Variance
Hypothesized Mean Difference0
Degrees of Freedom
t Stat
P(T<=t) one-tail
t Critical one-tail
P(T<=t) two-tail
t Critical two-tail

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.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

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 · Privacy policy · Terms of use

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

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.