Scientific Calculator

The Complete Guide to the Scientific Calculator

Supported functions, order of operations, deg vs rad mode, keyboard shortcuts, and how your data stays private.

Open Scientific Calculator

Supported Functions

The scientific calculator supports everything you'd expect from a handheld scientific calculator, entered either by tapping the on-screen buttons or typing directly:

FunctionDescriptionExample
sin, cos, tanTrigonometric functions, evaluated in the currently selected angle unit (deg or rad)sin(90) = 1 (deg mode)
logBase-10 logarithmlog(1000) = 3
lnNatural logarithm (base e)ln(1) = 0
√ (sqrt)Square root√(81) = 9
x²Squares the value it's applied to7x² = 49
x^yRaises a base to any exponent, including negative or fractional ones2^10 = 1024
π, eThe mathematical constants pi and Euler's number2π ≈ 6.2832
%Converts a number into a hundredth of itself25% = 0.25
( )Group part of an expression to control evaluation order(2+3)*4 = 20

Memory keys (MC, MR, M+, M-) let you park a running total to one side while you work through other calculations, independent of whatever is currently on the display.

Order of Operations

The calculator's expression parser follows the same order of operations taught in school - often remembered as PEMDAS/BODMAS:

PriorityOperationExample
1 (highest)Parentheses and function arguments - sin(...), log(...), √(...), (...)sin(30+30) evaluates 30+30 first
2Exponents (^), evaluated right-to-left2^3^2 = 2^(3^2) = 512
3Multiplication and division, left-to-right2+3*4 = 2+12 = 14
4 (lowest)Addition and subtraction, left-to-right10-4+2 = 8

Two smaller conveniences worth knowing: writing a number directly next to a parenthesis, pi, or e is treated as multiplication (e.g. 2(3+4) = 14 and 2π ≈ 6.2832), and pressing equals automatically closes any parenthesis you forgot to close yourself.

Deg vs Rad Mode

Angles can be measured in two common units, and the DEG/RAD toggle above the display tells the calculator which one your sin, cos, and tan inputs are using:

DEG (Degrees)A full circle is 360 degrees. This is the everyday unit - most people mean degrees when they say "90 degree angle."
RAD (Radians)A full circle is 2π radians (≈6.2832). Radians are the standard unit in calculus, physics, and most higher mathematics.

The same input gives very different results depending on the mode: sin(90) equals 1 in Deg mode (90 degrees is a right angle) but only about 0.894 in Rad mode (90 radians is a much larger, "wrapped around" angle). If a trig result looks unexpected, check which mode is currently selected first.

Keyboard Shortcuts

Every button on screen has a keyboard equivalent, so you can type an entire expression without touching the mouse:

KeyAction
0-9 and .Enter digits and a decimal point
+ - * /Addition, subtraction, multiplication, division
^Power / exponent
%Percent (divide by 100)
( and )Open and close parentheses
Enter or =Calculate the result
BackspaceDelete the last character
EscapeClear the entire expression

Scientific functions (sin, cos, tan, log, ln, √), constants (π, e), and memory keys (MC/MR/M+/M-) don't have dedicated key shortcuts - click their on-screen buttons, and the rest of the expression can still be typed normally.

Frequently Asked Questions

Why does 2^3^2 evaluate to 512 instead of 64?

Exponents are evaluated right-to-left (right-associative), matching standard mathematical convention, so 2^3^2 is read as 2^(3^2) = 2^9 = 512, not (2^3)^2 = 8^2 = 64. Some simpler calculators default to left-to-right evaluation for chained exponents instead, which is why the two can disagree on expressions with more than one ^ in a row.

Does writing a number next to a parenthesis or constant automatically multiply it, like 2(3+4) or 2π?

Yes - this is called implicit multiplication. 2(3+4) evaluates as 2 × 7 = 14, and 2π evaluates as 2 × π ≈ 6.2832, without needing to type the multiplication symbol explicitly, just like it would be written by hand in mathematical notation.

What does the % button actually do - is "200 + 10%" the same as "220"?

No. On this calculator, % is a simple postfix operator that divides whatever precedes it by 100, so 10% always equals 0.1 on its own. That means 200 + 10% evaluates as 200 + 0.1 = 200.1, not 200 + (10% of 200) = 220 the way some standalone percent-key calculators special-case addition. If you want 10% of 200 added on, calculate 200 + 200*10/100 explicitly.

What order does the calculator follow when evaluating an expression?

It follows standard mathematical order of operations: parentheses and function arguments first, then exponents (^), then multiplication and division, and finally addition and subtraction, evaluated left to right within each level.

Why does the calculator not use eval() to compute results?

For security. Passing user-typed text straight into eval() or Function() can let carefully crafted input execute arbitrary JavaScript. Instead, this calculator tokenizes and parses the expression itself with a small hand-written recursive-descent parser that only ever recognizes numbers, known operators, and known function names.

What happens if I forget to close a parenthesis?

The calculator automatically closes any parentheses you left open when you press equals, so an expression like sin(30 still evaluates correctly as sin(30).

Open Scientific Calculator