Scientific Calculator

Work out sums with powers, roots, logs and trigonometry. Type or tap your sum, choose degrees or radians, and see each step in the right order.

 
0

Result

0

Trigonometry in degrees

Supported: + − × ÷ % (remainder) ^ ! ( ), sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, ln, log, log2, sqrt, cbrt, abs, exp, floor, ceil, round, pi, e.

Using a scientific calculator in simple words

Type a sum with the keys or your keyboard, then press = to see the answer. Below it, the calculator shows each step it took, using your numbers.

When a sum mixes different signs, the order matters. Work inside brackets first, then functions such as √ or sin, then powers, then × and ÷, and last + and −. Many people remember this as BODMAS or PEMDAS.

Example: for 3 + 4 × 2, do the multiplication first: 4 × 2 = 8. Then add: 3 + 8 = 11. The answer is 11, not 14. If you want to add first, use brackets: (3 + 4) × 2 = 14.

The ^ key means “to the power of”, so 2^3 = 2 × 2 × 2 = 8. The Degrees box matters only for sin, cos and tan: leave it ticked if your angle is in degrees.

Check the expression and angle mode

The parser handles arithmetic without executing JavaScript. Powers bind more tightly than a leading minus: −2² = −4, while (−2)² = 4. Parentheses make grouping explicit. The % key means remainder (modulo), as in 17 % 5 = 2. To calculate 15% of 200, enter 200 × 15 ÷ 100.

sin(30) is 0.5 in degree mode. In radian mode use sin(pi/6) for the same result. In degree mode, whole multiples of 90° are exact (sin(180) = 0, cos(90) = 0), and tan(90), tan(270) and other odd multiples of 90° are reported as undefined; division by zero is reported as an error rather than a number. log(100) = 2 and ln(e) = 1. A square root of a negative value or a logarithm of zero has no finite real result here; use a suitable complex-number method when required.

Order of operations

This calculator follows standard mathematical precedence rather than evaluating left to right, which is why it gives 14 for 2+3*4 rather than 20. Multiplication and division bind more tightly than addition and subtraction, and exponentiation binds more tightly still.

Two details are worth knowing because calculators disagree on them. Exponentiation here is right-associative, so 2^3^2 evaluates as 2^(3^2) = 512, matching mathematical convention. And unary minus binds more loosely than exponentiation, so -2^2 gives -4, the same as -(2^2). If you want the square of negative two, write (-2)^2.

Precedence, highest first
LevelOperationExample
1Parentheses(2 + 3) × 4 = 20
2Functions and factorialssin(30), 5! = 120
3Exponents, right to left2^3^2 = 2^9 = 512
4Unary minus−2^2 = −4
5Multiply, divide, modulo, left to right8 ÷ 2 × 3 = 12
6Add and subtract, left to right2 + 3 × 4 = 14

Supported functions

Type function names directly followed by a parenthesis. Trigonometric functions respect the degrees or radians setting; the inverse functions return values in the same mode.

Functions and operators
NameMeaningExample
sin, cos, tanTrigonometric ratios of an anglesin(30) = 0.5 in degree mode
asin, acos, atanInverse trigonometry; returns an angleatan(1) = 45 in degree mode
sinh, cosh, tanhHyperbolic functionscosh(0) = 1
lnNatural logarithm, base eln(e) = 1
log, log10Logarithm base 10log(1000) = 3
log2Logarithm base 2log2(1024) = 10
sqrt, cbrtSquare and cube rootcbrt(27) = 3
expe raised to a powerexp(2) = 7.389056
abs, signAbsolute value; sign of a numberabs(−4.2) = 4.2
floor, ceil, roundRound down, up, or to nearest (a tie rounds up: round(2.5) = 3, round(−2.5) = −2)ceil(2.1) = 3
x!Factorial (postfix)6! = 720
^Power2^10 = 1024
%Modulo (remainder)17 % 5 = 2

Degrees versus radians

This is the single most common source of wrong trigonometric answers. Degrees divide a full turn into 360 parts and are typical in geometry, surveying, and everyday use. Radians measure angle as arc length over radius, giving 2π for a full turn, and are required in calculus because the derivative of sin(x) is cos(x) only when x is in radians.

Check the mode before trusting a trig result. sin(90) is 1 in degrees but approximately 0.894 in radians — both are correct answers to different questions. Convert with degrees = radians × 180/π.

Exact values at the common angles
AngleRadianssincostan
0°00 = 0.00001 = 1.00000 = 0.0000
30°0.1667π1/2 = 0.5000√3/2 = 0.8660√3/3 = 0.5774
45°0.25π√2/2 = 0.7071√2/2 = 0.70711 = 1.0000
60°0.3333π√3/2 = 0.86601/2 = 0.5000√3 = 1.7321
90°0.5π1 = 1.00000 = 0.0000undefined

Constants

Two constants are built in and can be typed by name: pi (or the symbol π) and e. The others below are here for reference; enter them as expressions, for instance sqrt(2) or (1+sqrt(5))/2.

Mathematical constants
ConstantValueWhat it is
π (pi)3.14159265…Ratio of a circle's circumference to its diameter
e2.71828183…Base of natural logarithms; limit of (1 + 1/n)^n
√21.41421356…Diagonal of a unit square
φ (golden ratio)1.61803399…(1 + √5) ÷ 2

Implicit multiplication and other shortcuts

The parser accepts implicit multiplication, so 2(3+4), 2pi, and 3sin(45) all work as written. This is convenient but can be ambiguous in hand-written notation, so when precedence matters, parentheses are always clearer than relying on a convention.

Numbers may use commas as thousands separators: 1,000 + 1 = 1001 and 1,234,567.5 are read as written. A comma counts as a separator only when 1–3 digits come before the first comma and exactly three digits follow every comma, with no spaces, so 2,5, 1,00 and 1, 000 are rejected with a message rather than guessed at. None of the functions takes more than one argument, so a comma never separates arguments. Use a point for decimals (2.5); a trailing point such as 5. is read as 5, while 2.5.3 is rejected. Two numbers separated only by a space, such as 1 000, are rejected too, never multiplied.

The keyboard works anywhere on the page: digits and operators type, Enter evaluates, Escape clears, and letters spell function names. The result of each calculation is stored and can be reused with the Ans key, which is useful for chaining a sequence of operations without retyping intermediate values.

Step-by-step order of operations and money mode

Below the result, the calculator reduces your expression one operation at a time in PEMDAS order: innermost parentheses first, then functions and factorials, exponents, multiplication and division from left to right, and addition and subtraction from left to right. For 3 + 4 × 2 ÷ (1 − 5)^2, the steps are 1 − 5 = −4, (−4)^2 = 16, 4 × 2 = 8, 8 ÷ 16 = 0.5 and 3 + 0.5 = 3.5.

Money mode works in exact decimal arithmetic, so 0.1 + 0.2 is exactly 0.30 rather than the binary 0.30000000000000004. Dollar signs and thousands commas such as $1,250.00 are accepted. Division keeps 20 decimal places, and only the final answer is rounded to the cent, with half a cent rounding away from zero: 2.675 becomes $2.68. It supports + − × ÷, whole-number powers and parentheses.

How to use the scientific calculator

Evaluate expressions with trigonometry, logarithms, powers and factorials, in degrees or radians.

  1. Type or tap the expression

    Use the keypad or your keyboard. Function names are typed as words: sin(, log(, sqrt(. Parentheses group; implicit multiplication such as 2pi is accepted.

  2. Set degrees or radians

    Before any trigonometry, check the mode. Geometry and everyday angles use degrees; calculus uses radians.

  3. Evaluate and chain

    Press Enter or =. The result is kept as Ans for the next expression, and the history lets you recall earlier ones.

Frequently asked questions

How do I switch between degrees and radians?

Use the Degrees checkbox below the input. When checked, trigonometric functions take arguments in degrees and inverse functions return degrees. Unchecked, everything uses radians, which is what calculus requires.

Why does 2+3*4 give 14 and not 20?

Because of standard order of operations: multiplication is performed before addition, so 3*4 = 12 is calculated first, then added to 2. To force addition first, write (2+3)*4, which gives 20.

What does -2^2 evaluate to?

Negative four. Exponentiation binds more tightly than unary minus, so the expression is read as -(2^2) = -4. To square negative two, write (-2)^2, which gives 4. This convention matches standard mathematical notation.

How do I calculate a root other than a square root?

Use a fractional exponent. The nth root of x is x^(1/n), so the fifth root of 32 is 32^(1/5) = 2. There are also dedicated sqrt and cbrt functions for square and cube roots.

What is e, and why does it matter?

Euler's number, about 2.71828, is the base of the natural logarithm and the growth rate at which a quantity's rate of increase equals its current size. It appears wherever growth compounds continuously — interest, population, radioactive decay — and it is what makes the derivative of e^x equal to e^x itself.

Is my calculation sent to a server?

Arithmetic is evaluated locally by a parser that does not execute JavaScript. Shareable URLs may include your expression and are sent to the host when opened; review a link before sharing sensitive values.

Can I see the steps of a calculation?

Yes. Type an expression and the order-of-operations steps appear below the result, one reduction per line, each showing the operation and the expression that remains.

References

Last updated . Results are estimates for informational purposes only.