Study Tips Statistics Formulas Common Mistakes 6 min read October 6, 2026
BY: Statistics Fundamentals Team
Reviewed By: Minsa A (Senior Statistics Editor)

The Order-of-Operations Mistakes That Break Statistics Formulas

When a statistics answer comes back wrong, the instinct is to go hunting for the wrong formula. Usually the formula was fine. What went wrong was the order its parts were worked out in.

Statistics formulas are unusually exposed to this. They stack subtraction inside squaring, inside summation, inside division, inside a square root — and every one of those layers has to resolve in sequence. Get one wrong and the result is not slightly off. It is a different number entirely, and nothing about it looks broken.

Below are the places it happens most, each with the wrong answer and the right one side by side.

The fraction bar is a grouping symbol

Start here, because almost everything else follows from it.

The horizontal bar in a written formula does two jobs. It divides, and it groups. Everything above the bar is one quantity. Everything below it is another. The division happens last, after both sides are fully resolved.

That grouping is invisible the moment the formula gets typed onto a single line. The bar disappears, and every grouping it was silently doing has to be put back by hand as parentheses. Most of the errors that follow are that one habit, surfacing in different formulas.

Standard deviation: three places it breaks

One worked example runs through this whole section. Take the data set:

Data Set
4,  8,  6,  5,  3

The mean is 26 / 5 = 5.2. The deviations from it are −1.2, 2.8, 0.8, −0.2 and −2.2. Squared, those become 1.44, 7.84, 0.64, 0.04 and 4.84, which sum to 14.8.

From that single value, 14.8, three different errors produce three different wrong answers.

Squaring the sum instead of summing the squares

The notation Σ(x − x̄)² says: subtract, then square, then add. Not subtract, add, then square.

If you add first, you get zero. The deviations from a mean always cancel — that is what a mean is. Zero squared is zero, divided by n is zero, and its square root is zero.

Correct
Σ(x − x̄)² = 1.44 + 7.84 + 0.64 + 0.04 + 4.84 = 14.8
Wrong
(Σ(x − x̄))² = (−1.2 + 2.8 + 0.8 − 0.2 − 2.2)² = 0
💡
The Self-Announcing Error

A standard deviation of exactly zero, on data that visibly varies, is the most useful error on this list — it announces itself. The others do not.

Taking the root too early

The square root sign covers the whole fraction, not just the numerator. Dividing after the root instead of before it produces an answer less than half the size of the right one.

Correct
√(14.8 / 5)  =  √2.96  ≈  1.72
Wrong
√14.8 / 5  =  3.847 / 5  ≈  0.77
⚠️
The Silent Error

Nothing about 0.77 looks suspicious. It is a plausible standard deviation for plausible-looking data, which is exactly why this one survives to the final answer.

The n − 1 that needs brackets

A sample standard deviation divides by n − 1 rather than n. Typed on one line without brackets, the subtraction lands in the wrong place entirely.

Correct
14.8 / (5 − 1)  =  14.8 / 4  =  3.7
Wrong
14.8 / 5 − 1  =  2.96 − 1  =  1.96

Division binds more tightly than subtraction, so without the brackets the −1 is applied to the result of the division instead of to the denominator. The gap between 3.7 and 1.96 is not a rounding difference — it is a different statistic.

Calculator

Standard Deviation & Variance Calculator

Check your standard deviation and variance calculations step by step: statisticsfundamentals.com/calculators/standard-deviation/

Z-scores: parentheses that are not optional

The z-score formula is short enough that people type it straight in, which is precisely why it breaks.

Z-Score Formula
z  =  (x − μ) / σ

With a score of 85, a mean of 70 and a standard deviation of 8:

Correct
(85 − 70) / 8  =  15 / 8  =  1.875
Wrong
85 − 70 / 8  =  85 − 8.75  =  76.25

1.875 is a score a little under two standard deviations above the mean. 76.25 is not a z-score at all — it is not on the scale. This error is loud, which makes it the easy one to catch, and a good reminder that the quiet ones are using the same mechanism.

Calculator

Z-Score Calculator

Verify your z-score calculations: statisticsfundamentals.com/calculators/z-score/

Combinations: the denominator is one quantity

The combinations formula puts two factorials below the bar, and the bar is grouping both of them together.

Combinations Formula
C(n, r)  =  n!  /  ( r! (n − r)! )

For C(5, 2), where 5! = 120, 2! = 2 and 3! = 6:

Correct
120 / (2 × 6)  =  120 / 12  =  10
Wrong
120 / 2 × 6  =  60 × 6  =  360

Multiplication and division sit at the same precedence level and resolve left to right, so without the brackets the second factorial multiplies instead of dividing. There are ten ways to choose two items from five. 360 is larger than 5! itself, which is the sanity check that should have fired.

⚠️
Left-to-Right Within the Same Level

This is the single clearest case of why "left to right within the same level" matters. The usual acronyms list multiplication before division, which quietly suggests a precedence that does not exist.

Calculator

Combinations & Permutations Calculator

Check your combinations and permutations: statisticsfundamentals.com/calculators/combination-calculator/

The minus sign that is not part of the number

Exponents resolve before negation. A minus sign written in front of a squared term is applied after the squaring, not before.

Correct
(−2.2)²  =  4.84
Wrong
−2.2²  =  −(2.2²)  =  −4.84

In any variance calculation every squared deviation has to come out positive. A negative one means the brackets were lost somewhere. This shows up most when deviations are typed in individually rather than computed down a column.

Checking your own work

Three habits catch nearly all of the above.

Check the Shape First

  • A standard deviation cannot be negative, and is rarely larger than the range of the data itself
  • A z-score on ordinary data sits roughly between −3 and 3
  • A combination count can never exceed n!
  • Most of the errors here produce a number that fails one of these before any arithmetic is rechecked

Rebuild the Brackets

  • Write the formula out with every grouping the fraction bar was doing made explicit
  • Use (Σ(x − x̄)²) / (n − 1) — type that version, not the one from the textbook page
  • Put back parentheses before entering into a calculator or spreadsheet

Resolve One Expression at a Time

  • If you are not certain which part resolves first, it is worth working through the order of operations step by step on something simple and watching each stage reduce
  • Seeing 2 + 3 × 4 − 1 settle to 13 rather than 19 makes the rule concrete in a way the acronym never does

The gap is not knowledge

None of this is about knowing more statistics. Every formula above is one most students can write from memory, correctly, on request.

The gap sits between writing a formula and executing it — and it closes with two things: putting back the brackets the fraction bar was holding for you, and looking at the shape of an answer before trusting it.

✅
The Key Takeaway

The gap is not knowledge. It is the habit of rebuilding groupings when a formula moves from a page to a line of typed arithmetic, and the discipline of checking whether the result is even the right shape before moving on.