Scientific Calculator

A full scientific calculator with trigonometry, logarithms, powers, roots, factorials, and brackets. Type your expression or use the buttons, and switch between degrees and radians.

How it is calculated

Your expression is broken down into small parts — numbers, symbols, brackets, and function names.

These parts are reordered using a method called the shunting-yard algorithm, so the correct order of operations is followed.

The reordered expression is then solved step by step.

Nothing you type is ever run as computer code — only basic maths is worked out, so it is completely safe.

Formula

Operators: + − × ÷ ^ % !

Functions: sin cos tan asin acos atan log ln sqrt cbrt abs exp

Constants: π, e

Order: Brackets → powers → × ÷ → + −

Worked example

Evaluating an expression with mixed precedence.

Expression: 2 + 3 × 4²

Powers first: 4² = 16

Then multiplication: 3 × 16 = 48

Then addition: 2 + 48 = 50

Answer: 50 (not 400, which is what left-to-right would give)

Frequently asked questions

Why does 2 + 3 × 4 give 14 rather than 20?

Multiplication is always done before addition. If you want to add first, use brackets: (2 + 3) × 4 = 20.

What is the difference between log and ln?

log uses base 10, so log(1000) = 3. ln is the natural log, which uses base e, and is used in growth and interest formulas.

Should I use degrees or radians?

Use degrees for everyday geometry and most schoolwork. Use radians for calculus and advanced maths. The mode buttons let you switch, and this setting applies to all trigonometry functions.

Is it safe to type anything into it?

Yes. Your input is read as maths, not as computer code, so only basic calculations happen. Anything it does not understand is simply shown as an error.