Statistics Calculator
Calculate statistics using your data.
Loading calculator…
What this tool does
Calculate statistics using your data. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
How to use the Statistics Calculator
- Enter or select numbers (comma or whitespace separated).
- Read the calculated result; change any measurement to compare alternatives.
Formula
mean, median, mode, sample/population variance and SD, quartiles (linear interpolation), IQR, sum and count for one data set
- data
- Numbers (comma or whitespace separated)
All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
Worked example
For statistics calculator, the following measurements illustrate the exact method: Numbers (comma or whitespace separated): 2,4,4,4,5,5,7,9.
Inputs
- Numbers (comma or whitespace separated)2,4,4,4,5,5,7,9
Result
- Mean5
- Median4.5
- Mode4
- Sample standard deviation2.14
- Population standard deviation2
- Sample variance4.57
- First quartile (Q1)4
- Third quartile (Q3)5.5
- Interquartile range (IQR)1.5
- Range7
- Sum40
- Count8
Results explained
- Mean
- Mean from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Median
- Median from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Mode
- Mode from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Sample standard deviation
- Sample standard deviation from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Population standard deviation
- Population standard deviation from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Sample variance
- Sample variance from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- First quartile (Q1)
- First quartile (Q1) from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Third quartile (Q3)
- Third quartile (Q3) from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Interquartile range (IQR)
- Interquartile range (IQR) from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Range
- Range from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Sum
- Sum from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
- Count
- Count from the formula above. All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
Frequently asked questions
mean, median, mode, sample/population variance and SD, quartiles (linear interpolation), IQR, sum and count for one data set
All-in-one descriptive summary. Quartiles use linear interpolation on the sorted data (the type-7 method, as in Excel QUARTILE.INC and NumPy's default).
Enter numbers only, in the units and format each label describes. Remove missing values rather than substituting zero, unless zero is a real observation.
No. Results describe the numbers you entered. Statistical inference also depends on sampling design, independence, model fit and interpretation; a p-value is not the probability that a hypothesis is true.
No. Every calculation, including the distribution algorithms, runs entirely in your browser.