Skip to content
LoveToCalc

Definition — what does that mean?

t-statistic

How far a sample's mean lies from a claimed value, counted in standard errors — the number a t-test is built on.

In Swedish: T-värde

T-statistic

The relation

t=x−μ₀Σ(xi−x)²n−1n

How many standard errors a sample mean sits from a hypothesised mean: the difference between them, divided by the standard error of the mean.

Solve for

Separate the numbers with spaces, commas or semicolons, for example 2.5, 4, 7

t≈1.3229

t equals (5 minus 4) divided by (the square root of (((2 minus 5) squared plus (4 minus 5) squared plus (4 minus 5) squared plus (4 minus 5) squared plus (5 minus 5) squared plus (5 minus 5) squared plus (7 minus 5) squared plus (9 minus 5) squared) divided by (8 minus 1)) divided by the square root of (8)), is approximately 1 divided by (the square root of (((−3) squared plus (−1) squared plus (−1) squared plus (−1) squared plus 0 squared plus 0 squared plus 2 squared plus 4 squared) divided by 7) divided by 2.8284), is approximately 1 divided by (the square root of ((9 plus 1 plus 1 plus 1 plus 0 plus 0 plus 4 plus 16) divided by 7) divided by 2.8284), is approximately 1 divided by (the square root of (32 divided by 7) divided by 2.8284), is approximately 1 divided by (the square root of (4.5714) divided by 2.8284), is approximately 1 divided by (2.1381 divided by 2.8284), is approximately 1 divided by 0.7559, is approximately 1.3229

Working8 steps

The formula

t = (x̄ − μ₀) / (s / √n)

x̄ is the sample mean, μ₀ the value you are testing against, s the sample standard deviation and n the number of observations. The denominator is the standard error.

The sample 2, 4, 4, 4, 5, 5, 7, 9 against μ₀ = 4: x̄ = 5, SE ≈ 0.7559, so t = (5 − 4) / 0.7559 ≈ 1.323.

The calculator takes the list and the claimed value and does the rest.

Reading the answer

Compare |t| with the critical value in the t-table, at n − 1 degrees of freedom. For a two-sided test at the 5% level, look in the 0.025 column: with 7 degrees of freedom that is 2.365.

μ₀ t Beyond 2.365?
4 1.323 No — 4 cannot be rejected at the 5% level
3 2.646 Yes — reject μ₀ = 3 at the 5% level
6 −1.323 No

The sign only says which side the sample landed on; a two-sided test looks at the size.

Why t and not z

With the population’s standard deviation known, the same ratio would be a z-value read from the normal table. Using s estimated from the sample adds uncertainty, and the t-distribution’s fatter tails account for it. With 7 degrees of freedom the critical value is 2.365 instead of 1.96; by around 30 the two tables nearly agree.

Common mistakes

Questions people ask

Does the data have to be normally distributed? Roughly, for small samples. With larger ones the mean is close to normal anyway and the test holds up well.

How is it related to a confidence interval? μ₀ lies outside the 95% confidence interval exactly when the two-sided test rejects it at 5%.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
tx−μ₀Σ(xi−x)²n−1n5−4(2−5)²+(4−5)²+(4−5)²+(4−5)²+(5−5)²+(5−5)²+(7−5)²+(9−5)²8−181.3229
μ₀x−t·Σ(xi−x)²n−1n5−1.3229·(2−5)²+(4−5)²+(4−5)²+(4−5)²+(5−5)²+(5−5)²+(7−5)²+(9−5)²8−184

t-table

Table

t-table
df0.10.050.0250.010.005
13.0786.31412.70631.82163.657
21.8862.9204.3036.9659.925
31.6382.3533.1824.5415.841
41.5332.1322.7763.7474.604
51.4762.0152.5713.3654.032
61.4401.9432.4473.1433.707
71.4151.8952.3652.9983.499
81.3971.8602.3062.8963.355
91.3831.8332.2622.8213.250
101.3721.8122.2282.7643.169
111.3631.7962.2012.7183.106
121.3561.7822.1792.6813.055
131.3501.7712.1602.6503.012
141.3451.7612.1452.6242.977
151.3411.7532.1312.6022.947
161.3371.7462.1202.5832.921
171.3331.7402.1102.5672.898
181.3301.7342.1012.5522.878
191.3281.7292.0932.5392.861
201.3251.7252.0862.5282.845
211.3231.7212.0802.5182.831
221.3211.7172.0742.5082.819
231.3191.7142.0692.5002.807
241.3181.7112.0642.4922.797
251.3161.7082.0602.4852.787
261.3151.7062.0562.4792.779
271.3141.7032.0522.4732.771
281.3131.7012.0482.4672.763
291.3111.6992.0452.4622.756
301.3101.6972.0422.4572.750
401.3031.6842.0212.4232.704
501.2991.6762.0092.4032.678
601.2961.6712.0002.3902.660
801.2921.6641.9902.3742.639
1001.2901.6601.9842.3642.626
1201.2891.6581.9802.3582.617
∞1.2821.6451.9602.3262.576

Last reviewed October 6, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.