Basic & Scientific — with keyboard support.
Basic Mode: Click buttons or use your keyboard to type numbers and operators (+, -, ×, ÷). Press = or Enter to calculate.
Scientific Mode: Access trigonometric functions (sin, cos, tan and their inverses), logarithms (log, ln), square root, power (x^y), absolute value, factorial, and constants (π, e).
Keyboard Shortcuts: Numbers, +, -, *, / work directly. Press Backspace to delete, Escape to clear all. Press Enter or = to evaluate.
History: Click any previous calculation to load the result back into the calculator.
Yes! Once loaded, the calculator works entirely in your browser. No internet connection is needed for calculations.
The calculator uses JavaScript's native floating-point arithmetic with up to 10 significant digits of precision — more than enough for everyday calculations.
Trigonometric functions use radians. To convert degrees to radians, multiply by π/180. For example, sin(90°) = sin(90 × π / 180) = sin(1.5708).
JavaScript supports numbers up to approximately 1.8 × 10³⁰⁸. For extremely large or small numbers, results are shown in scientific notation.