Big-number arithmetic
Basic Calculator
Premium basic calculator with history, memory, PEMDAS, and keyboard shortcuts. 100% accessible.
By Jeff Beem
Updated
Keyboard shortcuts
3 + 5 × 2 = 13
Type the expression in one go and press equals: multiplication runs before addition, so you get 13, not 16. Memory, a 10-line history tape, keyboard entry, and high-precision decimal math sit on the same pad as √, x², and 1/x for quick checks.
Four things that change how you use it
Memory is one slot; history is a scrollback
The % key depends on what’s already on screen
Float quirks are deliberately avoided
Basic calculator: PEMDAS-style precedence, memory, and history
3 + 5 × 2 = 13 here (not 16). 0.1 + 0.2 shows 0.3, memory holds a running total, and the tape keeps your last 10 lines in the browser.
What this calculator does
- Outputs:Formatted result on the display; optional history lines showing expression → result.
- Limits:No parentheses or exponent keys on this pad (precedence is ×/÷ then +/− only). History is in-memory for the session, not synced across devices. MC/M+/M− aren’t mapped to keys. Needs a loaded page; it isn’t a native offline app unless your browser already cached the site.
The math
- Precedence examples:3 + 5 × 2 → 13. 10 − 4 ÷ 2 → 8. 2 × 3 + 4 × 5 → 26 (both products, then the sum).
- Decimal arithmetic:0.1 + 0.2 → 0.3 on screen. Division by zero shows Error.
- Percentage:100 × 15 then % → 15. 100 + 10 then % → 110 (adds 10% of 100). Plain 15 then % → 0.15 (divide display by 100).
- Memory worked example:Calculate 10 + 5, M+, calculate 20 + 3, M+, MR → 38.
- Display formatting:Commas on normal-sized integers and decimals; scientific notation at |x| ≥ 10¹⁵ or 0 < |x| < 10⁻⁶.
Using the calculator
- Keyboard:0–9, + − * /, ., Enter/=, Backspace, Esc/C clear, %, M recall, Shift+M store.
- Memory buttons:MC clear, MR recall, MS replace, M+ / M− accumulate. M badge when memory ≠ 0.
- History:Show History toggles the tape; newest lines on top; max 10 entries.
- Extra keys:√, x², 1/x, ± act on the current display value (not a chained expression).
- Accessibility:Buttons and the display carry aria-labels; keyboard paths avoid requiring a pointer. We don’t claim a formal WCAG audit here.
- Privacy:Calculations stay in your browser; nothing is posted to a server.
FAQ
How do I use the memory functions (MC, MR, MS, M+, M-)?
Does the calculator follow order of operations?
How do I view my calculation history?
Can I use keyboard shortcuts?
How does the calculator handle very large or small numbers?
Why does 0.1 + 0.2 look right here?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.