Skip to content

Scientific Calculator

Evaluate math expressions with functions, powers, roots, logs and trigonometry.

Runs offline in your browser — no expression leaves your device.

Use + − * / ^ % ( ), and functions like sin, cos, tan, log, ln, sqrt, abs.
Angle mode

What is a scientific calculator and what can it evaluate?

A scientific calculator evaluates full math expressions using + − * / ^ % and ! (factorial); functions like sin, cos, tan, sqrt, cbrt, exp, ln, log, log2, floor, ceil, min and max; and constants pi, e and tau, in degrees or radians. Exponentiation is right-associative. For example, sqrt(16) + 2^3 * sin(30) in degrees equals 8, 2^3^2 equals 512, and 5! equals 120.

Understanding your result

The calculator parses your input safely (it never uses JavaScript eval), so invalid expressions are reported instead of breaking.

Formula and method

Supports + − * / ^ % and ! (factorial); functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, sqrt, cbrt, abs, exp, ln, log, log2, floor, ceil, round, min, max; and constants pi, e, tau. Exponentiation is right-associative and binds tighter than a leading minus.

Assumptions and limitations

It evaluates numeric expressions you type and does not perform symbolic algebra, solve equations or plot graphs. It parses input safely without JavaScript eval, so it reports invalid expressions instead of returning a guess, and trig results depend on choosing degrees or radians correctly.

Worked example

sqrt(16) + 2^3 * sin(30) in degrees equals 8; 2^3^2 equals 512; 5! equals 120.

How to use this tool

  1. Type an expression, e.g. 2^10 + sqrt(144).
  2. Choose degrees or radians for trigonometry.
  3. Press Calculate to see the result.

About the Scientific Calculator

The Scientific Calculator evaluates full math expressions — powers, roots, logarithms, trigonometry, factorials and constants — respecting standard order of operations, all in your browser.

Who should use this tool

Students working through algebra, trigonometry and calculus, engineers evaluating quick expressions, and anyone who needs powers, roots, logarithms, factorials and trigonometric functions typed into a single expression rather than tapping keys one at a time on a physical handheld calculator.

Benefits

  • Respects standard order of operations across a whole expression
  • Supports trigonometry, logarithms, roots, factorials and constants
  • Parses input safely, never using JavaScript eval
  • Reports invalid expressions clearly instead of breaking

Practical use cases

  • Evaluating a multi-step expression in one go
  • Checking a trigonometry or logarithm answer during revision
  • Computing a factorial or power quickly for coursework
  • Using constants like pi and e inside a calculation

Explore all Mathematics tools

Frequently asked questions

Does % mean percent or remainder?

Here % is the remainder (modulo) operator, so 10%3 = 1. For percentages, use the dedicated percentage tools.

Can I use pi and e?

Yes — type pi, e or tau anywhere in an expression, for example 2*pi*r.

Is exponentiation left or right associative here?

Exponentiation is right-associative, so 2^3^2 is read as 2 raised to the power of 9, which equals 512, not 8 squared. It also binds more tightly than a leading minus sign. This matches standard mathematical convention rather than left-to-right evaluation.

How do I compute a factorial?

Use the exclamation mark after a whole number, so 5! multiplies 5 by 4 by 3 by 2 by 1, giving 120. Factorials are only defined for non-negative whole numbers, and they grow extremely quickly as the input increases.

Share this tool

Free to use — copy the link, share it anywhere, or add the tool to your own website.

Embed this tool on your site (free)

Copy this code and paste it into any web page — it stays free and always up to date: