Online Calculator

Basic & Scientific — with keyboard support.

Basic
Scientific
0

History

No calculations yet

How to Use

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.

Frequently Asked Questions

Does this calculator work offline?

Yes! Once loaded, the calculator works entirely in your browser. No internet connection is needed for calculations.

How accurate are the calculations?

The calculator uses JavaScript's native floating-point arithmetic with up to 10 significant digits of precision — more than enough for everyday calculations.

Are trigonometric functions in degrees or radians?

Trigonometric functions use radians. To convert degrees to radians, multiply by π/180. For example, sin(90°) = sin(90 × π / 180) = sin(1.5708).

What is the maximum number supported?

JavaScript supports numbers up to approximately 1.8 × 10³⁰⁸. For extremely large or small numbers, results are shown in scientific notation.