Order of operations calculator (BIDMAS, BODMAS, PEMDAS) with steps
Free TutorAura tool · no sign-up · Updated
Type a calculation like 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 gives , not a long decimal.
The order, in one table
| Step | BIDMAS / BODMAS | PEMDAS | Example |
|---|---|---|---|
| 1 | Brackets | Parentheses | |
| 2 | Indices / Orders | Exponents | |
| 3 | Division and Multiplication, left to right | Multiplication and Division, left to right | |
| 4 | Addition and Subtraction, left to right | Addition and Subtraction, left to right |
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:
- (not )
- (not )
This is the most common source of mistakes, and the calculator's steps show exactly which operation goes first.
Powers and negative numbers
- : the power applies to 2 only, then the negative sign.
- : the brackets make the whole the base.
- : stacked powers are worked from the top down.
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
- National curriculum in England: mathematics programmes of study. Department for Education.
- Common Core State Standards for Mathematics. Common Core State Standards Initiative.
Keep reading
BIDMAS, BODMAS and PEMDAS: the order of operations explained
Why the three acronyms mean the same thing, the left-to-right rule, and the mistakes to avoid.
Order of operations
Work out calculations in the right order: brackets, powers, then multiplication and division, then addition and subtraction.
Fraction calculator with steps
Add, subtract, multiply and divide fractions and mixed numbers, with the method shown.
Negative numbers
Order, add, subtract, multiply and divide negative numbers, using the number line and the sign rules.