Scientific Calculator

Trig, logs, powers, roots and factorials, in degrees or radians.

Type or tap. ^ is a power, ! a factorial and % divides by 100.

Angle unit for sin, cos and tan

Answer

94

2 × (3 + 4)^2 − √(16) = 94

Angle unit
Degrees

Fix the expression to update the answer.

How to use

  1. Type an expression, or tap the keys. For example, sin(30) + 2^10.
  2. Choose Degrees or Radians before using sin, cos or tan.
  3. The answer updates as you type. Press = or Enter to save it to your recent calculations.
  4. Check “Answer” and the line under it, which shows how your input was read.

How the order of operations works

The calculator follows the standard order taught in schools:

  1. Brackets first.
  2. Powers (^), worked right to left, so 2^3^2 = 2^9 = 512.
  3. Minus signs in front of a number, after powers, so −2^2 = −4.
  4. × and ÷, left to right. A number next to a bracket also multiplies, so 6 ÷ 2(1 + 2) = 9.
  5. + and −, left to right.

% divides by 100, so 20% × 150 = 30. ! is a factorial, for whole numbers from 0 to 170.

Examples

You type Answer
2 + 3 × 4 14
2 × (3 + 4)^2 − √16 94
ln(e) 1
log(1000) 3
5! 120
sin(30) in degrees 0.5
sin(30) in radians −0.9880316241

Trig values to remember (degrees)

Angle sin cos tan
0° 0 1 0
30° 0.5 0.8660254038 0.5773502692
45° 0.7071067812 0.7071067812 1
60° 0.8660254038 0.5 1.732050808
90° 1 0 Undefined
Exact zeros, logs and inverse functions

Computers store π slightly inexactly, so sin(π) comes out as about 0.0000000000000001. We show 0 at every multiple of 90° (or π/2 radians), and an error for tan where cos is 0.

log is base 10 and ln is base e. The inverse functions sin⁻¹, cos⁻¹ and tan⁻¹ answer in the angle unit you chose: sin⁻¹(1) is 90° or about 1.5708 radians.

Working with parts of a whole? The fraction calculator keeps answers exact, and the percentage calculator handles percentage change.

Frequently asked questions

How do I switch between degrees and radians?

Use the Degrees/Radians switch above the keys. In degrees, sin(30) = 0.5; in radians, sin(30) ≈ −0.988. A full turn is 360° or 2π radians.

What order does the calculator work things out in?

Brackets first, then powers, then × and ÷ from left to right, then + and − from left to right. So 2 + 3 × 4 = 14, not 20.

Why is −2^2 equal to −4?

The power is applied before the minus sign, so −2^2 means −(2²) = −4. Write (−2)^2 to square negative two and get 4.

What is the difference between log and ln?

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

How do I calculate a factorial?

Type the number followed by !, for example 5! = 120. Factorials work for whole numbers from 0 to 170; 171! is too large to store.

Why does tan(90°) show an error?

tan(90°) = sin(90°) ÷ cos(90°), and cos(90°) is 0, so the value is undefined. The calculator says so instead of showing a huge rounded number.

Embed this calculator

Add this calculator to your own website for free. Copy the code below and paste it into your page’s HTML. The attribution link is optional.