Research Methods & Reporting Statistics Notes

Brackets (parentheses) in formulas

BMJ 2011; 343 doi: (Published 11 August 2011) Cite this as: BMJ 2011;343:d570

This article has a correction. Please see:

  1. Douglas G Altman, professor of statistics in medicine1,
  2. J Martin Bland, professor of health statistics2
  1. 1Centre for Statistics in Medicine, University of Oxford, Oxford OX2 6UD
  2. 2Department of Health Sciences, University of York, York YO10 5DD
  1. Correspondence to: DG Altman doug.altman{at}

Each year, new health sciences postgraduate students in York are given a simple maths test. Each year the majority of them fail to calculate 20 – 3 × 5 correctly. According to the conventional rules of arithmetic, division and multiplication are done before addition and subtraction, so 20 − 3 × 5 = 20 − 15 = 5. Many students work from left to right and calculate 20 − 3 × 5 as 17 × 5 = 85. If that was what was actually meant, we would need to use brackets: (20 − 3) × 5 = 17 × 5 = 85. Brackets tell us that the enclosed part must be evaluated first. That convention is part of various mnemonic acronyms which indicate the order of operations, such as BODMAS (Brackets, Of (that is, power of), Divide, Multiply, Add, Subtract) and PEMDAS (Parentheses, Exponentiation, Multiplication, Division, Addition, Subtraction).1

Schoolchildren learn the basic rules about how to construct and interpret mathematical formulas.1 The conventions exist to ensure that there is absolutely no ambiguity, as mathematics (unlike prose) has no redundancy, so any mistake may have serious consequences. Our experience is that mistakes are quite common when formulas are presented in medical journal articles. A particular concern is that brackets are often omitted or misused. The following examples are typical and we mean nothing personal by choosing them.

Example 1

In a discussion of methods for analysing diagnostic test accuracy, Collinson 2 wrote:

Sensitivity = TP/TP + FN

where TP = true positive and FN = false negative. The formula should, of course, be:

Sensitivity = TP/(TP + FN).

Example 2

For a non-statistical example, Leyland 3 wrote that the total optical power of the cornea is:

P = P1 + P2t/n2(P1P2)

where P1 = n2n1/r1 and P2 = n3n2/r2. Here n1, n2, and n3 are refractive indices, r1, r2, and t are distances in metres, and P, P1, and P2, are powers in dioptres. But he should have written P1 = (n2n1)/r1 and P2 = (n3n2)/r2. P1 = n2n1/r1 is clearly wrong dimensionally, as P1 is dioptres, 1/metre, n2 and n1 are ratios and so pure numbers, and r1 is in metres. Also, it is not clear whether t/n2 (P1P2) means (t/n2) P1P2, which it does, or t/(n2P1P2).

Do such errors matter? Certainly. In our experience the calculations are usually correct in the paper, but anyone using the published formula would go wrong. Sometimes, however, the incorrect formula was used, as in the following case.

Example 3

In their otherwise exemplary evaluation of the chronic ankle instability scale, Eechaute et al4 made a mistake in their formula for the minimal detectable change (MDC) or repeatability coefficient,5 writing: MDC = 2.04 × √(2 × SEM). Here SEM is the standard error of a measurement or within subject standard deviation.5 This formula uses 2.04 where 2 or 1.96 is more usual,6 but, much more seriously, the SEM should not be included within the square root, as the brackets indicate. This might be dismissed as a simple typographical error, but the authors actually used this incorrect formula. Their value of SEM was 2.7 points, so they calculated the minimal detectable change as 2.04 × √(2 × 2.7) = 4.7. They should have calculated 2.04 × √(2) × 2.7 = 7.8. Their erroneous formula makes the scale appear considerably more reliable than it actually is.6 The formula is also wrong in terms of dimensions, because the minimum clinical difference should be in the same units as the measurement, not in square root units.

Some mistakes in formulas may be present in a submitted manuscript, but others might be introduced in the publication process. For example, problems sometimes arise when a displayed formula is converted to an “in-text” formula as part of the editing, and the implications are not realised or not noticed by either editing staff or authors. Often it is necessary to insert brackets when reformatting a formula. So the simple formula:


should be changed to p/(1 − p) if moved to the text.

Formulas in published articles may be used by others, so mistakes may lead to substantive errors in research. It is essential that authors and editors check all formulas carefully.


Cite this as: BMJ 2011;343:d570


  • Acknowledgements: We are very grateful to Phil McShane for pointing out a mistake in an earlier version of this statistics note.

  • Contributors: DGA and JMB jointly wrote and agreed the text.

  • Competing interests: All authors have completed the Unified Competing Interest form at (available on request from the corresponding author) and declare: no support from any organisation for the submitted; no financial relationships with any organisations that might have an interest in the submitted work in the previous 3 years; no other relationships or activities that could appear to have influenced the submitted work


View Abstract