Skip to content

T-Test Calculator

Statistics
0.0(0)

Performs a t-test (one-sample, two-sample, or paired) to compare means and determine statistical significance.

How To Use

How to use this calculator

Start with your values, or try a preset.

Step 1

Enter Type of T-Test, Sample Mean, Population Mean (for one-sample), Sample Standard Deviation, Sample Size, Second Sample Mean (for two-sample), Second Sample Standard Deviation (for two-sample), Second Sample Size (for two-sample), and Significance Level (alpha) in the units shown.

Step 2

Read Degrees of Freedom (Two-Sample), Degrees of Freedom (One-Sample), Standard Error, Degrees of Freedom, T-Statistic (Two-Sample), T-Statistic (One-Sample), T-Statistic, P-Value (Approximation - Use a proper statistical library for precise values), and Reject Null Hypothesis? in the results panel. Results update as you change the inputs.

Step 3

Choose a preset to load an example, then adjust the values for your situation.

Worked Examples

Example calculations

See the inputs and their calculated results.

One-Sample Example 1

Type of T-Test: One-Sample T-Test; Sample Mean: 12; Population Mean (for one-sample): 10; Sample Standard Deviation: 2.5; Sample Size: 30; Second Sample Mean (for two-sample): 12; Second Sample Standard Deviation (for two-sample): 2.5; Second Sample Size (for two-sample): 25; Significance Level (alpha): 0.05

Degrees of Freedom (Two-Sample): 0; Degrees of Freedom (One-Sample): 29; Standard Error: 0.4564354646; Degrees of Freedom: 29; T-Statistic (Two-Sample): 0; T-Statistic (One-Sample): 4.38178046; T-Statistic: 4.38178046; P-Value (Approximation - Use a proper statistical library for precise values): 0.9999984016; Reject Null Hypothesis?: No

One-Sample Example 2

Type of T-Test: One-Sample T-Test; Sample Mean: 25; Population Mean (for one-sample): 20; Sample Standard Deviation: 5; Sample Size: 50; Second Sample Mean (for two-sample): 12; Second Sample Standard Deviation (for two-sample): 2.5; Second Sample Size (for two-sample): 25; Significance Level (alpha): 0.01

Degrees of Freedom (Two-Sample): 0; Degrees of Freedom (One-Sample): 49; Standard Error: 0.7071067812; Degrees of Freedom: 49; T-Statistic (Two-Sample): 0; T-Statistic (One-Sample): 7.071067812; T-Statistic: 7.071067812; P-Value (Approximation - Use a proper statistical library for precise values): 0.9999999461; Reject Null Hypothesis?: No

Two-Sample Example 1

Type of T-Test: Two-Sample T-Test (Independent); Sample Mean: 15; Population Mean (for one-sample): 0; Sample Standard Deviation: 3; Sample Size: 40; Second Sample Mean (for two-sample): 13; Second Sample Standard Deviation (for two-sample): 3.5; Second Sample Size (for two-sample): 45; Significance Level (alpha): 0.05

Degrees of Freedom (Two-Sample): 82.89963814; Degrees of Freedom (One-Sample): 0; Standard Error: 0.70513986; Degrees of Freedom: 82.89963814; T-Statistic (Two-Sample): 2.836316755; T-Statistic (One-Sample): 0; T-Statistic: 2.836316755; P-Value (Approximation - Use a proper statistical library for precise values): 1; Reject Null Hypothesis?: No

Explore the topic

Explore More Math & Statistics Calculators

Use calculators for algebra, geometry, trigonometry, probability, statistics, averages, z-scores, tests, and graphing tasks.

Explore tools
People Also Calculate

Related Calculators

Continue with another tool on a related topic.