Skip to content
HNarzędzia
en
Categories

Scientific calculator online - trig, powers, roots, logs

Type a full expression such as 2^10 + sin(30) · √16 or use the buttons - the calculator respects the order of operations and supports brackets, trigonometry (DEG/RAD), logarithms, factorial, percent and the previous answer (ANS).

  • Free
  • No sign-up
  • Private
  • Runs locally
ANS = 0

Type on the keyboard or use the buttons. Enter - calculate, Esc - clear. Both a dot and a comma work as the decimal separator.

Result
 

History

Calculations appear here after you press “=”.

How to use the scientific calculator

  1. 1.

    Choose the angle unit

    DEG for degrees (sin 30 = 0.5) or RAD for radians (sin π/6 = 0.5). It affects sin, cos, tan and their inverses.

  2. 2.

    Enter an expression

    Type on your keyboard or click the buttons. Both a dot and a comma work as the decimal separator; Esc clears the field.

  3. 3.

    Check the preview

    The result updates live below the expression, and errors such as an unclosed bracket or division by zero are explained in plain words.

  4. 4.

    Press Enter or =

    The calculation is saved to the history (last 30 entries) and the result becomes ANS for the next expression.

Order of operations

The calculator follows standard precedence, from highest to lowest:

  1. brackets
  2. factorial ! and percent %
  3. powers ^ - evaluated right to left: 2^3^2 = 2^9 = 512
  4. functions (sin, log, √…) and a leading minus
  5. multiplication and division, including implied multiplication (2π, 3(4 + 1))
  6. addition and subtraction

Consequences worth knowing: −2^2 = −4 but (−2)^2 = 4; 2^−1 = 0.5; sin(30)^2 = 0.25, whereas sin 30^2 means sin(900). When in doubt, add brackets - they never hurt.

Available functions

FunctionTypeExample
sin, cos, tansin(x)sin(30) = 0.5 (DEG)
asin, acos, atanasin(x)asin(0.5) = 30 (DEG)
square root, cube rootsqrt(x), cbrt(x), √, ∛√16 = 4, ∛27 = 3
powerx^y2^10 = 1024
common log (base 10)log(x)log(1000) = 3
natural log (base e)ln(x)ln(e) = 1
e to the powerexp(x)exp(1) = 2.71828182846
absolute valueabs(x)abs(−7) = 7
factorialn!5! = 120 (up to 170!)
constantsπ, e, ANS2π = 6.28318530718

Percent works like on a desk calculator: 200 + 10% = 220 and 200 − 10% = 180; anywhere else 10% simply means 0.1. For more percentage questions use the percentage calculator.

Degrees and radians

In DEG mode sin(30) = 0.5, cos(60) = 0.5 and tan(45) = 1. In RAD mode sin(π/6) = 0.5 and cos(π) = −1. A full turn is 360° = 2π rad, so radians = degrees × π / 180. Inverse functions return angles in the selected unit. The tangent of 90°, 270° and so on is undefined, and the calculator says so instead of showing a meaningless huge number. Common angles such as sin(180) return exactly 0, not 1.2E−16.

Display precision and limits

Results are shown with up to 12 significant digits, so 0.1 + 0.2 = 0.3 instead of 0.30000000000000004. Very large or small numbers use scientific notation, e.g. 2^100 = 1.26765060023E30, which you can paste back into an expression. Calculations use standard double-precision numbers, so integers above about 9 × 10¹⁵ are not exact - for exact big-number work with integers use the GCD and LCM calculator or the number base converter. Square roots and logarithms of negative numbers produce an error because the calculator works with real numbers only; for complex roots of ax² + bx + c try the quadratic equation solver.

Frequently asked questions

How do I calculate sine in degrees?

+
Select DEG and type sin(30) - the result is 0.5.

What is −2 squared?

+
−2^2 means −(2²) = −4 because powers come before the minus sign. Use brackets for (−2)^2 = 4.

How do I calculate a cube root?

+
Use the ∛ button (∛27 = 3), type cbrt(27) or use a power: 27^(1/3) = 3.

What does ANS mean?

+
ANS is the result of the previous calculation. You can use it in the next expression, e.g. ANS · 2.

How do I calculate a logarithm with any base?

+
Divide common logarithms: log_a(b) = log(b) ÷ log(a), e.g. log(8) ÷ log(2) = 3.

What is the difference between log and ln?

+
log is the base-10 logarithm (log 100 = 2), ln is the natural logarithm with base e ≈ 2.718 (ln e = 1).

How does 200 + 10% work?

+
It adds 10% of 200, giving 220 - the same as on a desk calculator. On its own, 10% equals 0.1.

Updated: