Scientific Calculator
Modern scientific calculator supporting basic operations, powers, roots, factorial, trigonometry (degrees or radians), inverse trig, logarithms (log and ln), constants π and e, memory keys (MC/MR/M+/M−), parentheses, calculation history, and full keyboard input. Runs entirely in your browser.
How to Use the Scientific Calculator
Build expressions with on-screen keys or your keyboard, toggle DEG/RAD for trig, use memory keys when needed, and press = or Enter to evaluate.
- Open the Scientific Calculator page.
- Choose DEG or RAD for trigonometry (shown below the display).
- Tap keys or type numbers and operators to build an expression.
- Use MC, MR, M+, and M− for memory operations when needed.
- Press = or Enter to evaluate; Escape or C clears; ⌫ deletes one character.
- Review the result and tap a history row to reuse a previous expression.
Available operations
- Arithmetic: +, −, ×, ÷
- Powers and roots: xʸ, x², √, ∛
- Trig: sin, cos, tan, asin, acos, atan (DEG or RAD)
- Logarithms: log (base 10), ln (natural)
- Other: n!, %, π, e, parentheses
Keyboard shortcuts
- Enter — evaluate
- Escape — clear expression and display
- Backspace — delete last character
- Digits and + − * / ( ) . — type directly
Common mistakes
- Using DEG mode when your formula expects radians (or vice versa).
- Forgetting parentheses so operator precedence changes the result.
- Applying factorial to non-integer or negative values.
Limitations
Browser floating-point precision applies. This is a general-purpose scientific calculator — not a computer algebra system, graphing tool, or unit converter.
FAQ
Are trig functions in degrees or radians?
You choose with the DEG/RAD toggle. sin, cos, tan, asin, acos, and atan use the selected angle mode. The display shows which mode is active.
Does it support keyboard input?
Yes. Type numbers and operators, Enter to evaluate, Escape to clear. Backspace deletes the last character.
What functions are available?
Basic arithmetic, powers (xʸ, x²), square root (√), cube root (∛), factorial (n!), percentage (%), sin/cos/tan and inverse trig, log and ln, constants π and e, and parentheses.
How do memory keys work?
MC clears memory, MR recalls it, M+ adds the current result to memory, and M− subtracts. The memory indicator shows when a non-zero value is stored.
Can I see past calculations?
Yes. Successful evaluations appear in a scrollable history list. Tap a history row to reuse its expression.
What happens when an expression is invalid?
The calculator shows an error instead of a numeric result — for example unmatched parentheses, division by zero, or invalid factorial input.
Does order of operations apply?
Yes. Expressions respect standard operator precedence. Use parentheses when you need to force a specific evaluation order.
How precise are results?
Results use JavaScript floating-point math. Very large numbers, repeated decimals, or extreme factorial inputs may show rounding typical of browser arithmetic.
Is data sent to a server?
No. Expressions are evaluated locally in your browser. History and memory stay on the page until you reset or leave.
What is the difference between log and ln?
log uses base-10 logarithm; ln uses natural logarithm (base e). Both expect a positive argument.