Mathematical Tools

Active tool: Scientific Calculator

Selected option: Press = or Enter to evaluate

What It Does

Evaluates typed math expressions with functions, constants, and correct order of operations — trigonometry (degrees or radians), logs, roots, powers, and factorials — right in your browser. Keeps a history of your calculations. Nothing is uploaded.

How to Use It

  1. Type an expression like 2*(3+4)^2 and press = (or Enter).
  2. Switch Angle to degrees or radians for trig.
  3. Use π, e, or ans (your last result) inside expressions.
  4. Tap a keypad button to insert a function or symbol at the caret. Available functions include:
    • Trigonometry: sin, cos, tan and their inverses asin, acos, atan, plus the hyperbolic sinh, cosh, tanh.
    • Logs & exponentials: log (base 10), ln (natural), log2 (base 2), and exp (eˣ).
    • Roots & powers: (square root), (cube root), ^ (power), and pow(base, exp).
    • Rounding & sign: abs, floor, ceil, round, and sign.
    • Multi-value: min(a, b, …), max(a, b, …), hypot(a, b), and mod(a, b) (remainder).
  5. Click a history item to reuse it.

Options Explained

OptionDescription
AngleWhether trig functions use degrees or radians.
PrecisionHow many significant digits to show in the result.
ThousandsGroup the integer part of the result with separators.
ansA built-in name for your previous result.
💡 Tip: Multiplication can be implicit — 2pi, 3(4+5), and (1+2)(3+4) all work. Note 2^3^2 = 512 (powers apply right-to-left).

About Order of Operations, Radians & Powers

A calculator that respects the order of operations evaluates 2 + 3 * 4 as 14, not 20, because multiplication binds tighter than addition — and this tool follows the standard precedence (parentheses, then functions and powers, then × ÷, then + −). Two subtleties trip people up. First, exponentiation is right-associative, so 2^3^2 means 2^(3^2) = 512, matching mathematical convention. Second, trigonometric functions need an angle unit: sin(30) is 0.5 if 30 means degrees but about -0.988 if it means radians, which is why the degree/radian toggle matters.

Under the hood this calculator uses a small, purpose-built parser that recognizes only numbers, a fixed set of operators, and a whitelist of named functions — it never runs your input as code, so it’s both safe and completely private, computing everything on your device.