About this tool
A premium glassmorphic calculator. Supports basic arithmetic operators (+, -, *, /), signs, and calculation history.
This Basic Calculator lets you type a whole expression across the display — for example 12 + 7 * 3 — and evaluates it with standard operator precedence, so multiplication and division resolve before addition and subtraction rather than left to right the way a cheap pocket calculator does. Results are rounded to 8 decimal places to suppress binary floating-point noise, and the last 20 calculations stay in a log you can click to reload. It is for anyone doing quick arithmetic in a browser tab who wants to see the full expression, correct it, and check what they entered.
Open Basic Calculator on AltFTool — it loads instantly in your browser.
Press the number keys (0-9) and the . key to build a value. AC resets the display to 0, the back-arrow key rubs out the last character, and +/- flips the sign.
Pick an operator from the tinted column — the keys are ÷, ×, - and + — or type +, -, * or / on your keyboard, which is also wired to the digits, Enter, Backspace and Escape.
Press = (or Enter) to evaluate. The answer replaces the display, the expression moves to the small line above it, and the run is added to the Calculation Log, which keeps the last 20 entries; anything the calculator cannot evaluate shows Error.
2 + 3 * 4 returns 14, not 20, because the whole expression is evaluated at once instead of each operator being applied as you press it.
Results are rounded to 8 decimal places and trailing zeros dropped, so 0.1 + 0.2 comes back as 0.3 rather than 0.30000000000000004.
Digits and the decimal point, + - * /, Enter or = to evaluate, Backspace to delete, and Escape or C to clear all work without touching the mouse.
Yes. The entire expression on the display is evaluated together, so multiplication and division bind tighter than addition and subtraction — 2 + 3 * 4 gives 14.
The 20 most recent, newest first. Clicking any entry loads its result back into the display. The log lives in the page only, so refreshing or closing the tab clears it.
Because the expression could not be evaluated or the result is not a finite number — an incomplete expression, or a division by zero, which returns Infinity. Press AC to clear and start again.
It toggles the minus sign on the front of whatever is currently in the display. It negates the whole entry, so use it before typing an operator rather than to subtract mid-expression.
Add the Basic Calculator widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/basic-calculator"
title="Basic Calculator — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/basic-calculator?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>