Math calculator

Online calculator

Answer

(12 + 8) × 3 ÷ 4 = 15

Type an expression or use the keypad.

A free online calculator for arithmetic with brackets, percentages and powers. It follows the standard order of operations: brackets, powers, multiplication and division, then addition and subtraction.

How it’s calculated

  1. Brackets first: 12 + 8 = 20.
  2. Then multiplication and division, left to right: 20 × 3 = 60, 60 ÷ 4 = 15.
  3. % divides by 100 (50% = 0.5); ^ raises to a power (2^3 = 8).

Order of operations

Also called PEMDAS or BODMAS: Parentheses/Brackets, Exponents/Orders, Multiplication and Division (left to right), Addition and Subtraction (left to right). 6 ÷ 2 × 3 = 9, because division and multiplication are worked left to right.

Frequently asked questions

What is 6 ÷ 2(1 + 2)?

Following the standard left-to-right rule it is 9, though the notation is ambiguous; writing (6 ÷ 2) × 3 avoids confusion.