Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Contemporary Mathematics

3.3 Order of Operations

Contemporary Mathematics3.3 Order of Operations

A close-up view of a notebook show a mathematical calculation. A calculator and a pen are placed by the notebook.
Figure 3.19 Calculators may automatically apply order of operations to calculations. (credit: “Precision” by Leonid Mamchenkov/Flickr, CC BY 2.0)

After completing this module, you should be able to:

  1. Simplify expressions using order of operations.
  2. Simplify expressions using order of operations involving grouping symbols.

Calculates else sure someone be rules expect explicit we what that needs to need make, we to that them what be calculate to calculated first.

You probably read that sentence and couldn't make heads or tails of it. Seems like it might concern calculations, but maybe it concerns needs? You may even be attempting to unscramble the sentence as you read it, placing words in the order you might expect them to appear in. The reason that the sentence makes no sense is that the words don't follow the order you expect them to follow. Unscrambled, the sentence was intended to be “To be sure that someone else calculates when we expect them to calculate, we need rules that make explicit what needs to be calculated first.”

Similarly, when working with math expressions and equations, if we don't follow the rules for order of operations, arithmetic expressions make no sense. Just a simple expression would be problematic if we didn't have some rules to tell us what to calculate first. For instance, 4×22+3+524×22+3+52 can be calculated in many ways. You could get 5,184. Or, you could get 80. Or, 96. The issue is that without following a set of rules for calculation, the same expression will give various results. In case you are curious, using the appropriate order of operations, we find 4×22+3+52=444×22+3+52=44.

Simplify Expressions Using Order of Operations

The order in which mathematical operations is performed is a convention that makes it easier for anyone to correctly calculate. They follow the acronym EMDAS:

E Exponents
M/D Multiplication and division
A/S Addition and Subtraction

So, what does EMDAS tell us to do? In an equation, moving left to right, we begin by calculating all the exponents first. Once the exponents have been calculated, we again move left to right, calculating the multiplications and divisions, one at a time. Multiplication and division hold the same position in the ordering, so when you encounter one or the other at this step, do it. Once the multiplications and divisions have been calculated, we again move left to right, calculating the additions and subtractions, one at a time. Additions and subtractions hold the same position in the ordering, so when you encounter one or the other at this step, do it. (You may have previously learned the order of operations as PEMDAS, with parentheses first; we will add that aspect later on.) We’ll explore this as we work an example.

Example 3.43

Using Two Order of Operations

Calculate 214×13214×13.

Your Turn 3.43

1.
Calculate 43 + 18 × 15 .

Example 3.44

Using Two Order of Operations

Calculate 4×834×83.

Your Turn 3.44

1.
Calculate 60 2 / 50 .

Example 3.45

Using Three Order of Operations

Calculate 2+32×42+32×4.

Your Turn 3.45

1.
Calculate 3 × 6 3 18 .

Even if the expression being calculated gets more complicated, we perform the operations in the order: EMDAS.

Example 3.46

Using Eight Order of Operations

Correctly apply the order of operations to compute the following:

425×6/10×32+7×23425×6/10×32+7×23.

Your Turn 3.46

1.

Correctly apply the order of operations to compute the following:

13 + 3 4 × 8 / 6 × 5 2 3 × 4 .

Example 3.47

Using Six Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following:

103×53/15+56/4103×53/15+56/4.

Your Turn 3.47

1.

Correctly apply the rules for the order of operations to accurately compute the following:

12 / ( 4 ) + 8 × 9 / 12 × 2 3 24 × 25 / 10 .

Example 3.48

Using Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following: (8)/2×39×24/12+9×(4)2/23(8)/2×39×24/12+9×(4)2/23.

Your Turn 3.48

1.

Correctly apply the rules for the order of operations to accurately compute the following:

3 × 4 3 × 7 + 24 / 6 × 7 2 9 / 3 × 8 .

Using the Order of Operations Involving Grouping Symbols

We have examined how to use the order of operations, denoted by EMDAS, to correctly calculate expressions. However, there may be expressions where a multiplication should happen before an exponent, or a subtraction before a division. To indicate an operation should be performed out of order, the operation is placed inside parentheses. When parentheses are present, the operations inside the parentheses are performed first. Adding the parentheses to our list, we now have PEMDAS, as shown below.

P Parentheses
E Exponents
M/D Multiplication and division (division is just the multiplication by the reciprocal)
A/S Addition and subtraction (subtraction is just the addition of the negative)

As said previously, parentheses indicate that some operation or operations will be performed outside the standard order of operation rules. For instance, perhaps you want to multiply 4 and 7 before squaring. To indicate that the multiplication happens before the exponent, the multiplication is placed inside parentheses: (4×7)2(4×7)2.

This means operations inside the parentheses take precedence, or happen before other operations. Now, the first step in calculating arithmetic expressions using the order of operations is to perform operations inside parentheses first. Inside the parentheses, you follow the order of operation rules EMDAS.

Example 3.49

Prioritizing Parentheses in the Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following:

(103)×53(103)×53.

Your Turn 3.49

1.

Correctly apply the rules for the order of operations to accurately compute the following:

8 ( 25 2 2 ) / 7 .

Be aware that there can be more than one set of parentheses, and parentheses within parentheses. When one set of parentheses is inside another set, do the innermost set first, and then work outward.

Example 3.50

Working Innermost Parentheses in the Order of Operations

Correctly apply the rules for order of operations to accurately compute the following:

4+2×(32(2+5)2×4)/(3+8)4+2×(32(2+5)2×4)/(3+8).

Your Turn 3.50

1.

Correctly apply the rules for the order of operations to accurately compute the following:

( 8 6 ) 2 × 100 ( ( 48 / 6 3 ) 2 4 × 7 ) .

Check Your Understanding

12.
Which operation has highest precedence?
13.
Which is performed first, exponents or addition?
14.
Calculate 2 × 3 2 5 × 8 .
15.
What is used to indicate operations that should be performed out of order?
16.
Calculate ( 4 3 ) 2 + 27 × 8 2 ÷ 6 2 .

Section 3.3 Exercises

1 .
Which operations have the lowest precedence in order of operations?
2 .
If many operations have the same precedence in an expression, in what order should the operations be performed?
3 .
Which operations have the same precedence in order of operations?
4 .
After all operations in parentheses have been performed, which operations should be performed next?
For the following exercises, perform the indicated calculation.
5 .
4 5 × 6
6 .
34 10 × 6
7 .
18 + 8 × 13
8 .
40 + 12 × 17
9 .
50 ÷ 2 + 8
10 .
72 ÷ 6 + 18
11 .
13 + 4 × 3 2
12 .
45 6 × 7 3
13 .
6 2 × 5 13 × 9 2
14 .
14 2 × 8 5 × 2 4
15 .
450 ÷ 3 2 56 ÷ 2 2
16 .
1,000 ÷ 5 3 7 × 8 4
17 .
38 × 6 4 + 5 × 18 ÷ 10
18 .
15 × 7 + 23 6 × 40 ÷ 24
19 .
600 ÷ 12 × 5 + 40 6 2
20 .
2 × 12 3 ÷ 8 × 3 4 5
21 .
10 × 6 3 ÷ 2 × 5 + 3 2 240 ÷ 8 × 9
22 .
45 ÷ 15 × 6 + 7 2 4 × 15 × 18 ÷ 12 × 3
23 .
( 4 + 3 ) × 2
24 .
6 × ( 12 + 8 )
25 .
( 14 25 ) × 2
26 .
( 86 61 ) ÷ 5
27 .
( 3 + 2 ) 3
28 .
( 17 12 ) 4
29 .
( 45 60 ) 2
30 .
( 90 101 ) 3
31 .
( 3 × 4 ) 3 ÷ 8 + 5
32 .
( 6 9 ) 2 × 5 4
33 .
4 ( 6 + 3 ) × 5 + 11
34 .
12 + ( 13 6 ) × 8 130
35 .
15 × ( 4 1 ) 2 + 5 × ( 17 + 2 × 3 ) + 4
36 .
18 × ( 12 6 ) 4 8 × ( 30 14 × 16 ) 90
37 .
4 × ( 5 + 2 × ( 6 + 8 ) ) + 10 × 3 2
38 .
9 × ( 13 12 × ( 41 32 ) ) 8 × 45
39 .
21 3 × ( 5 × ( 2 + 6 ) 3 × ( 18 11 ) + 25 ) ÷ 2
40 .
48 6 × ( 10 × ( 18 + 12 ) 25 × ( 16 9 ) + 19 ) ÷ 4
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction
Citation information

© Jul 25, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.