Order of Operations Calculator
Tap the expression in on the keypad — or type it — and this calculator works it out one operation at a time, in BODMAS order: brackets first, then powers, then × and ÷ from left to right, then + and −. It is the PEMDAS calculator too — PEMDAS and BODMAS are the same order with different words. It runs the same verified engine as the Arithly Solve box, with exact fraction arithmetic, so 1/2 + 1/3 comes out as 5/6, not a rounded decimal. Free, no sign-up.
The result appears here as you type or tap.
The order, step by step
- 1. Brackets first — work out the part inside brackets before anything outside them; with brackets inside brackets, start with the innermost pair.
- 2. Orders — powers and roots next: 4² means 4 × 4, and a power is worked out before the ×, ÷, + or − around it.
- 3. Division and multiplication — these two have the same rank, so work them from left to right, in the order they appear.
- 4. Addition and subtraction — also the same rank as each other, and also worked from left to right.
The order is an agreement, not a trick: so that everyone who works out the same expression gets the same answer. Without an agreed order, 3 + 4 × 2 could be read as 14 or as 11 — the order of operations makes it 11.
PEMDAS and BODMAS — two names, one order
- PEMDAS — Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. The memory sentence is “Please Excuse My Dear Aunt Sally”.
- BODMAS — Brackets, Orders, Division, Multiplication, Addition, Subtraction.
- They state the same order — only the words differ: Parentheses are Brackets, and Exponents are Orders.
- The warning both names hide — the letters list multiplication before division, but the two are equal: never do every multiplication before every division. The same goes for addition and subtraction. Equal ranks always run left to right — that is the whole story behind the famous 6 ÷ 2(1 + 2) argument below.
How the calculator works
- The same engine as the Solve box. The keypad calculator is a faithful copy of the expression evaluator inside Arithly's solver — the same parser, the same exact fraction arithmetic, and every answer is checked by recomputing the whole expression with decimal arithmetic before it is shown.
- Exact fractions. Fractions stay fractions through every step, so 1/2 + 1/3 is exactly 5/6; decimals that do not come out whole are shown beside the fraction.
- One operation per line. Each step line performs a single operation, in the order the engine performs it, so you can follow the working exactly — including the left-to-right steps inside the ×/÷ rank and the +/− rank.
- Honest limits. Powers are worked out exactly up to the power 12; division by zero is refused with the reason; and letters, equations and percent signs are refused here because they belong to the other tools in the Solve box — never silently fudged.
Every answer can also be asked in words: the Solve box solves the same questions with hints and a whiteboard, and the worked examples below are its own output, word for word.
Think first
Arithly gives hints before the answer. For the first worked example below, the hints are:
- Follow BODMAS: brackets first, then powers, then × and ÷ (left to right), then + and − (left to right).
- Work out the innermost brackets first, one operation at a time.
- The value is 9.
Worked examples
What is 6 ÷ 2(1 + 2)?
- 6 ÷ 2 = 3
- 1 + 2 = 3
- 3 × 3 = 9
Answer: 9
The famous trap — the answer is not 1. Brackets first: 1 + 2 = 3. What is left is 6 ÷ 2 × 3, and division and multiplication have the same rank, so they run left to right: 6 ÷ 2 = 3, then 3 × 3 = 9. Reading it as 6 ÷ (2 × 3) is the mistake. Try the chip 6 ÷ 2(1 + 2) in the calculator above.
Find the value of 3 + 4 × 2
- 4 × 2 = 8
- 3 + 8 = 11
Answer: 11
That is the first chip in the calculator above — the multiplication is worked before the addition, even though the addition is written first.
What is 3 plus 4 times 2?
- 4 × 2 = 8
- 3 + 8 = 11
Answer: 11
The same question in words — the Solve box turns “plus” and “times” into symbols and follows the same order. In the calculator, tap 3 + 4 × 2.
Which operation do you do first in 3 + 4 × 2?
- BODMAS order: brackets first, then powers, then × and ÷ (left to right), then + and − (left to right).
- First: 4 × 2 = 8.
- 3 + 8 = 11.
- Worked out in full, the expression comes to 11.
Answer: Multiplication first: 4 × 2 = 8
Sometimes the question is about the order itself, not the final value — the Solve box answers those too, and shows the full working after the first step.
Ask it in words
Every shape below is one the Arithly Solve box answers today, with the same hints, steps and checking as the examples above:
- Expressions, plain or dressed — “3 + 4 × 2”, “Find the value of 3 + 4 × 2”, “Evaluate the expression 5 × (2 + 3)”, “Using BODMAS, evaluate 3 + 4 × 2”, “3 + 4 × 2 = ?” — square brackets [ ] and braces { } work as brackets too.
- Operations in words — “What is 3 plus 4 times 2?”, “What is 10 minus 2 times 3?”, “What is 6 divided by 2 times (1 plus 2)?” — whole chains of plus, minus, times, multiplied by and divided by.
- Which comes first — “Which operation do you do first in 3 + 4 × 2?”, “What is the first step in evaluating 2 × 3²?”, and named pairs: “Does multiplication come before addition?”
- True or false — “True or false: 2 + 3 × 4 = 20” — the left side is worked in BODMAS order and compared with the right.
- Add the brackets — “Add brackets to 3 + 4 × 2 to make 14” — including the honest answer when no brackets are needed.
- The ideas themselves — what PEMDAS and BODMAS stand for, the order of operations in full, why the order exists, the difference between PEMDAS and BODMAS, and the Aunt Sally mnemonic.
Honest notes: expressions with letters are algebra, and the Solve box handles those as algebra instead; division by zero inside an expression is declined with the reason; informal endings (“in your head”, “please”) are not understood; and a power written in words — “(3 + 4) squared” — is not covered: write it as (3 + 4)^2, as the keypad does.
Practice
Each question opens in the Arithly solver — try it yourself first, then compare:
- What is 2 + 3 × 4? Try it in the solver →
- Evaluate the expression 5 × (2 + 3) Try it in the solver →
- What is 10 minus 2 times 3? Try it in the solver →
Related topics
Pi Calculator
The previous calculator: pi to any number of decimal places, circumference and area with exact pi or a stated pi = 3.14 or 22/7, and pi times any number.
Exponent Calculator
Powers on their own — the second rank of the order: what a power means, worked out step by step.
Four Function Calculator
Addition, subtraction, multiplication and division one at a time, with the working shown.
HCF and LCM
The next topic: highest common factors and lowest common multiples, by listing and by prime factors.
More topics: all maths topics · Next topic: Pythagorean Theorem Equation Solver
Arithly — free maths help, hints first. About · Privacy · Licence (CC BY-NC 4.0)