Order of Operations Calculator

Without a fixed order, 2 + 3 × 4 could mean 20 or 14.

About this calculator

Without a fixed order, 2 + 3 × 4 could mean 20 or 14. PEMDAS resolves that: multiply before add, so the answer is 14. Parentheses override everything inside them first.

Type an expression using digits, +, −, *, /, ^, and parentheses. The calculator parses and evaluates left-to-right within each precedence level.

Use it to check homework, settle calculator disputes, or sanity-test spreadsheet formulas. For step-by-step long division try the [[long-division]] calculator. For powers alone use the [[exponent]] calculator. For a full keypad see the [[math-calculator]].

Common uses

  • Verify PEMDAS homework answers
  • Evaluate nested formulas quickly
  • Check whether parentheses change the result
  • Test simple expressions before coding them

Frequently asked questions

What is 2 + 3 × 4?

14. Multiplication comes before addition: 3 × 4 = 12, then 2 + 12 = 14. Writing (2 + 3) × 4 would give 20.

Does this follow PEMDAS or BODMAS?

Same order — parentheses/brackets, orders/exponents, division and multiplication left to right, addition and subtraction left to right.

Can I use exponents?

Yes. Use ^ for powers, e.g. (2+3)^2 = 25. Exponentiation binds tighter than multiply and add.

What characters are allowed?

Digits, decimal points, +, −, *, /, ^, and parentheses. Spaces are ignored.