Expression calculator: order of operations
Evaluate expressions with parentheses, powers, ×÷ and +- respecting PEMDAS. Solve inner then outer parentheses, avoid left→right error. Enter any expression using + - * / : ^ ** sqrt() and brackets () [] {}. Fractions like 2/3 stay exact and are auto-simplified via GCD. Repeating decimals like 0.(3) or 2.0(6) become exact generating fractions.
TL;DR
- Parentheses → exponents → multiplication/division → addition/subtraction.
- Formulas: Parentheses → Exponents → ×÷ → +-
- 2+3×4 — 3×4=12
How it works
Parentheses → exponents → multiplication/division → addition/subtraction. Functions sin, log with correct priority. Enter any expression using + - * / : ^ ** sqrt() and brackets () [] {}. Fractions like 2/3 stay exact and are auto-simplified via GCD. Repeating decimals like 0.(3) become exactly 1/3.
The math
2+3×4=14 not 20 because × binds tighter than +. sin30+log10 100=0.5+2=2.5. Implicit multiplication like 2(3+4) follows the same rules; percent handling varies between tools, so test 50+10% on a known case before trusting chained results.
PEMDAS guarantees 2+3×4=14.
Examples
2+3×4
- 3×4=12
- 2+12=14
sin30+log10 100
- 0.5
- 2
- 2.5
(2+3)×4²
- Parens 5
- 4²=16
- 5×16=80
When to use it
✦ Homework
Check homework expressions step by step against the worked solution.
✦ Quick
Run mixed arithmetic with roots, powers and logs in a single line.
✦ Checks
Verify hand computations and catch misplaced parentheses before submitting.
⚠ Common mistakes
- Missing parentheses: 2+3×4 means 14, while (2+3)×4 means 20.
- Degrees vs radians: sin(30°) = 0.5 but sin(30 rad) ≈ −0.99 — check the mode.
- Forgetting ^ binds first: 2×3^2 means 2×9 = 18, not 36.
FAQ (9)
PEMDAS?
Parentheses, exponents, ×÷, +-.
Degrees radians?
360°=2π rad.
0.(3)?
Exactly 1/3.
Why does another calculator give a different answer?
Usually degrees vs radians, implicit multiplication, or percent handling. Repeat the same keystrokes — 2+3×4 must be 14 everywhere that follows PEMDAS.
How do I type fractions and roots?
Write fractions with / (2/3 stays exact and simplifies), roots with sqrt(), powers with ^ or **, and group with () [] {}.
Is my data kept private when I use these everyday tools?
Yes. Whether it's a word count or a time-between-dates check, nothing is sent to a server. The page does the counting locally — you can paste a draft, get 1,242 words and 6 min reading time, and close it without a trace.
Do I need internet after the first load?
Not really. Once cached, word-counter, hours, fuel-cost and the rest work offline. Handy if you're drafting on a train or counting hours on site without signal — load once, use anywhere.
How reliable are the results for work?
They follow documented rules — reading time at 200-250 wpm, hours as decimal, etc. — and are tested automatically. For casual use they're spot-on; for payroll with overtime rules or legal word-count filings, do a final check against your HR or editorial guide.
What's the fastest way to share a result?
'Share Link' does it. It encodes your inputs in the address bar, so the other person sees the exact same hours (e.g. 09:15 to 17:45 = 8h 30m) without you retyping.
Sources & References
How this calculator is maintained
This calculator is written and maintained by Davide Coronese, independent developer and founder of CalcTracker.
Methodology: every formula is checked against official publications and validated by an automated test suite before release. Health, tax and finance pages cite the exact sources they rely on.
Found an error? Contact us — verified corrections ship within 24 hours.