The same order as the textbook, every step in view and exact math.
A numeric expression is always solved in the same order. Groups first: what is inside parentheses ( ), then brackets [ ], then braces { }, from the innermost group outward. Inside each group, and outside them, the order is powers and roots; then multiplications and divisions, in the order they appear, left to right; and last additions and subtractions, also left to right. So 10 + 2 × 3 is 16, not 36, and 20 ÷ 4 × 5 is 25, not 1. This is the same result as PEMDAS or BODMAS, which only name the steps differently. In {[(8 − 3) × 2 + 2²] ÷ 7} + 3 the tool solves (8 − 3) = 5, then the power 2² = 4, then 5 × 2 = 10, then 10 + 4 = 14, then 14 ÷ 7 = 2 and finally 2 + 3 = 5. Independent operations of the same phase move together in one step, while a chain like 20 ÷ 4 × 5 moves one operation at a time. The math uses exact fractions: 0.1 + 0.2 is exactly 0.3, and 1/2 + 1/3 shows the LCM (6) before adding and ends at 5/6. Signs follow the sign rules: 5 − (−3) becomes 5 + 3, and −3² is −9 while (−3)² is 9. Exact roots (√81 = 9) come out as whole numbers; inexact ones become approximate values with 12 places, marked with ≈.
How to use
Type the expression and follow each highlighted step.
Type the expression or tap the symbols on the keyboard. Use / without spaces for fractions (3/4) and a space between the whole part and the fraction for a mixed number (2 1/3).
Each step shows the expression with the part about to be reduced highlighted, the name of the rule and notes such as the LCM or simplification. The final result appears as a fraction, a decimal and a percentage.
Try the textbook examples, generate exercises by level in teacher mode with the solution hidden, and copy the full solution to a notebook or a document.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/order-of-operations-calculator"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="Order of Operations Calculator with Steps"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/order-of-operations-calculator">J-Kit</a></p>
Cite
Cite or link to this tool
Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/order-of-operations-calculator">Order of Operations Calculator with Steps</a>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Groups first (parentheses, then brackets, then braces, always innermost outward). Inside each group: powers and roots; multiplications and divisions, left to right; additions and subtractions, left to right. Example: 2 + 3 × 4² = 2 + 3 × 16 = 2 + 48 = 50.
Accepts parentheses, brackets and braces, × ÷ + −, powers (2^3 or 2³), roots (√9, ∛27, sqrt(16)), percent, absolute value |x|, decimals and fractions. 1/2 without spaces is the fraction; 1 / 2 with spaces is a division.
Examples
5
As a percentage500%
Steps6
1
Step 1. Inside parenthesesAddition and subtraction
{[(8−3)×2+22]÷7}+3
2
Step 2. Inside bracketsPowers
{[5×2+22]÷7}+3
3
Step 3. Inside bracketsMultiplication and division
{[5×2+4]÷7}+3
4
Step 4. Inside bracketsAddition and subtraction
{[10+4]÷7}+3
5
Step 5. Inside bracesMultiplication and division
{14÷7}+3
6
Step 6. Addition and subtraction
2+3
=
Result
5
Teacher mode: generate an exercise
Level
The exercise appears in the field with the solution hidden. Results for levels 1 to 3 are always whole numbers.
Display options
All the math happens in your browser. No expression is sent to any server.