Online Calculator
Free online calculator, no installation required. Scientific and programmer modes
About Calculator
A three-mode calculator. Basic mode handles everyday arithmetic with +, -, *, /, parentheses, decimal point, and percent. Scientific mode adds trigonometry (sin, cos, tan), logarithms (log base 10 and ln), square root, power (^), factorial (n!), and the constants pi and e. Programmer mode works in a chosen integer base (HEX base 16, DEC base 10, OCT base 8, BIN base 2) and supports bitwise operations AND, OR, XOR, NOT, left shift, and right shift. A persistent history (up to 20 entries) is stored locally in your browser.
How to Use
1. Pick a mode button at the top: Basic, Scientific, or Programmer. 2. Tap the on-screen buttons to build your expression; the current expression and value show in the display. 3. Press = to evaluate; the result appears in the display and is appended to History. 4. Use Copy to copy the displayed value, and the History button to review, reuse, or clear past calculations (tap a history row to load its result). 5. In Programmer mode press HEX / DEC / OCT / BIN to switch the active base; the displayed value re-renders in the new base.
Mode-Specific Behavior
Scientific mode evaluates the expression by substituting sin->Math.sin, cos->Math.cos, tan->Math.tan, log->Math.log10, ln->Math.log, sqrt->Math.sqrt, ^->** (power), and pi and e with their numeric constants, then evaluates the resulting JavaScript expression; functions like sin apply to the current value when pressed. Programmer mode parses only integer digits valid in the current base (0-1 in BIN, 0-7 in OCT, 0-9 in DEC, 0-9 and A-F in HEX) and applies bitwise ops between integer operands; results are shown in uppercase in the active base.
▶What does the % button do in Basic mode?
▶How is history stored and how much can it hold?
▶Why does Programmer mode reject some digits?
▶Is my data sent to a server?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee