Skip to tool

Free online tool

Scientific Calculator

Functions: sin cos tan asin acos atan log ln sqrt exp abs nthroot(x, n); operators + − × ÷ ^ ! %; constants pi, e

Your input never leaves your browser.

Functions and operators

Everything the basic calculator does works here too, plus trigonometry (sin, cos, tan and their inverses asin, acos, atan), logarithms (log for base 10 and ln for the natural logarithm), exp, sqrt, abs, nthroot(x, n) for any whole-number root, powers with ^, factorials with !, and the constants pi and e. For example, log(1000) is 3, nthroot(27, 3) is 3 and 5! is 120.

Degrees or radians

Trigonometric functions depend on the angle mode. In degree mode sin(30) is 0.5; in radian mode the same input means 30 radians and gives -0.9880316241. Inverse functions return their answer in the selected mode. Standard angles give exact results: sin(180°) is 0 rather than a tiny rounding leftover, and tan(90°) is reported as undefined rather than as an enormous number.

Precedence

Powers bind more tightly than a leading minus sign, so −2^2 is -4, and they group from the right, so 2^3^2 is 512. Factorial applies to the value directly before it: 2 × 3! is 12.

Undefined and out-of-range results

The square root of a negative number, the logarithm of zero or a negative number, and asin or acos of values outside −1 to 1 have no real-number answer, so the calculator says so instead of showing NaN. Factorials are defined for whole numbers from 0 to 170; beyond that the result is too large to represent.

Examples

  • Input: sin(30) + 2^10 (degrees)

    Output: 1024.5

Related tools