Evaluate Expression Calculator

Substitute values for the letters and work out the exact value.

Use letters, brackets, + − × ÷ and whole powers.

Give each letter a value, separated by commas.

Try

Result

You entered3x2+2y3x^{2} + 2y

18\displaystyle 18
Show the work
  1. Substitution

    Replace each letter with its value (x=2x = 2, y=3y = 3), putting a negative value in brackets so its sign is not lost.

    3x2+2y=3×22+2×33x^{2} + 2y = 3 \times 2^{2} + 2 \times 3
  2. Order of operations

    Work out the powers first, then the multiplications, and finally add and subtract from left to right.

    12+6=1812 + 6 = 18
  3. Result

    So the value of the expression is 1818 when x=2x = 2, y=3y = 3.

Worked examples