AI Grounds

Open AI Grounds on a desktop

These interactive lessons need a larger screen. Please continue on a desktop or laptop computer.

Guided discovery

Variance & Standard Deviation

Move values. See distances become a measure of spread.

Your dataset

Drag a dot to change its value
Mean (average) 50.0 · 7 points · values 42–58
0255075100

Focus a dot and use arrow keys. Shift moves by 10; Home / End moves to 0 / 100.

Distances from the mean

Subtract the mean, then square each deviation. Longer bars show larger distances.

Each point’s value, signed distance from the mean, and squared contribution to variance.
PointValueDeviationDistanceSquared
A42-8.064.0
B46-4.016.0
C48-2.04.0
D500.00.0
E52+2.04.0
F54+4.016.0
G58+8.064.0
Sum of squared deviations168.0

Deviation = value − mean. Negative means left of the mean; positive means right. The bars share a −100 to +100 scale with zero in the center.

Variance

Average squared distance.

24.0

168.0 ÷ 7 = 24.0

Measured in squared units.

Standard deviation

Spread in the original units.

4.9

√24.0 ≈ 4.9

A typical distance based on squared distances.

These 7 values are the whole population here, so divide by 7. This lesson describes the dataset; it does not estimate spread from a sample.

Same mean, different spread

Standard deviation · preset means are 50; your edits may move the mean.

Current
4.9
mean 50.0
Tight
4.9
mean 50.0
Balanced
11.6
mean 50.0
Wide
24.1
mean 50.0

Mean 50.0; variance 24.0 squared units; standard deviation 4.9 original units.