Use this free math calculator with steps to enter a three-term expression and see every step in PEMDAS order, with the reason each operation is done first.
Math Steps Calculator
Not just the answer — every step, in the right order, with the reason why.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Math Steps Result
Calculated locally in your browser
—
Name
—
First number
—
First operation
—
Second number
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
A math steps calculator evaluates an expression in PEMDAS order: brackets first, then multiplication and division from left to right, then addition and subtraction. For two plus three times four, multiplication happens first, giving twelve, then the addition gives fourteen. This tool shows both steps and names the precedence rule it used.
- PEMDAS: multiplication/division before addition/subtraction
- Equal precedence operations run left to right
- Division by zero is undefined and is reported as an error
Order of operations (PEMDAS)
Reference values for this calculator.
| Priority | Operations | Rule |
|---|---|---|
| 1 | Brackets / parentheses | Always first |
| 2 | x and ÷ | Left to right, before + and - |
| 3 | + and - | Left to right, last |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Ideas enhancement: the steps explicitly name why an operation goes first — precedence or left-to-right — which is the teaching point generic calculators skip.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Multiplication before addition
6 x 3 + 4
| Calculation | Steps |
|---|---|
| Step 1: 6 x 3 = 18 (multiplication rank done as it comes first here). Step 2: 18 + 4 = 22. | 22. |
Result
Example 2
Precedence changes the answer
2 + 3 x 4
| Calculation | Steps |
|---|---|
| Step 1: multiplication outranks addition, so 3 x 4 = 12. Step 2: 2 + 12 = 14 (not 20). | 14. |
Result
Example 3
Decimal division then subtraction
10 / 4 - 0.5
| Calculation | Steps |
|---|---|
| Step 1: 10 / 4 = 2.5. Step 2: 2.5 - 0.5 = 2. | 2. |
Result
How to use this calculator
Step 1
Enter the first number and choose the first operation.
Step 2
Enter the second number and choose the second operation.
Step 3
Enter the third number.
Step 4
Press Calculate to see each step in PEMDAS order.
Step 5
Follow the reason given in step 1 — precedence or left-to-right.
Frequently asked questions
What order do calculations happen in?
PEMDAS/BODMAS: brackets first, then multiplication and division (left to right), then addition and subtraction (left to right). The steps show which rule applied to your expression.
Why is 2 + 3 x 4 equal to 14, not 20?
Multiplication outranks addition, so 3 x 4 = 12 is worked first, then 2 + 12 = 14.
What about division by zero?
It is undefined, and the calculator throws a clear error instead of inventing a value.
Can it do longer expressions?
This tool is scoped to three numbers and two operations so every step stays visible; longer expressions belong in the scientific calculator.
What comes first, addition or multiplication?
Multiplication (and division) always come before addition and subtraction, unless brackets say otherwise. That is why 2 + 3 x 4 = 14 and not 20.
About this calculator
A math steps calculator evaluates a three-term arithmetic expression in the correct order of operations (PEMDAS/BODMAS) and prints each step with the reason — precedence or left-to-right — so the method, not just the answer, is visible.
Order of operations exists because an expression like 2 + 3 x 4 is ambiguous without a shared convention: reading strictly left to right gives 20, while the agreed PEMDAS convention gives 14. Every calculator, spreadsheet and programming language follows the convention, so learning it is learning how maths is actually read worldwide.
The subtle rule most people miss is that multiplication and division share one rank, and addition and subtraction share another — within a rank you work left to right. So 12 / 3 x 2 is 8, not 2, because the division happens first as it appears earlier. This tool names which rule fired in its first step precisely because that is where errors happen.
Brackets override everything, which is why the general scientific calculator exists for longer expressions. Keeping this tool to three terms is deliberate: two operations are enough to demonstrate every precedence interaction while keeping the steps short enough to actually read and learn from.
Use it when checking homework, when a spreadsheet formula and a hand calculation disagree, when teaching a child order of operations, or whenever an expression mixes multiplication with addition and the answer 'feels' wrong.
How to calculate it yourself
Step 1
Write the expression with three numbers and two operations.
Step 2
Identify any multiplication or division — do those first, left to right.
Step 3
Then do the addition or subtraction, left to right.
Step 4
If both operations share a rank, simply work strictly left to right.
Step 5
Write the intermediate result after each step, as this calculator does.
Real-life examples
Shopping total with a multi-buy
A shopper buys 3 notebooks at $4 and one pen at $2.50: the expression is 3 x 4 + 2.50.
Multiplication first: 3 x 4 = $12. Then add: 12 + 2.50 = $14.50.
Total $14.50 — doing addition first would wrongly give $19.50.
Splitting a fuel bill
Three drivers share costs: $60 of fuel divided by 4 people, plus a $5 toll each person pays separately is not in the pot — the pot is 60 / 4 + 0 for the toll-free check.
60 / 4 = 15, then + 0 = 15.
Each pays $15 from the pot.
Ideas & use cases
- Homework self-marking: have the student write their steps first, then compare step order — not just the final answer — with the calculator's.
- Spreadsheet debugging: reproduce a suspect formula's three-term core here to see which precedence the sheet applied.
- Mental-maths warm-up: predict whether the right or left operation fires first before pressing Calculate, then check your instinct.
Limitations & sources
- Scoped to three numbers and two operations (+ - x ÷) so steps stay readable; no brackets, powers or functions.
Sources: Order of operations convention: OpenStax Prealgebra, 'Use the Language of Algebra / Order of Operations'
