Skip to main content
Statistics LibreTexts

Order of Operations

  • Page ID
    29756
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Order of Operations

    If you want to calculate \(\frac{8+4}{2}\) and you enter \(8+4 \div 2\) into your calculator, you will get 10 instead of the correct answer, which is 6.  The reason for this is that when multiple operations are involved, the calculator uses the order of operations and determines that it should first divide.  To get the correct answer, the numerator needs parentheses.

    The Order of Operations is as Follows

    1. Evaluate expressions in parentheses first.
    2. Evaluate any exponents.
    3. Do \(\times\) and \(\div\) in the order they appear from left to right.
    4. Do \(+\) and \(-\) in the order they appear from left to right.

    Examples:

                    \(8 + 4 \div 2 = 8 + 2 = 10\)

                   \((8 + 4) \div 2 = 12 \div 2 = 6\) 

    *To avoid doing the calculation incorrectly, when the numerator or denominator of an expression involves more than one number, put parentheses around the group of numbers in the numerator.  Then enter the \(\div\) sign.  Then put parentheses around the group of numbers in the denominator.

    Examples:

                    \(\frac{-4.02+6.04}{2-4} = (-4.02 + 6.04)\div (2 - 4)\)

                    \(\frac{2.578^2}{4\times (0.03)^2}=(2.578 \times 2.578) \div (4 \times 0.03 \times 0.03)\)

                    \(\frac{8+(2-3)(6)+(4-2)\times 10}{(8-4-2)\times 2}\)                                                                          


    This page titled Order of Operations is shared under a CC BY license and was authored, remixed, and/or curated by Larry Green.

    • Was this article helpful?