Scientific Calculator

A full scientific calculator in your browser: trigonometry in degrees or radians, logarithms, powers and roots, factorials, parentheses, memory keys, and answer recall — with complete keyboard support and no account or install. Nothing you calculate is transmitted anywhere.

0

Angle unit

Keyboard entry works for digits and operators; press Enter for equals and Escape to clear.

What this calculator handles

Everything a handheld scientific calculator does, evaluated with correct operator precedence: 2 + 3 × 4 gives 14, powers like 2^10 give 1,024, the y-th root key computes 3√27 = 3, factorials like 10! give 3,628,800, and parenthesized expressions such as (2+3) × (4+1) give 25. Every example in this paragraph is computed at build time by the same tested engine that powers the keypad above.

Degrees, radians, and the trig keys

The Deg/Rad toggle sets the angle unit for sin, cos, and tan and their inverses — in degree mode sin(30) is 0.5. Degree mode suits everyday geometry and most schoolwork; radian mode is the convention in calculus and physics. If a trig result looks wildly wrong, the mode toggle is almost always the reason.

Chaining calculations with Ans and memory

The Ans key holds your last result: pressing an operator immediately after equals continues the calculation from that value, so running totals need no retyping. The memory keys work like a separate register — M+ and M− accumulate into it, MR recalls it into the current expression — which is handy for summing several independent sub-results, like line items that each involve their own arithmetic.

Honest error handling

Instead of returning Infinity, NaN, or silently wrong values, undefined operations produce plain-language messages — division by zero, even roots of negative numbers, logs of zero, factorials of non-integers. The expression is preserved so you can correct it, and results are displayed to 12 significant digits with floating-point artifacts removed.

Frequently asked questions

Does the calculator follow order of operations?

Yes — full operator precedence, not left-to-right entry: 2 + 3 × 4 evaluates to 14, exponents bind tighter than multiplication and are right-associative (2^3^2 = 512), and parentheses override everything.

What is the difference between Deg and Rad?

The angle unit for trigonometry. In degree mode sin(30) = 0.5; in radian mode the same input is treated as 30 radians. Inverse functions (sin⁻¹, cos⁻¹, tan⁻¹) return their answer in whichever mode is selected.

How do the memory keys work?

M+ adds the current result to memory, M− subtracts it, and MR inserts the stored value into your expression. Ans recalls the previous result, so you can chain calculations — press an operator right after equals and the calculation continues from the last answer.

Can I type instead of clicking?

Yes. Digits, + − × ÷ (* and /), ^, parentheses, the decimal point, % and ! all work from the keyboard; Enter evaluates and Escape clears. Focus the calculator first by clicking any part of it.

Why do I get an error instead of Infinity when dividing by zero?

Undefined operations — division by zero, square roots of negatives, factorials of fractions, logarithms of non-positive numbers — are reported as clear messages rather than misleading values. The expression stays on screen so you can fix it.

All calculation happens locally in your browser and is never transmitted. The engine is a tested expression parser — see the methodology page.