Skip to content

Order of operations calculator (BIDMAS, BODMAS, PEMDAS) with steps

Free TutorAura tool · no sign-up · Updated

Type a calculation like 2+3×(4+1)22 + 3 \times (4 + 1)^2 and see it worked out one operation at a time, in the order taught at school: Brackets, Indices (powers), Division and Multiplication from left to right, then Addition and Subtraction from left to right. The UK calls this BIDMAS or BODMAS; the US calls it PEMDAS. Answers are exact, so 0.1+0.20.1 + 0.2 gives 310\tfrac{3}{10}, not a long decimal.

Loading the tool

The order, in one table

StepBIDMAS / BODMASPEMDASExample
1BracketsParentheses(4+1)=5(4 + 1) = 5
2Indices / OrdersExponents52=255^2 = 25
3Division and Multiplication, left to rightMultiplication and Division, left to right3×25=753 \times 25 = 75
4Addition and Subtraction, left to rightAddition and Subtraction, left to right2+75=772 + 75 = 77

The letters differ but the rules are the same. See BIDMAS vs BODMAS vs PEMDAS.

The left-to-right rule

Multiplication and division have equal priority, and so do addition and subtraction. Work them from left to right:

  • 8÷2×4=4×4=168 \div 2 \times 4 = 4 \times 4 = 16 (not 8÷8=18 \div 8 = 1)
  • 10−4−3=6−3=310 - 4 - 3 = 6 - 3 = 3 (not 10−1=910 - 1 = 9)

This is the most common source of mistakes, and the calculator's steps show exactly which operation goes first.

Powers and negative numbers

  • −22=−4-2^2 = -4: the power applies to 2 only, then the negative sign.
  • (−2)2=4(-2)^2 = 4: the brackets make the whole −2-2 the base.
  • 232=29=5122^{3^2} = 2^9 = 512: stacked powers are worked from the top down.

The viral questions

Questions like 6÷2(1+2)6 \div 2(1 + 2) go viral because of implied multiplication (a number written right next to a bracket). Following the standard rules, 2(1+2)2(1 + 2) is just 2×32 \times 3, and 6÷2×3=3×3=96 \div 2 \times 3 = 3 \times 3 = 9. Some people, and some older calculators, give implied multiplication a higher priority and get 1. The calculator follows the standard convention and tells you when an expression uses implied multiplication. In real maths, write it unambiguously with extra brackets.

Tips for exams

  • Underline the operation you'll do next before doing it.
  • Rewrite the whole expression after each step, as the calculator does.
  • On a calculator, type the expression exactly as written, with brackets, and compare with your working.

Frequently asked questions

Is BIDMAS the same as PEMDAS?

Yes. They use different words (brackets/parentheses, indices/exponents) but the order is the same.

Does multiplication come before division?

No. They have equal priority and are worked from left to right, whichever comes first.

What symbols can I use?

Numbers, decimals, + − × ÷ (or * and /), ^ for powers, and brackets ( ), [ ] and { }.

Sources

  1. National curriculum in England: mathematics programmes of study. Department for Education.
  2. Common Core State Standards for Mathematics. Common Core State Standards Initiative.