Skip to ContentGo to accessibility page
Contemporary Mathematics

3.3 Order of Operations

Contemporary Mathematics3.3 Order of Operations

3.3 Order of Operations

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:

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 21−4×1321−4×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:

4−25×6/10×32+7×234−25×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:

10−3×53/15+56/410−3×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×3−9×24/12+9×(−4)2/23(−8)/2×3−9×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.

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:

(10−3)×53(10−3)×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
Reuse and redistribution of this content in digital or print format:
  • 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 prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial 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 noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Apr 23, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.