Scientific Calculator
Free online scientific calculator with trig functions, logarithms, exponents, memory, parentheses, and a history of recent calculations.
About Scientific Calculator
This scientific calculator brings the functionality of a physical scientific calculator to your browser. It handles everything from basic arithmetic to trigonometry, logarithms, and exponents, all with a responsive button layout and keyboard support.
Basic and Scientific Operations
Beyond standard addition, subtraction, multiplication, and division, the calculator supports sin, cos, tan (with degree and radian modes), log (base 10), ln (natural logarithm), square root, power (x^y), factorial, and the constants pi and e. Parentheses let you build complex nested expressions.
Memory Functions
Four memory buttons let you store, recall, add to, and subtract from a persistent memory register. This is useful for multi-step calculations where you need to carry intermediate results forward without writing them down.
Calculation History
The last five calculations are saved in a history panel so you can review previous results and reuse them. This is especially helpful when you are working through a series of related problems.
Keyboard Support
Type numbers and operators directly from your keyboard for faster input. The Enter key evaluates the expression, Backspace deletes the last character, and Escape clears the display. Combined with the button grid, this provides a flexible input experience.
For statistics work, the standard deviation calculator handles data set analysis with step-by-step breakdowns. All calculations are performed locally in your browser using JavaScript math functions.
Frequently Asked Questions
How do I switch between degrees and radians?
Use the DEG/RAD toggle at the top of the calculator. When set to DEG, trigonometric functions like sin, cos, and tan interpret input as degrees. When set to RAD, they interpret input as radians. The current mode is always displayed so you know which system is active.
How do the memory functions work?
The calculator provides four memory operations: M+ adds the current display value to memory, M- subtracts it from memory, MR recalls the stored memory value into the display, and MC clears the memory. The memory indicator lights up when a value is stored.
Can I use my keyboard to type expressions?
Yes. Number keys, arithmetic operators, parentheses, period, Enter for equals, Backspace for delete, and Escape for clear all work from your keyboard. This makes it easy to type long expressions quickly without clicking buttons.
How is the factorial function calculated?
The factorial button (n!) computes the product of all positive integers up to the current value. It only works on non-negative integers up to 170, which is the largest factorial that fits within standard floating-point precision. Decimal or negative inputs will show an error.