Scientific Calculator
Evaluate expressions with a hand-written parser — no eval.Math & StatisticsScientific Calculator
Evaluate expressions with + − × ÷ % ^ parentheses, constants (pi, e) and functions: sin cos tan asin acos atan sqrt ln log10 abs round. Nothing is eval()ed — the parser is hand-written.
About this tool
Operator precedence, parentheses, powers, pi and e constants, and trig, log and root functions — parsed by a recursive-descent parser written for this tool, so input is never executed as code.
How to use the Scientific Calculator tool
- Type the expression. Or click a preset to fill it in.
- Choose degrees or radians. For the trig functions.
- Read the value. Shown to 12 significant digits.
Supported formats
Input
- Plain text or file input
Output
- Converted or analysed output
Inputs are validated before anything is processed. Invalid values and unsupported files are rejected with a clear error instead of failing silently.
Frequently asked questions
Which functions are supported?
sin, cos, tan (and inverses), sqrt, ln, log10, abs, round.
Is my expression executed?
No. A hand-written parser reads it; eval is never called.
Why does sin(30) need degrees?
A toggle decides: degrees by default, radians when unticked.
Privacy
Everything you enter stays in this browser tab. There is no upload endpoint for tool inputs, no account, and no server-side copy of your text or files. Results are produced locally and disappear when you close the page.
No account is required and no file is ever uploaded. See the privacy policy for details about analytics and the limited data this site stores.
Known limitations
- No memory registers, variables or programming constructs.
Related tools
Other free tools from the same collection.