Scientific Calculator: Trig, Logs, Powers & Roots

This scientific calculator evaluates any expression you type, from simple arithmetic to powers, roots, trigonometry, logarithms and factorials, and returns a single result to 8 decimal places.

Math Calculators

Scientific Calculator

Evaluate any mathematical expression — arithmetic, powers, roots, trig, logs, and more.

Supports + − × ÷ ^ (power), sqrt, cbrt, sin/cos/tan (radians), asin/acos/atan, ln (natural log), log (base 10), exp, abs, min, max, pow, fact (factorial), and the constants pi and e.

Starting values: the calculator opens with the expression 3*sin(0.5)+2^3-sqrt(16). The result is 5.43827662.

How to enter an expression

Type the whole expression in one box and the calculator evaluates it. Use the symbols below.

  • Arithmetic: + for add, − for subtract, * for multiply, / for divide
  • Powers: ^ (so 2^3 is 8)
  • Roots: sqrt (square root) and cbrt (cube root)
  • Trigonometry: sin, cos, tan and the inverses asin, acos, atan, with angles in radians
  • Logarithms and exponentials: ln (natural log), log (base 10) and exp
  • Other functions: abs, min, max, pow and fact (factorial)
  • Constants: pi and e

Write functions with brackets, such as sqrt(16) and sin(0.5). If the expression is not valid or does not give a finite number, such as dividing by zero, the calculator shows a message instead of a result.

Radians, not degrees

The trigonometric functions expect radians. If your angle is in degrees, convert it first: radians = degrees × pi ÷ 180. To find the sine of 30 degrees, enter sin(30*pi/180), which gives 0.5. Entering sin(30) instead gives about −0.98803162, because it is reading 30 as 30 radians. Forgetting this conversion is the most common cause of a wrong trig answer.

Order of operations

Calculators evaluate in a fixed priority: brackets and functions first, then powers, then multiplication and division, then addition and subtraction. A manufacturer’s guide for one scientific calculator lists the same ladder, with negation applied after exponents and before multiplication. The same guide shows how brands can differ on a detail: a chain such as 2^3^2 can be read left to right as 64 or right to left as 512, depending on the mode. Since conventions vary, put brackets around anything that could be read two ways, such as (2^3)^2 or 2^(3^2).

Worked examples

Example 1: the default

3*sin(0.5)+2^3-sqrt(16). sin(0.5) = 0.47942554, so 3 times that is 1.43827662. Then 2^3 = 8 and sqrt(16) = 4. Adding: 1.43827662 + 8 − 4 = 5.43827662.

Example 2: precedence

2+3*4^2. The power comes first: 4^2 = 16. Then multiplication: 3 × 16 = 48. Then addition: 2 + 48 = 50. Using brackets to change the order, (2+3)*4^2 gives 5 × 16 = 80.

Example 3: a degree angle

sin(30*pi/180) = sin(0.5236) = 0.5. And cos(60*pi/180) is also 0.5.

Example 4: logarithms

log(1000) = 3 because 10 cubed is 1,000. ln(e) = 1, since the natural log is the log to base e. exp(1) = 2.71828183, which is the value of e.

Example 5: factorials and roots

fact(5) = 5 × 4 × 3 × 2 × 1 = 120. cbrt(27) = 3. sqrt(2) = 1.41421356.

Choosing the right tool

This calculator takes one expression and gives one number. It does not draw graphs, store variables or solve equations for an unknown. For a quadratic equation with x terms, use the quadratic formula calculator, which returns both roots.

Common mistakes

  • Leaving out the multiplication sign. Write 3*sin(0.5), not 3sin(0.5).
  • Using degrees in a trig function without converting.
  • Forgetting that log is base 10 and ln is the natural log.
  • Typing a comma as a decimal separator. Use a point.

More worked examples

Example 6: inverse trig and pi

4*atan(1). The arctangent of 1 is pi ÷ 4, so multiplying by 4 returns pi, shown as 3.14159265. This is a handy check that the calculator is reading angles in radians, because the answer comes out as a pure number rather than a degree value.

Example 7: combinations with factorials

The number of ways to choose 2 items from 5 is 5! ÷ (3! × 2!). Enter fact(5)/(fact(3)*fact(2)). That is 120 ÷ (6 × 2) = 10.

Example 8: powers, min and max

pow(2,10) = 1024, the same as 2^10. min(3,7) = 3 and max(3,7) = 7. abs(−7.5) = 7.5. These helper functions take their inputs inside brackets, separated by a comma.

Example 9: undoing a logarithm

exp(ln(5)) = 5, because the exponential and the natural log reverse each other. In the same way, 10^log(250) returns 250. When a result comes back slightly off, such as 4.99999999, that is rounding in the last displayed digits, not an error in your expression.

Reading the result

The answer is rounded to 8 decimal places. A value like 0.1 + 0.2 appears as 0.3, while very small or very large numbers keep the same decimal limit. If you need more precision for a long chain of steps, work in stages and keep the intermediate values rather than retyping rounded ones.

Frequently asked questions

Does the scientific calculator use degrees or radians?

Radians. To use degrees, multiply by pi and divide by 180 inside the function, for example sin(30*pi/180).

What is the difference between log and ln?

log is the base 10 logarithm, so log(1000) is 3. ln is the natural logarithm, with base e, so ln(e) is 1.

Which functions can I use?

sqrt, cbrt, sin, cos, tan, asin, acos, atan, ln, log, exp, abs, min, max, pow and fact, plus the constants pi and e.

Why do I get an error message?

The expression may have a typo, unmatched brackets, an unknown name or give a result that is not a finite number, such as dividing by zero.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 699