Math Problem Calculator

Use + - * / ^ ( ) and % for remainder. Multiplication and division are done before addition and subtraction. In "words" mode, type the sum in plain English instead.
Exact mode reads every decimal you type as a fraction and works in whole-number numerators and denominators. It cannot use pi, e or functions such as sqrt.
Name a value the expression may use, e.g. "l = 12, w = 7" with an expression of 2 * (l + w).
Changes how the answer is written out. It never changes the arithmetic.
Result
58
Basic Arithmetic Calculator
Unrounded result
58
Expression evaluated
8 + 2 * (6 - 1)^2
Result with separators
58
Result as a fraction
58
Operation
Expression
Arithmetic used
Binary floating point (IEEE-754 double)
Worked out from ISO 80000-2, Quantities and units — Part 2: Mathematics (operator symbols and precedence) and 3 other sources.

How this is worked out

5 steps
  1. Evaluate 8 + 2 × (6 - 1)^2 using standard operator precedence.
  2. 1. [Parentheses → Subtraction] 6 - 1 = 5 → 8 + 2 × 5^2
  3. 2. [Exponent] 5^2 = 25 → 8 + 2 × 25
  4. 3. [Multiplication] 2 × 25 = 50 → 8 + 50
  5. 4. [Addition] 8 + 50 = 58 → 58
Step-by-step workingtable
1. [Parentheses → Subtraction] 6 - 1 = 5 → 8 + 2 × 5^2, 2. [Exponent] 5^2 = 25 → 8 + 2 × 25, 3. [Multiplication] 2 × 25 = 50 → 8 + 50, 4. [Addition] 8 + 50 = 58 → 58

Results are general information, not financial, tax, legal, medical or engineering advice.