Order of Operations Calculator

Evaluate a math expression step by step using the correct order of operations (PEMDAS/BODMAS) and see each stage.

Share this calculator

PEMDAS / BODMAS order

  1. Parentheses / Brackets
  2. Exponents / Orders (^)
  3. Multiplication & Division (left to right)
  4. Addition & Subtraction (left to right)
Enter an expression Type a mathematical expression to see it evaluated step by step following the order of operations (PEMDAS/BODMAS).

Also in General

Arithmetic Fundamentals

Order of operations calculator: solve expressions step by step

An order of operations calculator evaluates a mathematical expression by following the correct precedence rules: parentheses first, then exponents, then multiplication and division left to right, and finally addition and subtraction left to right. It shows each step so you can see exactly how the final answer is reached.

PEMDAS / BODMAS explained

PEMDAS stands for Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. The UK equivalent BODMAS replaces Parentheses with Brackets and Exponents with Orders. Both describe the same precedence rules. Multiplication and division share the same priority and are evaluated left to right, as do addition and subtraction.

A common mistake is treating PEMDAS as a strict left-to-right sequence where multiplication always comes before division. In reality, multiplication and division are peers: 8 / 2 x 4 is evaluated left to right as (8 / 2) x 4 = 16, not 8 / (2 x 4) = 1.

Why step-by-step matters

Showing intermediate steps makes it easy to spot where an error occurred. If a student evaluates 3 + 4 x 2 as 14 instead of 11, the step-by-step display reveals that multiplication should have been performed before addition.

Nested parentheses are resolved from the innermost pair outward. For example, 2 x (3 + (4 - 1)) first evaluates 4 - 1 = 3, then 3 + 3 = 6, then 2 x 6 = 12.

Frequently asked questions

Does multiplication always come before division?

No. Multiplication and division have equal precedence and are evaluated left to right. The same applies to addition and subtraction. PEMDAS groups them in pairs, not in a strict sequence.

How do I handle implicit multiplication like 2(3)?

Treat 2(3) as 2 x 3 = 6. Implicit multiplication follows the same precedence as explicit multiplication. When in doubt, add parentheses to make the intended grouping clear.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.