Web Calculator
A four-function calculator with parentheses, percentages, memory keys, a running history and full keyboard support.
History (up to 30)
Press equals to record a calculation here; click a row to put its result back into the expression.
Evaluation is a hand-written tokeniser, shunting-yard pass and RPN walk — no eval and no dependency. Percent follows physical-calculator semantics: inside + and − it means “that share of the left operand” (100+10% = 110), while inside × and ÷ it is a plain value (100×10% = 10). Results are rounded to 12 significant digits before display, so 0.1+0.2 honestly reads 0.3. The keyboard works directly: digits, operators, brackets, percent, Enter to evaluate, Backspace to delete, Esc to clear.
About Web Calculator
A four-function calculator with parentheses, percentages, memory keys, a running history and full keyboard support.
The work happens in your browser: what you paste is never sent to a server, and no account is needed.
More in this category
Comments
We only read your public GitHub username and avatar — no email, no write access. Comments are limited to 140 characters, cannot be edited, and can be deleted within 24 hours.
You can delete your own comment within 24 hours. Comments cannot be edited.
No comments yet — be the first.
Loading comments…