STATISTICS CALCULATOR
Statistics calculator, the full picture of your data.
Get count, sum, mean, median, mode, range, variance and standard deviation, plus quartiles and a distribution histogram. Runs locally in your browser.
Data input (spaces, commas, newlines or CSV)
Results
Distribution histogram
Most tools process data locally; see this page for details
What can this tool do?
Paste any set of numbers (separated by spaces, commas, newlines or CSV) to get count, sum, mean, median, mode, range, variance, standard deviation, min/max and the lower/upper quartiles, plus a histogram of the distribution. Switch between population and sample standard deviation. Useful for homework, grade analysis or a quick sense of how concentrated and spread your data is. Everything runs locally.
FAQ
Population vs sample standard deviation?
Sample SD divides by n−1 and estimates the spread of a wider population (most common); population SD divides by n and describes a fully known set. Use the checkbox to switch.
What if there are multiple modes?
All values tied for the highest frequency are listed, separated by commas; if every value appears once, it shows "no mode".
示例与注意事项Example & notes
一个例子A worked example
算一组成绩的平均分与标准差:把「82 91 76 88 95」粘进去(或直接贴 CSV 的一列),一次得到计数 5、求和 432、平均 86.4、中位数 88、众数无、标准差 6.87 与分布直方图。For a set of scores: paste "82 91 76 88 95" (or a CSV column) and you get count 5, sum 432, mean 86.4, median 88, no mode, standard deviation 6.87 and a distribution histogram.
注意事项Things to watch
- 标准差区分总体与样本两种口径:本页默认按总体计算(除以 n),若做抽样推断请改用 n−1。Standard deviation comes in population and sample flavours: this page uses the population form (divide by n); for inference from a sample use n−1.
- 偶数个数据的中位数取中间两个数的平均,因此可能不是原数据里出现过的值。With an even count the median is the mean of the two middle values, so it may not be a value that appears in the data.
- 众数可能不止一个;没有重复值时本页显示「无众数」而不是硬凑一个。There can be several modes; when nothing repeats the page says "no mode" rather than inventing one.
相关问答More Q&A
平均数和中位数该用哪个?Should I use the mean or the median?
看分布是否对称:正态、均匀的数据两者接近;收入、房价这类右偏数据用中位数更代表「典型水平」,因为少数极大值会把平均数拉高。本页两个都给出,方便对比判断。It depends on the shape: for symmetric data the two are close; for right-skewed data like income or house prices the median better represents the typical case, because a few huge values drag the mean up. This page shows both so you can compare.
标准差越大说明什么?What does a large standard deviation mean?
说明数据分散、个体差异大:比如两个班的平均分都是 85,一班标准差 3 说明大家水平接近,另一班标准差 15 说明强弱分化明显。It means the data is spread out and individuals differ a lot: two classes may both average 85, but a standard deviation of 3 means the levels are close while 15 means a wide gap between strong and weak students.