Scientific Calculator
A scientific calculator with trigonometry, logarithms, roots, powers, factorials, and memory, plus a running history. Runs entirely in your browser.
This works right here on your device — nothing gets sent out.
Example shown — type your own expression, or build one with the buttons below.
Result
History
How the scientific calculator works
- Type an expression directly, or build one with the sin/cos/log/memory buttons — each function button inserts its opening parenthesis for you.
- Choose Deg or Rad if your expression uses trigonometric functions.
- Press Enter or "=" to calculate. The result appears above, and the expression is added to your local history. Use Copy result to copy the answer.
- For nCr and nPr, enter two values separated by a comma, for example nCr(5,2).
- Click any history entry to load it back into the expression field and recalculate it.
Order of operations and functions
Expressions are evaluated with standard order of operations: parentheses and functions first, then powers (right to left), then factorial and percent, then multiplication and division, and finally addition and subtraction.
sin(30) + 2^3 = 0.5 + 8 = 8.5
In the example above, sin(30) is evaluated in degrees first (giving 0.5), then 2^3 is evaluated as 2 to the power of 3 (giving 8), and the two results are added last. Switching the angle unit to Rad changes what sin(30) means, so it recalculates the same expression differently.
FAQ
What operations does this scientific calculator support?
Addition, subtraction, multiplication, division, powers, square and cube roots, reciprocals, and parentheses, plus sin, cos, tan and their inverses, log (base 10), ln (natural log), absolute value, e to a power, factorial, combinations (nCr), permutations (nPr), and the constants π and e. Memory keys (MC, MR, M+, M-), an "Ans" key that reuses your last result, and a Copy result button are also available.
How do I switch between degrees and radians?
Use the Deg/Rad toggle above the expression field. It affects sin, cos, tan, and their inverse functions immediately, so switching modes re-evaluates whatever is currently in the expression box.
Is my calculation history saved anywhere?
It is saved only in your browser’s local storage, on your own device — never uploaded or sent to a server. Click any history entry to load it back into the expression field, or use "Clear history" to remove it.
Can I type expressions instead of clicking every button?
Yes. The expression field is a normal text input — type directly (e.g. "sqrt(81) + 3^2") and press Enter or click "=" to calculate. The buttons are there for functions and symbols that are slower to type.
Why do I get an error for something like 2.5!?
Factorial (!) is only defined for whole numbers zero or greater, so decimals and negative numbers are rejected with an explanation instead of a wrong answer.
How do I calculate combinations and permutations (nCr and nPr)?
Type or click nCr( or nPr( and enter n and r separated by a comma, for example nCr(5,2) = 10 and nPr(5,2) = 20. Both need whole numbers with r no greater than n. If the exact result would be too large to represent precisely, the calculator says so instead of showing a rounded number.
Can I write 2π or 3(4+1) without typing the multiplication sign?
Yes. A number, closing bracket or constant followed by a bracket, function or constant is multiplied automatically, so 2pi, 3(4+1) and (1+2)(3+4) work. To avoid silent misreadings, a number written straight after a constant, such as 2e3 or pi2, is rejected rather than guessed.
Why does tan(90) give an error?
The tangent of 90 degrees (or π/2 radians) is undefined, so the calculator reports that instead of a huge meaningless number. Angles near it, such as tan(89.999), still work.
Are my calculations sent to a server?
No. Every calculation, including the history, runs and stays entirely in your browser.
How we compare
| Feature | Online Tool Store | Calculator.net | ClassCalc | Desmos |
|---|---|---|---|---|
| Combinations and permutations (nCr, nPr) | Yes | Not listed | Yes | Not confirmed |
| Square, cube, cube root, reciprocal and 10ˣ keys | Yes | Yes | Not confirmed | Not confirmed |
| Memory keys | MC, MR, M+, M- | MR, M+, M- | Not confirmed | Not confirmed |
| Calculation history, no account needed | Yes, kept locally | Not listed | Not confirmed | Not confirmed |
| Degrees / Radians toggle | Yes | Yes | Not confirmed | Not confirmed |
| Implicit multiplication (2π, 3(4+1)) | Yes | Not confirmed | Not confirmed | Not confirmed |
Calculator.net's features come from its page; ClassCalc's nCr and nPr from its own listing. Desmos and ClassCalc load as apps, so anything marked Not confirmed could not be read from the page. Desmos is excellent when you need graphing alongside a calculator. Choose this Scientific Calculator for typed expressions, nCr and nPr, memory keys, and a private local calculation history without creating an account.