Statistics Calculator

Enter a list of numbers (separated by commas or spaces) to calculate mean, median, mode, range, variance, and standard deviation.

Count
—
Sum
—
Mean
—
Median
—
Mode
—
Range
—
Std. deviation
—
Variance
—
Minimum
—
Maximum
—
Sorted values
—
Coefficient of variation (%)
—
First quartile (Q1)
—
Third quartile (Q3)
—
Mode frequency
—
Weighted mean
—
Sum of weights
—
Arithmetic mean rounded to an integer
—
Required next grade (before rounding)
—
Required integer grade (at least 1)
—
Target feasibility
—

Use up to 1000 values with absolute value at most 10¹²; decimal resolution is at least 10⁻²⁴. Point format uses commas, spaces or semicolons as separators; comma format uses spaces or semicolons. Every token must be valid. Variance divides by n or n−1; sample variance and deviation need n≥2. CV = 100·SD/abs(mean), undefined when the mean is zero. All values tied for the highest frequency are modes if that frequency exceeds one. Results use up to 12 significant digits. Grades use the explicit 1–10 scale, not institutional rules. Blank weights mean 1 each; otherwise provide one weight 0–10⁶ per grade, with a positive total. Zero weights do not affect the weighted mean. Integer rounding is half up. The next-grade target uses the unrounded arithmetic mean and ignores weights; grades are equally weighted for that target.

How these statistics are calculated

Use up to 1000 values with absolute value at most 10¹²; decimal resolution is at least 10⁻²⁴. Point format uses commas, spaces or semicolons as separators; comma format uses spaces or semicolons. Every token must be valid. Variance divides by n or n−1; sample variance and deviation need n≥2. CV = 100·SD/abs(mean), undefined when the mean is zero. All values tied for the highest frequency are modes if that frequency exceeds one. Results use up to 12 significant digits. Grades use the explicit 1–10 scale, not institutional rules. Blank weights mean 1 each; otherwise provide one weight 0–10⁶ per grade, with a positive total. Zero weights do not affect the weighted mean. Integer rounding is half up. The next-grade target uses the unrounded arithmetic mean and ignores weights; grades are equally weighted for that target.

Frequently asked questions

What's the difference between mean and median?

The mean is the arithmetic average; the median is the middle value. The median is less affected by extreme outliers, so it's often a better summary for skewed data.

What does standard deviation tell you?

Standard deviation measures how spread out the numbers are from the mean — a small standard deviation means the values are clustered close to the mean, a large one means they're spread out widely.

Why does my data set show no mode?

Values occurring only once have no mode. If a highest frequency exceeds one, every value with that frequency is shown, including ties.

How are the quartiles found?

Sort the data and compute k·n/4 (k = 1 for Q1, 3 for Q3). If it is a whole number p, the quartile is the mean of the p-th and (p+1)-th values; otherwise it is the value at the next whole position. For 3, 4, 5, 6, 7, 8, 9: Q1 = 4 and Q3 = 8. At least two values are needed.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
View = Data
Variance denominator = Sample (n−1)
Decimal format = Decimal point
Numbers = 4, 8, 6, 5, 3, 9, 7, 8
First quartile (Q1): 4.5
Third quartile (Q3): 8
Mode frequency: 2
2
View = Data
Variance denominator = Sample (n−1)
Decimal format = Decimal point
Numbers = 1, 1, 2, 2, 3
First quartile (Q1): 1
Third quartile (Q3): 2
Mode frequency: 2
3
View = Data
Variance denominator = Sample (n−1)
Decimal format = Decimal point
Numbers = 2.5, -1, 7.25, 3, 3, 3
First quartile (Q1): 2.5
Third quartile (Q3): 3
Mode frequency: 3

How we test our calculators →

Also try:

Back to category →