Math Calculator

Evaluate arithmetic expressions with addition, subtraction, multiplication, division, powers, and parentheses.

Share this calculator

Supported operations

  • Arithmetic: +, -, *, /
  • Power: ^ (e.g. 2^3)
  • Parentheses: ( )
  • Functions: sqrt, abs, sin, cos, tan, log, ln, ceil, floor, round
  • Constants: pi, e
Enter an expression Type a mathematical expression to evaluate, such as 2 + 3 * 4 or sqrt(16) + 2^3.

Also in General

General Math

General-purpose arithmetic expression evaluator

The math calculator evaluates arithmetic expressions involving addition, subtraction, multiplication, division, exponents, and parentheses. Type any expression and get the result instantly.

Supported operations

This calculator handles the four basic arithmetic operations — addition, subtraction, multiplication, and division — along with exponentiation and grouping with parentheses. It follows standard order of operations (PEMDAS): parentheses first, then exponents, then multiplication and division left to right, then addition and subtraction left to right.

Decimal numbers and negative values are fully supported. Division by zero returns an error rather than infinity.

Order of operations

The standard mathematical convention (PEMDAS/BODMAS) governs evaluation order. Expressions inside parentheses are evaluated first. Without parentheses, exponents bind most tightly, followed by multiplication and division, then addition and subtraction. Operators at the same precedence level are evaluated left to right.

Frequently asked questions

Does the calculator follow order of operations?

Yes. It uses the standard PEMDAS/BODMAS convention: parentheses, exponents, multiplication/division, then addition/subtraction.

Can I use nested parentheses?

Yes. You can nest parentheses as deeply as needed, for example ((2 + 3) * (4 - 1)) / 5.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.