Skip to main content
1+1
EN
All calculators

Categories

Scientific calculator

Result

Fill in the fields to see your result.

How it works

The expression is read left to right but resolved by precedence: parentheses first, then functions and exponents, then multiplication and division, then addition and subtraction — the same order taught in school (often remembered as PEMDAS). A leading minus sign binds more loosely than exponentiation, so −2^2 evaluates to −4, matching the convention used by most programming languages and calculators.

Functions are written with parentheses around their argument, like sin(30) or sqrt(16) — the degrees/radians toggle affects only sin, cos, tan and their inverses; sqrt, log and the others behave the same either way.

Formulas used

Supported functions

sin, cos, tan, asin, acos, atan, sqrt, log (base 10), ln (natural log), abs, exp

Supported constants

pi (π), e

Worked examples

Mixing operations

2^5 = 32, and adding a square root on top: 2^5 + sqrt(16) = 36.

A trigonometric expression

sin(30) + cos(60) = 1, exactly, in degree mode.

Assumptions and limits

  • All calculations happen in the browser using double-precision floating point, the same precision virtually all calculators use.
  • Only the listed functions and constants are recognized — custom variables are not supported.

Frequently asked questions

What order of operations does this follow?

Parentheses, then exponents, then multiplication/division/modulo (left to right), then addition/subtraction (left to right) — the standard convention used in math and in virtually every programming language.

How do I enter a negative exponent, like 2 to the power of −3?

Write 2^-3 — the parser reads the minus sign as applying to the exponent.

Does log mean base 10 or natural log?

log is base 10 here, matching how most calculators label it — use ln specifically for the natural (base e) logarithm.

Why did I get an error?

Usually an unmatched parenthesis, an unsupported function name, or dividing by zero — double-check the expression for typos and balanced parentheses.

Updated