Put in order · JavaScript and TypeScript course · Module 1: JavaScript Basics

Order of Operations PEMDAS

Arrange arithmetic operators from highest to lowest precedence:

Items to put in order

  • Parentheses ( )
  • Multiplication * and division /
  • Exponentiation **
  • Addition + and subtraction -
Show the answer

Correct order:

  1. Parentheses ( )
  2. Exponentiation **
  3. Multiplication * and division /
  4. Addition + and subtraction -