Measures of dispersion: drag data points and watch range, mean deviation, variance, standard deviation and CV change

Drag the points of two data sets along a number line and watch the range, mean deviation about the mean and median, variance, standard deviation and coefficient of variation change live. Compare two classes with the same mean but different spread, see each deviation as a bar, and open the full working.

Keep it one tap away for everyday use.

Bookmark Spread explorer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Data
  2. Drag
  3. Spread
  4. Compare
Nothing is uploadedWorks offline once open

Pick or type the data

Show

Drag any dot sideways. The dashed line is the mean; the bars show how far each point is from it.

Show the working for
xx − x̄|x − x̄|(x − x̄)²

Try this

  • In Same mean, different spread, drag class B's outer dots towards 50: its SD falls towards class A's.
  • Drag one dot far out: the range and SD jump, but the median hardly moves.
  • Add 10 to every number in a box: the mean goes up by 10, but the range, mean deviation and SD do not change.
  • Open Heights vs weights: SDs in cm and kg cannot be compared, but the CV (a percentage) can.

Check yourself

Fresh numbers every time. Type a number or a fraction such as 3/4; nothing is saved or sent.

    What it does

    Two classes can have the same average mark and still be completely different: in one, everybody scored about 50; in the other, half the class scored 20 and half scored 80. The mean cannot tell them apart. Measures of dispersion can: they measure how spread out the data are around the middle.

    This page shows two data sets as dots on a number line. Drag any dot and every measure updates at once:

    • the range, largest minus smallest value;
    • the mean deviation about the mean and about the median: the average distance of the values from the middle;
    • the variance σ², the average of the squared distances from the mean, and the standard deviation σ = √variance;
    • the coefficient of variation CV = σ / x̄ × 100, which compares spread as a percentage of the mean, so data in different units (or with very different means) can be compared.

    Each distance from the mean is drawn as a bar, or as a block whose height grows with the squared distance, so you can see why one far-out point pushes the variance up so much.

    It fits the Class 11 maths chapter on statistics, building on the mean, median and mode of grouped data in Class 10 (see grouped data). For the shape of whole distributions, go on to the probability distribution explorer.

    How to use it

    1. Pick an Example or type your own numbers into the two boxes (2 to 30 numbers each, separated by commas or spaces).
    2. Drag any dot sideways along the number line. The box below the picture, the bars and the verdict update as you drag. Values snap to whole numbers.
    3. Show switches the bars between the distances |x − x̄| (used in the mean deviation) and blocks sized by (x − x̄)² (used in the variance).
    4. The table lists every measure for both sets side by side, and the line below it says which set is more variable by its CV.
    5. Show the working opens a table of x, x − x̄, |x − x̄| and (x − x̄)² for the first set, with the sums divided out.

    Worked example

    The page opens on Same mean, different spread. Class A is 46, 48, 50, 50, 52, 54, 50 and class B is 20, 35, 50, 50, 65, 80, 50. Both have mean 50 and median 50. But:

    Class A Class B
    Range 8 60
    Mean deviation about the mean 1.71 12.86
    Variance 5.71 321.43
    Standard deviation 2.39 17.93
    CV 4.78 % 35.86 %

    The verdict says class B is more variable, so class A is more consistent. Open the working: class A’s squared deviations add up to 40, and 40 ÷ 7 = 5.71, so σ = √5.71 = 2.39.

    Tips

    • Adding the same number to every value moves the mean but leaves every spread measure unchanged. Multiplying every value by k multiplies the SD by k and the variance by k².
    • The SD is in the same units as the data; the variance is in squared units. The CV has no units, which is why it is the one to use when comparing heights in cm with weights in kg.
    • School statistics divides by n. Calculators and spreadsheets often offer a “sample” SD that divides by n − 1; that number is a little bigger.

    FAQ

    Why square the deviations instead of using the mean deviation? Squares are easier to work with algebraically (no absolute values), and they make the SD fit neatly with the normal distribution later on. The mean deviation is easier to understand, so the page shows both.

    Why does the CV say “mean is 0”? The CV divides by the mean, so it only makes sense for data whose mean is not zero (usually positive measurements).

    Is my data saved? No. Everything runs in your browser and nothing is stored or sent. fibub is not part of NCERT; the topics follow the syllabus, but the words, pictures and examples are our own.

    Where the numbers come from

    • Range, mean deviation, variance and standard deviation (dividing by n) and the coefficient of variation are standard descriptive statistics. Wording, pictures and examples are fibub's own; no textbook text, figures or exercises are used.
    • The example data (two classes' marks, two batters' scores, heights and weights) are made up for teaching; they are not from any survey or book.
    • Checked against numpy (mean, median, mean absolute deviation, var and std with ddof = 0) and Python's statistics.pstdev for every example.

    Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

    Last updated 2026-11-09.

    Change log for Spread explorer

    1. Add #1384 Spread explorer Details on GitHub

    Every change to fibub

    Related tools

    Probability distribution explorer #T391 Pick a distribution (normal, t, chi-squared, F, beta, gamma, Weibull, binomial, Poisson and 26 more), set its parameters and see the curve with the probability between two values shaded, the quantiles, mean, variance, skewness and kurtosis, and draw seeded random samples. Matches scipy.stats. Grouped data #L80 Type class intervals and frequencies and get the mean by the direct, assumed-mean and step-deviation methods, the median and the mode with the formulas filled in, and a histogram with less-than and more-than ogives. Sample space builder #L82 See every outcome of two dice, a few coins or a deck of cards, shade an event and get its probability as a fraction. Then run the experiment thousands of times and watch the share of hits settle near it. Event algebra #L240 Roll two dice (or a coin and a die) and see all the outcomes as a grid. Choose events A and B, shade them, outline A ∪ B, A ∩ B, A′, A − B or B − A, and watch the addition rule P(A ∪ B) = P(A) + P(B) − P(A ∩ B) worked out with the counts. Mutually exclusive and exhaustive events are flagged, and a simulation checks the answer. Quadratic explorer #L68 Slide a, b and c and watch the parabola move: vertex, roots and the discriminant update live, completing the square is drawn with tiles, and the middle term is split for you. With fresh practice questions. Pythagoras proof playground #L69 Drag a right triangle and watch the squares on its sides add up. Slide through four visual proofs (rearrangement, Bhaskara, similar triangles, Baudhayana) with your own side lengths, and list Pythagorean triples.