Study and engineering estimates
Quickly compute trigonometry, logarithms, exponentials, square roots and powers, switching between DEG and RAD as needed.
Guide
Scientific Calculator parses mathematical expressions in your browser rather than handing the input to eval or executing arbitrary code. The implementation is a self-contained recursive-descent parser that supports addition, subtraction, multiplication, division, remainder, parentheses, powers and factorials, plus sin, cos, tan, asin, acos, atan, log, ln, sqrt, abs and exp; π, e and the previous result Ans are also available. Trigonometry can switch between DEG (degrees) and RAD (radians).
Updated 2026-09-102 min read
sin(30)+sqrt(16).= to calculate; the result becomes the new Ans.| Input | Output | Notes |
|---|---|---|
sin(30)+sqrt(16) in DEG |
4.5 | sin is interpreted as degrees |
5! |
120 | Factorials support non-negative integers only |
Ans*2 |
Twice the previous result | Ans exists only in the current page session |
+ - * × / ÷ % ^ !, parentheses and the listed functions; an unknown function or character raises an error.1e-15 is shown as 0, so this is not an arbitrary-precision calculator.Quickly compute trigonometry, logarithms, exponentials, square roots and powers, switching between DEG and RAD as needed.
Reference the previous result with Ans and review recent expressions in the local history without retyping them.
No. The implementation only parses allowed numbers, operators, constants and function names; it cannot execute arbitrary scripts.
In the current browser's localStorage, up to 50 entries; it disappears if you clear site data.
Expressions are calculated locally in the browser; the history is written only to this browser's local storage and is not uploaded to a server.
Updated 2026-09-10
Safe expression parser with trigonometry, logarithms, factorials, powers and history
0
The keyboard supports digits, operators, parentheses and functions; Enter calculates, Esc clears. Results are rounded to 15 significant digits and Ans refers to the previous result.
No history yet. Click an entry to reuse the expression.