1. Home
  2. Everyday math
  3. Scientific Calculator
Everyday math

Scientific Calculator

Evaluate scientific expressions with parentheses, functions, powers and percentages.

Your numbers

Results update as you type. Nothing you enter is sent anywhere.

Result

18.5

Evaluated sin(30) + sqrt(81) * 2 in degrees. Supported: sin, cos, tan, asin, acos, atan, sqrt, abs, ln, log, exp, pi, e, ^ and %.

Formula used

Parentheses/functions, postfix percent, right-associative powers, unary signs, multiplication/division, addition/subtraction

Type a full expression, with functions, powers and parentheses, and get one evaluated answer. This calculator handles trigonometry in degrees or radians, natural and base-10 logarithms, square roots, exponentials and the constants pi and e. It suits homework, physics problems, loan formulas and anything a basic four-function calculator cannot do in a single line.

How to use the Scientific calculator

  1. Type the whole calculation in Expression, using * for multiplication and ^ for powers, for example 5000*(1+0.04/12)^(120).
  2. Pick Angle unit (trigonometry). Choose degrees for angles such as 30 or 45, and radians for values such as pi/6. The setting only affects sin, cos, tan and their inverses.
  3. Write function arguments in parentheses: sqrt(81), log(1000), ln(e), sin(30).
  4. Read the result. Very large or very small answers switch to exponent form, such as 1.2e-9.

How the scientific calculation works

FormulaParentheses/functions, postfix percent, right-associative powers, unary signs, multiplication/division, addition/subtraction

How the calculator reads your expression

Evaluation follows the usual precedence. Parentheses and function calls are worked first, then powers, then multiplication and division from left to right, and finally addition and subtraction. Powers group from the right, so 2^3^2 means 2^(3^2) = 2^9 = 512, not 8^2 = 64. Add parentheses when you want a different grouping.

A leading minus sign is applied after the power, so −2^2 is −4. To square a negative number, write (−2)^2, which gives 4. Graphing calculators and spreadsheets do not all agree on this convention, so parentheses are the safest way to say exactly what you mean.

Multiplication must be written out. Typing 2(3) or 2pi produces an error instead of guessing; write 2*(3) or 2*pi. This avoids the long-running argument over expressions like 6/2(1+2), because the calculator makes you state the grouping.

Degrees, radians and the most common wrong answer

One degree equals π/180 radians, so a right angle is 90° or about 1.5708 rad. If sin(30) returns −0.98803162 instead of 0.5, the Angle unit is set to radians and the calculator has found the sine of 30 radians. Switch to degrees for angles measured with a protractor or given with a ° symbol.

The inverse functions asin, acos and atan return their answer in the selected unit. In degrees, asin(0.5) gives 30; in radians it gives about 0.5236. Inputs to asin and acos must lie between −1 and 1, and tan is reported as undefined at 90°, 270° and other odd multiples of a right angle.

Logs, e and the percent key

log means base 10 and ln means base e (about 2.71828). log(1000) is 3 and ln(e) is 1. For any other base, divide one log by another: log base 2 of 64 is ln(64)/ln(2) = 6. Both functions need a positive argument, so ln(0) and log(−5) are rejected.

The % symbol here simply divides by 100, so 50+10% is 50 + 0.10 = 50.1. It does not mean ‘add 10% of 50’ the way some handheld shopping calculators do. For that, write 50*1.10, or use the Percentage Increase Calculator.

Precision limits

Results are double-precision floating-point numbers, good to roughly 15 to 16 significant digits, and displayed with up to eight decimals. Exact values such as cos(90°) are cleaned up to show 0 instead of a tiny leftover like 6e-17. Answers outside the finite range, such as 10^400, are rejected rather than shown as infinity.

Worked examples

Height reached by a 12-foot ladder at a 70° angle

Expression: 12*sin(70) · Angle unit (trigonometry): degrees

  1. The ladder is the hypotenuse, and the wall height is the side opposite the 70° angle, so height = 12 × sin(70°).
  2. sin(70°) ≈ 0.93969262.
  3. 12 × 0.93969262 ≈ 11.27631145.
  4. The top of the ladder is about 11.28 feet up the wall.

Result: 11.27631145

$5,000 at 4% a year, compounded monthly for 10 years

Expression: 5000*(1+0.04/12)^(12*10) · Angle unit (trigonometry): degrees

  1. Monthly rate: 0.04 ÷ 12 = 0.00333333…
  2. Growth factor per month: 1.00333333…
  3. Number of months: 12 × 10 = 120, so raise the factor to the 120th power: about 1.49083268.
  4. Multiply by 5,000: about 7,454.16341209, or $7,454.16.

Result: 7,454.16341209

Assumptions and limits

Real numbers only. Use explicit multiplication (*). log is base 10; ln is base e. Percent means divide by 100 (not contextual shopping-calculator behavior). −2^2 = −4. Unsupported, nonfinite and domain-invalid expressions are rejected; no JavaScript eval.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

Why does my calculator give a different answer for sin(30)?

The two calculators are using different angle units. sin(30°) is exactly 0.5, while sin(30 radians) is about −0.988. Check the Angle unit setting before working any trigonometry problem.

What is the difference between log and ln?

log is the common logarithm, base 10, and ln is the natural logarithm, base e ≈ 2.71828. log(100) = 2 because 10² = 100, and ln(e²) = 2. To convert, ln(x) = log(x) × ln(10), and ln(10) ≈ 2.302585.

How do I type a square root or cube root?

Use sqrt(x) for a square root, for example sqrt(144) = 12. For a cube root use a fractional power, 27^(1/3) = 3. Keep the 1/3 in parentheses, otherwise the power applies only to the 1.

Why is −3^2 equal to −9 and not 9?

By the standard convention, the power is applied before the negation, so −3^2 means −(3²) = −9. Write (−3)^2 to get 9. This calculator follows that rule so results match algebra textbooks.

How do I enter scientific notation like 6.02 × 10^23?

Type 6.02e23 or 6.02*10^23; both work. Small numbers use a negative exponent, so 1.6e-19 is 0.00000000000000000016. Results this large or small are displayed in the same e-notation.

Does this calculator handle complex numbers?

No. It works with real numbers only, so sqrt(−4) and ln(−1) are rejected rather than returning an imaginary answer. Fractional powers of negative numbers, such as (−8)^(1/3), are also outside its range.

Sources