Loading Calculator...
Please wait a moment
Please wait a moment
Evaluate mathematical expressions following PEMDAS/BODMAS rules. Enter any expression with parentheses, exponents, multiplication, division, addition, and subtraction.
Use: + − × ÷ or * / for multiply/divide, ^ or ** for exponents, ( ) for grouping
Mathematical expressions must be evaluated in a specific order. Two common mnemonics help remember this order:
Important: Multiplication & Division have equal priority—evaluate left to right. Same for Addition & Subtraction.
2 + 3 × 4 = 20
Wrong! Should be 2 + 12 = 14 (multiply first)
8 ÷ 2 × 4 = 1
Wrong! Left to right: 8 ÷ 2 = 4, then 4 × 4 = 16
Always work parentheses from inside out
((2 + 3) × 2) + 1: First (2+3)=5, then 5×2=10, finally 10+1=11
Yes! When you have both multiplication and division (with no parentheses), evaluate them left to right. Same rule applies to addition and subtraction.
Implicit multiplication is when the × sign is omitted, like 2(3) or 2x. Most mathematicians treat it the same as explicit multiplication, but some interpret 2(3) as having higher priority. Be careful and use parentheses to be clear!
Different calculators may interpret expressions differently, especially with implicit multiplication or chained operations. Scientific calculators typically follow PEMDAS correctly, while basic calculators may just evaluate left to right.
Work from the innermost parentheses outward. For ((2+3)×4)+5: First do 2+3=5 (innermost), then 5×4=20 (next level), finally 20+5=25.
(-2)² = 4 (the negative is inside parentheses, so -2 × -2 = 4). But -2² = -4 (exponent applies only to 2, then negated: -(2²) = -4). Parentheses matter!
Yes, they're the same rules with different names. PEMDAS is used in the US, BODMAS in UK/India. The order is identical: Parentheses/Brackets, Exponents/Orders, then Multiplication-Division (equal), then Addition-Subtraction (equal).