ToollyX
no sign-up ยท instant ยท free

Advanced Statistics Calculator

Correlation and linear regression, confidence intervals, and one- or two-sample t-tests with exact p-values โ€” the inferential statistics a plain mean and standard deviation can't answer.

Modes3 Modes
IncludesRegression, CI, t-Test
EngineExact t-Dist.
CostFree, No Signup
728 ร— 90 โ€” Leaderboard Ad
๐Ÿ“ˆAdvanced Statistics
X, Y Pairs (One Per Line)6 pairs

Each line is one (x, y) point โ€” hours studied and test score, ad spend and sales, etc.

Pearson Correlation (r)
0.9905
Very strong positive correlation
Rยฒ (Variance Explained)
98.10%
Slope (m)
1.9429
Intercept (b)
0.8667
Count (n)
6
Regression line: ลท = 1.943x + 0.867
โš™๏ธSettings
Show Step-by-Step
Display the formula used under each result
Show Skewness & Kurtosis
Distribution shape info in Confidence Interval mode
Assume Equal Variances
Use classic pooled t-test instead of Welch's (two-sample only)
๐Ÿ“Formulas
Pearson r
ฮฃ(dxยทdy) / โˆš(ฮฃdxยฒ ยท ฮฃdyยฒ)
Regression
ลท = mx + b, m = ฮฃ(dxยทdy)/ฮฃdxยฒ
Confidence Interval
xฬ„ ยฑ t* ร— (s/โˆšn)
One-Sample t
t = (xฬ„ โˆ’ ฮผโ‚€) / (s/โˆšn)
Two-Sample t (Welch)
t = (xฬ„Aโˆ’xฬ„B) / โˆš(sAยฒ/nA + sBยฒ/nB)
Skewness (G1)
โˆš(n(nโˆ’1))/(nโˆ’2) ร— mโ‚ƒ/mโ‚‚^1.5
728 ร— 90 โ€” Leaderboard Ad

โšก Quick Tips for Using This Calculator Correctly

01Never quote a strong correlation as proof of causation. r only measures how closely two variables move together โ€” it can't tell you why, and a hidden third factor is often the real explanation.
02Leave Welch's t-test on unless something specifically calls for the pooled version. It's the safer default because it doesn't assume both groups share identical variance.
03Don't read a small p-value as "how big" a difference is. A large enough sample can make even a tiny, unimportant difference statistically significant.
04Check skewness before trusting a confidence interval on a small sample. The t-distribution math assumes a reasonably symmetric population โ€” a heavily skewed small sample is worth a second look.

Features

๐Ÿ“‰Correlation & Regression

Pearson r, Rยฒ, slope and intercept, with a live scatter plot and fitted line.

๐ŸŽฏConfidence Intervals

Exact t-distribution-based intervals at 90%, 95% or 99% confidence.

๐ŸงชOne- & Two-Sample t-Tests

Exact p-values computed from the real t-distribution, not a lookup table.

โš–๏ธWelch's or Pooled Variance

Choose the modern default or the classic textbook method for two-sample tests.

๐Ÿ“Skewness & Kurtosis

Distribution shape measures a basic mean/median summary can't show.

โœ“Plain-Language Significance

A direct verdict โ€” significant or not โ€” at whichever alpha level you choose.

What Makes This "Advanced" Rather Than Just More Descriptive Stats

A mean, a median, a standard deviation โ€” these describe a single dataset sitting in front of you. They can't tell you whether two variables are related, whether a sample mean is a reliable estimate of a larger population, or whether an observed difference between two groups is real or just random noise. Those are inference questions, not description questions, and they need a genuinely different set of tools: correlation and regression for relationships, confidence intervals for estimating a population from a sample, and t-tests for deciding whether a difference is likely real. This calculator exists specifically for that gap โ€” it doesn't recompute the mean, median or standard deviation the Mean, Median & Mode Calculator and Standard Deviation Calculator already handle โ€” it starts exactly where those two leave off.

Correlation Tells You Two Things, and People Often Conflate Them

Pearson's r captures direction and strength in one number between โˆ’1 and +1, and Rยฒ โ€” simply r squared โ€” answers a more specific question: what share of one variable's variation is statistically explained by the other. An r of 0.7 reads as a strong relationship, but its Rยฒ is only 49%, meaning just under half the variation is accounted for and the rest comes from somewhere else entirely. Neither number, no matter how close to 1, proves causation โ€” ice cream sales and drowning incidents rise together every summer without either one causing the other, both driven instead by the same underlying heat. A regression line is genuinely useful for prediction within the range of data you have; treating a strong correlation as an explanation for why something happens is where the number gets misused. As a rule of thumb, treat r as a strong hint worth investigating further, not as a finished conclusion on its own โ€” especially whenever the two variables plausibly share a common underlying cause rather than a direct link.

What a Confidence Interval Actually Promises

The most common misreading of a 95% confidence interval is that there's a 95% chance the true population mean sits inside this one calculated range โ€” but once a sample is collected, the true mean either is or isn't in that interval, full stop, with no probability left to assign. What a confidence interval actually promises is about the method, not this one result: repeat the same sampling process many times, build a fresh interval from each sample, and roughly 95% of those intervals would contain the true mean. It's a statement about how trustworthy the procedure is across repetition, which matters more the smaller and more variable a single sample happens to be.

728 ร— 90 โ€” Leaderboard Ad

One-Sample vs Two-Sample t-Tests โ€” and Why the P-Value Isn't a Verdict

One-sample testing asks whether a dataset's mean differs from one specific target number โ€” is this production batch actually averaging the 500g its label claims? Two-sample testing asks whether two separate datasets differ from each other โ€” did a new checkout flow actually convert better than the old one, or is the gap within normal noise? Both produce a p-value: the probability of seeing a difference at least this large purely by chance, if no real difference existed at all. A small p-value suggests the difference is unlikely to be a fluke, but it is not the probability your hypothesis is correct, and it says nothing about practical size โ€” a large enough sample can turn a trivially small, meaningless difference into a "statistically significant" one. Reading a p-value in isolation, without also asking whether the actual size of the effect matters, is one of the most common ways this kind of test gets misused.

Welch's t-Test vs the Classic Pooled Version

The two-sample t-test comes in two flavors that differ in exactly one assumption. The classic pooled version assumes both groups share the same underlying variance โ€” an assumption that was easier to compute by hand decades ago but doesn't reliably hold for real data. Welch's t-test drops that assumption entirely and adjusts its degrees of freedom to compensate, which is precisely why it's the modern statistical default and this calculator's setting unless Assume Equal Variances is switched on. The two methods generally agree closely when the two groups really do have similar spread, and diverge most exactly when it matters โ€” when one group is noticeably more variable than the other, which is also when the classic pooled assumption is most likely to be wrong.

Skewness and Kurtosis: The Shape Questions Mean and Median Can't Answer

Two datasets can share an identical mean and standard deviation while looking nothing alike once actually plotted โ€” one symmetric, one with a long tail dragging off to one side. Skewness captures that asymmetry as a single signed number, positive for a right-trailing tail and negative for a left-trailing one. Kurtosis measures something else again โ€” how heavy or light a distribution's tails are compared to a normal curve, which affects how often genuinely extreme values should realistically be expected rather than treated as suspicious outliers. Both numbers matter most precisely when a confidence interval or t-test is being leaned on, since that math assumes a roughly normal, reasonably symmetric population underneath the sample.

The Honest Limits of This Calculator

This tool covers the core of introductory inferential statistics well โ€” correlation, regression, confidence intervals, and one- or two-sample t-tests with genuinely exact p-values rather than a coarse lookup table. It does not perform ANOVA for comparing three or more groups at once, multiple regression with several predictor variables, or non-parametric tests for data that clearly isn't roughly normal โ€” all of which belong in dedicated statistical software once an analysis grows past this scope. Every test here also assumes the underlying data is reasonably close to normally distributed rather than heavily skewed โ€” precisely what the skewness figure in Confidence Interval mode exists to help you check before leaning too hard on a result. For quick sample data to explore any of these modes with, the Random Number Generator can produce it in seconds, and for everyday arithmetic once a result is in hand, the Scientific Calculator picks up from there.

Frequently Asked Questions

728 ร— 90 โ€” Leaderboard Ad