🇺🇸 USC
Math & Conversion
🧮

Basic Calculator

Simple online calculator with memory, percent, square root and a printed tape

This free basic calculator adds, subtracts, multiplies and divides with exact decimal math, so 0.1 + 0.2 shows 0.3 and a column of prices always totals to the cent. Click the keys or type on your keyboard: every number prints to a tape like an adding machine, and memory, percent and square root keys are built in.

✅

Last updated October 2026

Method: Exact base-10 arithmetic. Every number is stored as whole digits plus a decimal exponent, never as binary floating point, and keys are processed one at a time, so no typed text is ever run as code. Keys work like a desk calculator, applying each operation to the running total from left to right. Results carry 34 significant digits internally and are displayed rounded to 12.

Included: Addition, subtraction, multiplication, division, percent (add-on, discount, percent of, what percent), square root, sign change, C, CE, backspace, repeat equals for constant calculations, the memory keys MC, MR, M+ and M−, full keyboard input, and a clearable tape that prints every entry and total.

Not included: Typed formulas with parentheses or algebraic order of operations, powers, trigonometry, answers as fractions, a fixed two-decimal money mode, and saving the tape after you leave the page.

🧮 Basic calculator

 
0

Keyboard: type digits and ., use + - * / for the operators, Enter or = for the total, % for percent, Backspace to delete a digit, Delete for CE and Esc for C.

🧾 Tape

Every number you enter prints here with its operator, and each total is ruled off, like an adding machine tape.

Everything runs in your browser with exact decimal arithmetic, so there are no binary rounding errors and no typed text is ever evaluated as code. Keys work left to right like a desk calculator (2 + 3 × 4 = 20); for multiplication before addition use the Scientific Calculator. Results show up to 12 significant digits.

Basic calculator guide: keys, percent, memory and the tape

A basic calculator does the four operations of arithmetic plus the few extra keys found on most desk models: percent, square root, sign change and memory. Type 84.17 + 23.95 + 112.40 + 9.99 + 45.00 = and this one shows a total of 275.51, with each amount printed on the tape above the ruled-off total, the way an adding machine prints on its paper roll.

It is a simple calculator on purpose: a free calculator online that does the everyday work of a multiplication calculator, a division calculator and a decimal calculator on one keypad, with nothing to install. When a problem needs more, a focused tool is faster: the Scientific Calculator evaluates whole formulas with parentheses, powers and trigonometry, the Fraction Calculator keeps answers as exact fractions, and the Percentage Calculator answers percent questions asked in words.

How the keys work: left to right, like a desk calculator

Basic pocket and desk calculators use immediate execution: each operator is applied to the running total as soon as you press the next operator or the equals key. The display therefore always shows a usable subtotal, which is exactly what you want when you add up a list. In formula form, every operator key updates one stored number:

running total = running total (operator) next number 2 + 3 × 4 = → (2 + 3) × 4 = 20 order of operations: 2 + (3 × 4) = 14

The two methods only disagree when one chain mixes + or − with × or ÷. The table shows six chains as you would key them in, with the left-to-right result this calculator gives and the result under the order of operations taught in algebra (PEMDAS).

Keys pressed This calculator (left to right) Order of operations
2 + 3 × 4 =2014
10 − 4 ÷ 2 =38
12 + 18 ÷ 3 =1018
100 − 20 × 3 =24040
8 ÷ 4 + 6 × 2 =1614
6 + 4 ÷ 2 × 5 =2516

To get the algebra answer here, do the multiplication or division first and add afterward: 3 × 4 = 12, then + 2 = 14. For long formulas, the Order of Operations Calculator solves them step by step.

Worked example 1: adding a stack of receipts

Say you are totaling five receipts for an expense report: $84.17, $23.95, $112.40, $9.99 and $45.00. Type the first amount and press +, enter the next three the same way, and finish the last one with =. After each + the display shows the running total: 84.17, 108.12, 220.52, 230.51, and finally 275.51 when you press =. The tape lists all five amounts as you typed them, trailing zeros in 112.40 and 45.00 included, with 275.51 ruled off underneath.

If you mistype an amount, say 112.04 instead of 112.40, press CE before the next + and type it again. CE removes only that entry, the pending + survives, and the wrong number never reaches the tape. If you only notice after the total (which would read 275.15), the tape shows which line is off, and + 0.36 = brings the total to the correct 275.51.

If the total goes on a tax form, the IRS instructions for Form 1040 let you round to whole dollars, but they tell you to include cents while adding several amounts and to round off only the total. Rounding 275.51 gives $276. Rounding each receipt first (84 + 24 + 112 + 10 + 45) would give $275, a dollar short.

Worked example 2: an invoice total with the memory keys

Memory helps when a total is built from several products. An office supply order of 3 boxes of paper at $42.99, 2 toner cartridges at $89.50 and 12 pens at $1.25 takes three multiplications and one sum. Press MC to empty memory, then type 3 × 42.99 and press M+: the multiplication finishes (128.97) and lands in memory. Repeat with 2 × 89.50 M+ (179) and 12 × 1.25 M+ (15). MR recalls the subtotal, 322.97, and the M badge on the display has shown the memory value after every step.

To add a 6% sales tax, continue from the recalled subtotal: + 6 % shows the tax itself, 19.3782, and = gives 342.3482, which is $342.35 rounded to the cent. Use your own local rate; 6% is only an example. The tape keeps the whole story (each line item, each M+ amount, the recalled 322.97 and the taxed total), so the bill can be checked line by line.

How the percent key works

The % key confuses more people than any other, because its meaning depends on the operator in front of it. This calculator follows the convention found on many basic desk models. Every row was computed by the calculator itself:

Keys pressed Display after % Result after = What it answers
200 + 10 % =20220Add 10% (tax, tip, markup)
200 − 15 % =30170Take 15% off (discount)
1250 × 6 % =0.06756% of 1,250 (a commission)
75 ÷ 250 % =2.53075 is what percent of 250
50 ÷ 10 % =0.150050 is 10% of what number
64.99 − 30 % =19.49745.493A 30% markdown on $64.99
8 %0.080.08A percent written as a decimal

After + or −, the percent is taken of the running total, so 10 % turns into 20 when the total is 200. After × or ÷, or with no operator, % divides the number by 100. The equals key then completes the operation as usual, and the tape prints the line as + 10% → 20 so you can see what was added.

Percent keys are not standardized, which is why two calculators can disagree. The manual for Casio's fx-82MS scientific models, for example, increases 2,500 by 15% with the keys 2500 × 15 SHIFT % + (result 2,875), and its 46 − 40 SHIFT % returns 15, the percent change from 40 to 46. Here the same increase is keyed 2500 + 15 % = (also 2,875), while 46 − 40 % = means 46 minus 40% of 46 and gives 27.6. For the change between two values, the Percentage Change Calculator spells out the formula.

Repeat equals and constant calculations

Pressing = again repeats the last operation on the new result: 2 × 3 = shows 6, a second = shows 18 and a third shows 54. Typing a new number before = applies the same operation to it, which turns the calculator into a quick price list. 19.99 × 1.07 = gives 21.3893 (a $19.99 item with 7% tax); typing 24.50 = then gives 26.215 and 8.75 = gives 9.3625, each multiplied by 1.07 without retyping it.

Repeat equals also shows compound growth one period at a time. Enter 1000 × 1.05 = and keep pressing =; each press adds 5% to the previous balance:

Press of = Display (12 digits) Exact value
11,0501,050
21,102.51,102.5
31,157.6251,157.625
41,215.506251,215.50625
51,276.28156251,276.2815625
61,340.095640631,340.095640625
71,407.100422661,407.10042265625
81,477.455443791,477.4554437890625
91,551.328215981,551.328215978515625
101,628.894626781,628.89462677744140625

From the sixth press on, the exact value has more than 12 significant digits, so the display rounds it while the calculator keeps working with the full value. For savings with regular deposits or monthly compounding, the Compound Interest Calculator builds the whole schedule.

Exact decimals and 12-digit rounding

Most software stores numbers in binary floating point. JavaScript, for instance, represents every number as an IEEE 754 binary64 value, and in base 2 the decimals 0.1, 0.2 and 0.3 are endless fractions that have to be cut off. The leftover errors surface in ordinary money math. This calculator keeps exact decimal digits instead, as the comparison shows:

Calculation Raw binary64 result This calculator
0.1 + 0.20.300000000000000040.3
0.7 + 0.10.79999999999999990.8
1 − 0.90.099999999999999980.1
8.20 − 80.19999999999999930.2
100 − 99.990.0100000000000051160.01
1.40 − 1.10 − 0.30-1.6653345369377348e-160
1.1 × 1.11.21000000000000021.21
0.57 × 10056.9999999999999957

Division and square roots can still produce endless decimals, and those are rounded. The display shows up to 12 significant digits, the width of a 12-digit desk calculator: 1 ÷ 3 shows 0.333333333333, 2 ÷ 3 shows 0.666666666667, 10 ÷ 7 shows 1.42857142857 and √2 shows 1.41421356237. Behind the display the calculator keeps 34 significant digits, so 1 ÷ 3 × 3 comes back as exactly 1. Results of one trillion or more switch to scientific notation, so 999,999,999,999 + 1 shows 1e+12.

Using the tape like an adding machine

Adding machines printed every entry on a paper roll so a bookkeeper could check a column of figures afterward. The tape here does the same job on screen. Each line shows the operator and the number exactly as you typed it, totals are ruled off, and memory steps and cleared calculations are printed too. Typical uses:

  • Receipts and expense reports. Add the receipts, then compare each tape line with its paper slip. IRS Publication 583 lists sales slips, paid bills, invoices, receipts and deposit slips among the supporting documents a business keeps, and the tape makes it quick to confirm that a total matches them.
  • Checkbook register. Start with the balance and work through the entries: 1,200 − 349.99 − 89.50 + 25 = leaves 785.51, with the $25 deposit marked + on its own line.
  • Budgets and shopping. Subtract planned bills from a paycheck to see what is left, or add item prices as they go into the cart.
  • Counts. Add the counts from each shelf or bin and keep the tape next to the count sheet.

When you are done, select the tape lines and copy them into an email or spreadsheet. The tape is plain text, holds the last 500 lines, and empties when you press Clear tape or reload the page.

How to use this calculator

  1. Type a number with the on-screen keys or your keyboard. Each number can have up to 12 digits, and starting with the decimal point adds the leading zero for you (0.5).
  2. Press an operator. The display switches to the running total, and the small line above it shows the calculation so far. Pressing a different operator right away replaces the first one.
  3. Finish with =, or keep chaining operators. A second = repeats the last operation.
  4. Correct mistakes with ⌫ (last digit), CE (the number you are typing) or C (the whole calculation).
  5. Use the extra keys: % as described above, √ for the square root of the displayed number and ± to change its sign. Pressed at the start or right after an operator, ± begins a negative number, so 200 + ± 5 = gives 195.
  6. Keep subtotals with M+ and M−, bring them back with MR and reset memory with MC.

You can type without clicking the calculator first. These keys work anywhere on the page:

Keyboard key Calculator action
0-9 and .Type a number (the numeric keypad works too)
+ - * /Add, subtract, multiply, divide (x also multiplies)
Enter or =Total, or repeat the last operation
%Percent
BackspaceDelete the last digit
DeleteCE: clear the number you are typing
EscC: clear the whole calculation
r or @Square root
n or F9Change sign

The memory keys have no shortcut so they cannot be pressed by accident. Reach them with a click or tap, or with Tab and then Enter.

Who this calculator is for

It suits anyone who needs arithmetic fast and wants to trust the result: shoppers comparing totals and discounts, bookkeepers and small business owners adding receipts and invoices, students checking long multiplication and division, parents helping with decimal homework, and DIYers working out materials. The side of a square room with 250 square feet of floor is √250 = 15.8113883008, about 15.81 feet. Because it runs in the browser, it behaves the same on a phone in a store and on a laptop at a desk, and the keyboard support keeps number-heavy work quick.

Key terms

  • Immediate execution: each operation runs as soon as the next operator or = is pressed; also called chain or left-to-right calculation.
  • Running total: the number carried from one operation to the next and shown after every operator.
  • Operand: a number an operation acts on. In 200 + 10, both 200 and 10 are operands.
  • Constant calculation: repeating the last operation with =, often shown as K on desk calculators.
  • Memory register: a separate stored number controlled by MC, MR, M+ and M−.
  • Significant digits: the digits from the first nonzero digit onward; the display shows up to 12.
  • Scientific notation: a compact form for very large or small numbers; 1e+12 means 1 × 1012, one trillion.
  • Binary floating point: the base-2 number format most software uses, which cannot store most decimals exactly.

What changes the result

When two calculators give different answers for the same keys, one of these is almost always the reason:

  • Order of evaluation: left to right here and on most basic desk models, algebraic order on scientific calculators and in spreadsheet formulas.
  • Percent convention: the table above shows this calculator's rules; some models give % a different meaning after + or −.
  • Repeat behavior: an extra = repeats the last operation here, so a stray press changes the total.
  • Display width: 10 ÷ 7 shows 1.4285714 on an eight-digit pocket model and 1.42857142857 on this 12-digit display.
  • Number format: software built on binary floating point can show tiny errors such as 0.30000000000000004 that decimal arithmetic avoids.

Tips for multiplication, division and decimals

  • Estimate first. 19.99 × 3 is close to 20 × 3 = 60, so 59.97 is plausible and 599.7 means a slipped decimal point.
  • Count decimal places. 0.25 × 0.4 has three decimal places in total, so the product 0.100 is shown as 0.1.
  • Dividing by a number below 1 makes the result bigger: 7.5 ÷ 0.25 = 30 and 128 ÷ 0.5 = 256.
  • Remainders: 17 ÷ 5 = 3.4, so 5 goes into 17 three times with 0.4 × 5 = 2 left over. The Long Division Calculator shows the steps and the Modulo Calculator returns just the remainder.
  • Division by zero has no answer. 8 ÷ 0 shows Cannot divide by zero, 0 ÷ 0 shows Result is undefined, and any digit starts over.
  • Round once, at the end. Continue from a displayed result instead of retyping it, and round only the final answer; the Rounding Calculator handles a set number of decimal places.

Limitations and when to use a different calculator

This is a four-function desk calculator by design. It does not read typed formulas, has no parentheses or powers and always works left to right; the Scientific Calculator handles those. Answers are decimals, never fractions, so for exact thirds and sevenths use the Fraction Calculator or turn a result into a fraction with the Decimal to Fraction Calculator. Typed numbers are limited to 12 digits, and very large results appear in scientific notation, which the Scientific Notation Calculator converts. The tape lives only in your browser tab. For everyday money questions, the Sales Tax Calculator, Discount Calculator and Tip Calculator ask for the inputs in plain words and show every intermediate amount.

Sources

Arithmetic itself needs no source: sums, products and quotients follow from the rules of the decimal number system, and every example on this page was computed with the same engine the calculator runs. The outside facts cited above come from these primary sources:

⚠️ Common mistakes & edge cases

Expecting multiplication to go first

100 − 20 × 3 = gives 240 here, not 40, because the keys run left to right. Store the product first with 20 × 3 M+ (60), then key 100 − MR = to get 40, or switch to the Scientific Calculator.

Pressing % before the base amount

10 % + 200 = gives 200.1, not 220, because 10 % on its own becomes 0.1 before the addition starts. The base comes first: 200 + 10 % =.

Pressing C when you meant CE

Midway through 200 + 50, C throws away the whole calculation, while CE removes only the 50 and keeps 200 + waiting for a new number. When C abandons a calculation in progress, the tape prints a cleared line, so you can see where a total was dropped.

Retyping a rounded result

10 ÷ 3 = shows 3.33333333333. Pressing × 3 = right away continues from the full internal value and gives 10, but retyping 3.33333333333 × 3 = gives 9.99999999999. Continue from the display instead of copying it by hand.

Dividing by zero or rooting a negative

8 ÷ 0 shows Cannot divide by zero, 0 ÷ 0 shows Result is undefined, and the square root of −9 shows Invalid input. None of these has a real-number answer; press any digit or C to continue.

Forgetting to clear memory between jobs

M+ keeps adding to whatever memory already holds, so last week's invoice can leak into this week's. Press MC before a new job; the M badge on the display tells you when memory is not empty.

Note: Sums, differences and products of the decimals you type are exact. Only results with more than 12 significant digits, such as most divisions and square roots, are rounded on the display.

❓ Frequently asked questions

Is this online calculator free to use?

Yes. It is free, needs no download or account, and works in any current browser on a phone, tablet or computer. Every calculation runs on your own device, nothing you type is sent to a server, and the tape is discarded when you close or reload the page.

Why does 2 + 3 × 4 equal 20 on this calculator?

Because it works like a desk calculator: each operation is applied to the running total as soon as you press the next key. 2 + 3 makes 5, and 5 × 4 makes 20. The algebraic order of operations does the multiplication first and gives 14. To get 14 here, enter the product first: 3 × 4 = 12, then + 2 = 14.

How do I add a percentage on a basic calculator?

Type the amount, press +, type the percentage, press % and then =. For 200 + 10 % = the display first shows 20, which is 10% of 200, and then the total of 220. The minus key works the same way for a discount: 200 − 15 % = gives 170.

How do I find what percent one number is of another?

Divide, then press % and =. 75 ÷ 250 % = gives 30, so 75 is 30% of 250. The same keys grade a test: 45 ÷ 60 % = gives 75, meaning 45 correct answers out of 60 is a score of 75%.

Can I use this calculator as an adding machine?

Yes. Type each amount followed by + and the display keeps a running total while the tape prints every amount on its own line. Press = after the last amount for the total, which is ruled off on the tape. Use − for refunds or credits, CE to fix an amount before you press the next key, and Clear tape to start a new list.

What do MC, MR, M+ and M− do?

They control one memory register. M+ adds the displayed number to memory and M− subtracts it. If a calculation is pending it is finished first, so 3 × 4.25 M+ stores 12.75. MR recalls the stored value and MC resets memory to zero. An M badge on the display shows the stored value whenever it is not zero.

What is the difference between C and CE?

C clears the whole calculation in progress, including the pending operator and the number that a repeated = would reuse. Memory and the tape are kept. CE clears only the number you are typing, so 200 + 50 CE 30 = still gives 230. The ⌫ key deletes just the last digit.

Can I type on my keyboard instead of clicking?

Yes, as soon as the page has loaded. Digits, the decimal point and + − * / work directly, and x also multiplies. Enter or = gives the total, % applies a percent, Backspace deletes a digit, Delete is CE and Esc is C. Press r or @ for the square root and n or F9 to change the sign.

How do I multiply or divide decimals?

Type them exactly as written, including the decimal point. 0.25 × 0.4 = gives 0.1, 1.5 × 2.25 = gives 3.375 and 7.5 ÷ 0.25 = gives 30. Short decimal results are exact, and endless ones are rounded to 12 significant digits on the display, so 10 ÷ 7 shows 1.42857142857.

Why do some apps show 0.30000000000000004 for 0.1 + 0.2?

Most software stores numbers in binary floating point, which cannot hold 0.1 or 0.2 exactly, so their sum lands a tiny bit above 0.3. JavaScript uses the IEEE 754 binary64 format, and printing that raw sum gives 0.30000000000000004. This calculator does its arithmetic in base 10, so 0.1 + 0.2 is exactly 0.3 and 1.40 − 1.10 − 0.30 is exactly 0.

💡 Good to know

Round the total, not the lines

The IRS instructions for Form 1040 say to keep the cents while adding several amounts and round only the result. For the receipts above that gives $276 instead of $275, and the same habit keeps any budget or invoice from drifting a dollar at a time.

A subtotal is just an equals sign

Press = once whenever you want a ruled-off subtotal on the tape, then keep going with + or −. The next operator continues from that subtotal, so one long list can be checked in sections. Press it only once: a second = repeats the last addition.

Two passes catch most typos

Bookkeepers often add a column twice, once top to bottom and once bottom to top. If both totals agree, a skipped or doubled line is very unlikely; if they differ, compare the two tapes line by line to find it.

Related Calculators