Mathematical Tools
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
- Type an expression like
2*(3+4)^2and press = (or Enter). - Switch Angle to degrees or radians for trig.
- Use π, e, or ans (your last result) inside expressions.
- Tap a keypad button to insert a function or symbol at the caret. Available functions include:
- Trigonometry:
sin,cos,tanand their inversesasin,acos,atan, plus the hyperbolicsinh,cosh,tanh. - Logs & exponentials:
log(base 10),ln(natural),log2(base 2), andexp(eˣ). - Roots & powers:
√(square root),∛(cube root),^(power), andpow(base, exp). - Rounding & sign:
abs,floor,ceil,round, andsign. - Multi-value:
min(a, b, …),max(a, b, …),hypot(a, b), andmod(a, b)(remainder).
- Trigonometry:
- Click a history item to reuse it.
Options Explained
| Option | Description |
|---|---|
| Angle | Whether trig functions use degrees or radians. |
| Precision | How many significant digits to show in the result. |
| Thousands | Group the integer part of the result with separators. |
| ans | A built-in name for your previous result. |
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.