Scientific Calculator

A full scientific calculator with trigonometric functions, logarithms, powers, roots, factorial, and memory, plus extra converters for degrees/radians and custom power/root. Everything runs locally in your browser.

Calculator

0
 

You can also use your keyboard: numbers, + − × ÷ ^ % ( ), Enter for equals, Backspace to delete, and Esc to clear.

Convert degrees and radians

result 0

Custom power and root

power 0
root 0

Available functions

Trigonometric: sin, cos, and tan, which respect the degree or radian mode selected above the keypad.

Logarithmic: log (base-10 logarithm) and ln (natural logarithm, base e).

Power and root: the xⁿ button inserts the power symbol (^), and √ calculates square root.

Factorial: the x! button calculates the factorial of a non-negative integer.

Constants: π (pi, approximately 3.14159) and e (Euler's number, approximately 2.71828).

Degrees or radians: which to choose

Degrees and radians are two different ways of measuring the same angle. A full circle is 360 degrees, or exactly 2π radians. Most everyday situations, like construction angles or navigation, use degrees, while advanced physics and engineering calculations often use radians, since many formulas become simpler in that unit. Before calculating sine, cosine, or tangent of an angle, check that the selected mode matches the unit of the value you're entering.

How memory works (M+, M-, MR, MC)

The calculator's memory works like a "drawer" that holds a number while you do other calculations. M+ adds the current result to the value stored in memory, M- subtracts it, MR (memory recall) inserts the stored value into the current expression, and MC (memory clear) resets the memory to zero. It's useful when you need to accumulate a total while calculating several separate parts.

Order of operations respected

This calculator follows the correct order of mathematical operations (PEMDAS/BODMAS): parentheses first, then powers and roots, then multiplication and division, and finally addition and subtraction. For example, the expression 2+3*4 equals 14, not 20, because multiplication is calculated before addition. Exponentiation also follows correct right-associativity: 2^3^2 is calculated as 2^(3^2), resulting in 512.

Power and root with custom indices

The main keypad calculates square root directly, but for other roots, like cube root or a 5th root, use the custom power and root calculator further down, which accepts any index. It also correctly handles odd-index roots of negative numbers, like the cube root of -8, which is -2, a case the standard power function doesn't resolve on its own.

Frequently asked questions

What is the difference between degree mode and radian mode?

Two ways of measuring angles: a full circle is 360 degrees or 2π radians. Trigonometric functions need to know which unit was used to calculate correctly.

How do you calculate power and root on the calculator?

Use ^ for power and sqrt() for square root on the main keypad. For custom-index roots, use the dedicated calculator further down.

Does this calculator send the calculations to a server?

No. All calculations are performed locally in your browser, without sending anything externally.