Scientific Calculator
Evaluate a typed mathematical expression with functions, constants and correct operator precedence.
Details
Trigonometric functions take radians. Supported: + - * / ^, parentheses, sqrt, abs, ln, log (base 10), exp, sin, cos, tan, asin, acos, atan, pi and e.
Your Results
What Scientific Calculator does
Type an expression the way you would write it and get the result, rather than entering it one button at a time. That suits anything with nested parentheses or several functions, where a button-based calculator is easy to get lost in.
The expression is parsed properly, so precedence is respected: multiplication before addition, and parentheses before everything.
- Arithmetic with + − × ÷, exponentiation and parentheses
- Functions: sqrt, abs, ln, log, exp, sin, cos, tan, asin, acos, atan
- Constants pi and e
- Clear message for a malformed expression
How to use Scientific Calculator
- 1
Type your expression
Use * for multiplication and ^ for powers, for example 2^10 or sqrt(144).
- 2
Use parentheses for clarity
They cost nothing and remove any ambiguity about what you meant.
- 3
Read the result
An invalid expression produces a message naming the problem instead of a wrong number.
Example
Precedence and functions
Input
2 + 3 * 4
(2 + 3) * 4
sqrt(16) + 2^3
sin(pi / 2)Output
14
20
12
1Trigonometric functions take radians, not degrees. To use degrees, convert first: sin(30 * pi / 180).
Limits and known behaviour
- Trigonometric functions work in radians. Entering sin(90) gives the sine of 90 radians, not of 90 degrees.
- There is no memory, no history and no variables.
- Results use double-precision floating point, so very large or very small values lose precision, and expressions such as 0.1 + 0.2 show the familiar binary rounding residue.
- Complex numbers, matrices, symbolic algebra and calculus are not supported.
- There is no unit handling; the calculator works with plain numbers.
Privacy and data handling
Runs entirely in your browser
- The calculation runs in this page. Nothing you enter is transmitted or stored.
- The tool works offline once the page has loaded.
Site-wide data handling, including analytics and advertising, is described in the privacy policy.
Frequently asked questions
Why does sin(90) not give 1?
Because the argument is in radians, and 90 radians is a completely different angle. For degrees, multiply by pi and divide by 180 first.
Why does 0.1 + 0.2 not give exactly 0.3?
Neither 0.1 nor 0.2 can be represented exactly in binary floating point, so their sum carries a tiny residue. Every calculator using standard floating point behaves this way.
What is the difference between log and ln?
Here log is base 10 and ln is the natural logarithm, base e. That convention is common but not universal, so check what other tools mean by log.