Scientific Calculator

A scientific calculator that runs in your browser. Type an expression such as sin(30) + sqrt(16) or build it with the keys, then press Enter or =. It supports trigonometric functions and their inverses in degrees or radians, natural and base-10 logarithms, powers and roots, factorials, percentages, the constants π and e, and an Ans key for the previous result. Every result stays in the history above the input so you can reuse it.

Functions and syntax

Key or textMeaningExample
sin, cos, tanTrigonometry in the current mode (DEG or RAD)sin(30) = 0.5 in DEG
sin⁻¹, cos⁻¹, tan⁻¹ (asin, acos, atan)Inverse trigonometry, result in the current modeatan(1) = 45 in DEG
ln, log, log2Natural log, base-10 log, base-2 loglog(1000) = 3
xy (^), √, nPowers and roots. ^ is right-associative. n√ inserts ^(1/ for an nth root2^3^2 = 512, 27^(1/3) = 3
n!Factorial of a whole number up to 1705! = 120
%Divides the preceding number by 10050% = 0.5
π, eConstants. Implicit multiplication works2π = 6.2832
AnsThe previous result. Click any result in the history to insert itAns × 2
AC, ×, ⌫Clear everything, clear the input, delete one character

Examples

ExpressionResult
sin(30) + cos(60) (DEG)1
sqrt(3^2 + 4^2)5
ln(e^2)2
10! ÷ (7! × 3!)120
2π × 6.540.8407
1.05^101.62889

Degrees or radians

Trigonometric functions need to know whether the angle is in degrees or radians. The Deg and Rad buttons switch the mode, and the active one is highlighted. School and engineering problems usually use degrees; calculus and physics formulas usually use radians. In RAD mode, sin(π ÷ 2) = 1. In DEG mode, sin(90) = 1.

Unary minus binds less tightly than a power, so −2^2 = −4, matching most scientific calculators. Use (−2)^2 to get 4. For plain arithmetic, the basic calculator has larger keys.

Frequently asked questions

How do I switch between degrees and radians?

Press Deg or Rad in the top row. The active mode is highlighted. The mode affects sin, cos, tan and their inverses only.

Can I type expressions instead of using the keys?

Yes. Click the expression box and type, for example 2*pi*6.5 or log(1000)+5!. Function names are sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, ln, log, log2, sqrt, cbrt, abs, exp, floor, ceil and round. Press Enter to evaluate.

Why does −3^2 give −9?

Because the power is applied before the minus sign, which is the convention on most scientific calculators and in algebra. Enter (−3)^2 to square the negative number and get 9.

How do I reuse a previous result?

Press Ans to insert the last result, or click any result in the history panel to insert that value. After pressing =, the result is also placed in the input so you can keep calculating with it.

Related calculators

Last updated . Formulas are shown on the page and checked against the worked example.

Results use double-precision floating point and are rounded to 12 significant figures for display. Very large factorials and powers may overflow to infinity.