Scientific Calculator Functions Explained

A scientific calculator extends basic arithmetic with functions for trigonometry, logarithms, powers, roots, factorials and constants. The MathPath scientific calculator lets you type or tap out an expression and evaluates it with the same safe parser used across the site.

The key to using one confidently is understanding what each function does, how angle modes affect trigonometry, and how to group operations with parentheses when you are unsure about precedence.

Open the matching Scientific Calculator

Key formula

log(x) = log₁₀(x) • ln(x) = logₑ(x) • n! = n × (n−1) × … × 1 • sin, cos, tan take an angle and return a ratio

Trigonometric functions and angle mode

Trigonometric functions relate angles to ratios in right-angled triangles. sin, cos and tan take an angle and return a ratio; their inverses asin, acos and atan go the other way, turning a ratio back into an angle.

The angle mode matters enormously. In degree mode sin(30) = 0.5, because 30° is a common angle. In radian mode the same input 30 is treated as 30 radians, giving a completely different value. Always check the DEG/RAD indicator before evaluating a trig expression.

Logarithms, powers and roots

Logarithms invert exponentials. The common logarithm log uses base 10, so log(1000) = 3 because 10³ = 1000. The natural logarithm ln uses base e (≈ 2.718), so ln(e) = 1 because e¹ = e.

Powers use the caret ^ (2^5 = 32) and roots use sqrt() (sqrt(144) = 12). For higher roots, use a fractional exponent: the cube root of 27 is 27^(1/3) = 3.

Factorials, constants and memory

A factorial, written n!, multiplies every whole number from 1 up to n. So 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials are only defined for non-negative integers and grow extremely fast — 10! is already over three million.

The constants π (≈ 3.14159) and e (≈ 2.71828) are available for use in expressions. Memory keys let you hold an intermediate result: M+ adds the current value to memory, M− subtracts it, MR recalls the stored value into your expression, and MC clears memory. History keeps recent calculations in the current tab so you can replay or copy them; it never leaves your device.

Choosing a function or its inverse

Use sin, cos or tan when you already know the angle and need a side ratio — the height of a triangle from an angle and the hypotenuse, for example. Use asin, acos or atan when you know two sides and need the angle.

atan is the safer inverse for slopes, because a slope can be larger than 1 and atan accepts any real number. acos and asin refusing a value outside −1 to 1 is a useful signal that those measurements cannot form that angle.

Worked example

Evaluate sin(30°) + log(1000) + 4!

  1. 1Set the calculator to degree mode (DEG).
  2. 2sin(30°) = 0.5.
  3. 3log(1000) = 3, because 10³ = 1000.
  4. 44! = 4 × 3 × 2 × 1 = 24.
  5. 5Add them: 0.5 + 3 + 24 = 27.5.

Answer: 27.5

Another worked example

A ramp rises 3 m over a horizontal run of 4 m. What is the angle of incline, in degrees?

  1. 1The slope is rise ÷ run = 3 ÷ 4 = 0.75. That number is the tangent of the angle, not the angle.
  2. 2Set the calculator to degree mode.
  3. 3atan(0.75) is about 36.87°.
  4. 4Check by computing tan of that result; it should return about 0.75. A nonsense angle almost always means the calculator is in radian mode.

Answer: About 36.9°

How to read the result

sin, cos and tan return ratios, not angles. sin(30°) = 0.5 means the opposite side is half the hypotenuse. The inverse functions asin, acos and atan are what return an angle, and that angle comes back in the mode the calculator is currently using.

A logarithm is an exponent. log(1000) = 3 tells you the power: 10 raised to 3. A negative log is valid — it means the input was between 0 and 1. A log of zero or of a negative number is undefined for real numbers, so the calculator refuses it.

Limits of this method

asin and acos only accept inputs from −1 to 1, because sine and cosine never leave that range. asin(2) is not a difficult problem; it has no real answer. tan is undefined at 90° and at every odd multiple of 90°, where cosine is zero.

Factorials here are for non-negative whole numbers. 3.5! has a meaning in more advanced mathematics that this calculator does not compute. Memory and history stay in the current browser tab and are cleared when you reload.

Common mistakes

  • Forgetting to check DEG/RAD mode — sin(30) in radians is about −0.988, not 0.5.
  • Using log when you mean ln — log is base 10, ln is base e. They give very different results.
  • Applying a factorial to a non-integer or negative number — factorials are only defined for non-negative integers.
  • Forgetting to close function parentheses — sin(30 + 5 needs a closing bracket before it will evaluate.

Frequently asked questions

What is the difference between log and ln?

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

Why does sin(30) give the wrong answer?

You are probably in radian mode. In degree mode sin(30°) = 0.5; in radian mode 30 is treated as 30 radians. Check the DEG/RAD indicator.

How do I calculate a cube root?

Use a fractional exponent: the cube root of 27 is 27^(1/3) = 3. The square root uses sqrt().

Why is tan(90) rejected or enormous?

Tangent is sine divided by cosine. At 90°, cosine is 0, so the ratio is undefined. Angles very close to 90° produce very large values, which is the shape of the function, not a rounding bug.

Can one expression mix degrees and radians?

No. The mode applies to the whole evaluation. Convert first: multiply degrees by π/180 to get radians, or multiply radians by 180/π to get degrees.

Try it yourself

Put the method into practice with the matching calculator.

Open the Scientific Calculator

Related guides