Scientific Calculator
Type or tap an expression and get an exact answer. Supports order of operations, parentheses, trigonometric functions, logarithms, roots, powers and factorials.
Updated November 2026 · How we build calculators
Result
Your result will appear here
Enter your numbers, then press Calculate.
How the Scientific Calculator works
The expression is parsed with a recursive-descent parser that follows the standard order of operations: parentheses, powers, multiplication and division, then addition and subtraction. Trigonometric functions use the angle mode you select, and tiny floating-point errors such as sin(180°) are cleaned up.
Formula used
Order of operations: ( ) → ^ → × ÷ → + −
sin, cos, tan use degrees or radians
ln = natural log, log = base-10 log, fact(n) = n!
Step-by-step example
Using the default values in the calculator above:
- Expression: sin(x) + sqrt(144) / 3 + 2^5
- Value of x: 30
- Angle mode: Degrees
The calculator then applies the formula above and returns:
- sin(x) + sqrt(144) / 3 + 2^5: 36.5
- Angle mode: Degrees
Notes on the inputs
- Expression
- Supports + − × ÷ ^ ! % ( ), sin cos tan asin acos atan, ln log sqrt cbrt abs exp, pi, e and the variable x.
- Value of x
- Used wherever x appears in the expression. The graph plots the expression around this value.
Tips and background
Use parentheses to make the order of operations explicit. Factorials grow fast: 20! is already 2.4 × 10¹⁸. For long calculations, break the work into steps.
Order of operations and parentheses
The calculator follows PEMDAS: parentheses, exponents, multiplication and division left to right, then addition and subtraction. That means 2 + 3 × 4 is 14, not 20. Use parentheses to make your intent clear, for example (2 + 3) × 4 = 20, and nest them freely.
Degrees vs radians and plotting a function
Trig functions need the right angle mode: sin(30) is 0.5 in degrees but about −0.988 in radians. Choose the mode above before you calculate. Type x in your expression and set its value to evaluate it, and the graph shows how the expression changes as x moves. For specific tasks try the quadratic equation calculator or the logarithm calculator.
How should you type common expressions?
Brackets decide what happens first. These are the calculator's results.
| You type | Result | Why |
|---|---|---|
| 2+3*4 | 14 | Multiplication comes before addition |
| (2+3)*4 | 20 | The bracket is worked out first |
| -3^2 | -9 | The power is applied before the minus sign |
| (-3)^2 | 9 | The negative number is squared |
| 2^3^2 | 512 | Stacked powers work from the top: 2^9 |
| fact(5) | 120 | 5 × 4 × 3 × 2 × 1 |
What are the most common input mistakes?
Check the angle mode before any trigonometry, because sin(30) is 0.5 only in degrees. Use log for base 10 and ln for base e. Put the whole denominator in brackets: 1/(2+3) is 0.2, while 1/2+3 is 3.5. Long answers are rounded for display, so keep the expression and recalculate instead of retyping a rounded result into the next step.
Common mistakes to avoid with the Scientific Calculator
- Leaving the angle mode on radians when entering degrees.
- Forgetting parentheses around function arguments, for example sqrt(16) not sqrt 16.
- Dividing by an expression without wrapping it, so 6 ÷ 2 × 3 is 9, not 1.
Frequently asked questions
How do I enter a square root?
Use sqrt(144) or tap the √ key. Cube roots use cbrt(27).
Degrees or radians?
Choose the angle mode before calculating. sin(30) in degrees equals 0.5.
How do I use π and e?
Type pi and e, or tap the constant keys.
How do I calculate sin, cos and tan?
Pick degrees or radians, then type sin(30), cos(60) or tan(45). The calculator returns the value, rounded for display.
Can this calculator do factorials?
Yes: type 5! for 120. It supports whole numbers up to 170.