Your recent calculations will appear here.
What Is a Scientific Calculator?
A scientific calculator extends a basic four-function calculator with trigonometric functions (sin, cos, tan), logarithms (log, ln), roots and powers, and constants like π and e - the tools needed for algebra, trigonometry, geometry, physics, and engineering coursework. This one runs entirely as JavaScript in your browser, respects standard mathematical order of operations, and supports both button clicks and keyboard input.
Internally, every expression you type is parsed by a small hand-written tokenizer and recursive-descent parser - not by handing your input to a generic script interpreter - so operator precedence (powers before multiplication/division before addition/subtraction) and parentheses are always resolved correctly and safely.
Supported Functions & Buttons
| Button | What it does |
|---|---|
| sin, cos, tan | Trigonometric functions - use the DEG/RAD toggle to switch the angle unit |
| log | Base-10 logarithm, e.g. log(100) = 2 |
| ln | Natural logarithm (base e), e.g. ln(1) = 0 |
| √ | Square root, e.g. √(16) = 4 |
| x² | Squares the current value |
| x^y | Raises a number to any power, e.g. 2^10 = 1024 |
| π, e | Mathematical constants pi (≈3.14159) and e (≈2.71828) |
| % | Converts the number to a hundredth, e.g. 50% = 0.5 |
| MC, MR, M+, M- | Clear, recall, add to, or subtract from calculator memory |
| C, ⌫ | Clear the whole expression, or backspace one character |
Common Uses for a Scientific Calculator
Frequently Asked Questions
No. Every calculation happens instantly in your own browser using JavaScript - nothing you type is ever uploaded or stored on a server.
Deg (degrees) and Rad (radians) are two different units for measuring angles used by sin, cos, and tan. Use Deg mode for everyday angles like 90 or 180, and Rad mode when working with angles expressed in terms of pi, such as in higher math or physics.
Yes. You can type digits, +, -, *, /, ^, %, parentheses, Enter or = to calculate, Backspace to delete, and Escape to clear - no need to click the on-screen buttons.