Basic Calculator

Simple online calculator for everyday sums: add, subtract, multiply, divide, brackets, powers and percentages, with a keypad and history.

Reviewed · How we build and check our calculators

Your details

Type it or use the keys. Enter keeps the answer, Escape clears.

Answer

56

Calculation
12.5 × 4 + 18 ÷ 3
Scientific notation
5.6 × 10¹
Rounded to 2 decimals
56.00

How the basic calculator works

A simple on-screen calculator for everyday sums: add, subtract, multiply, divide, powers, brackets and percentages. It follows the usual order of operations and shows the answer as you type.

Formula

Brackets first, then powers (^), then × and ÷ from left to right, then + and − from left to right. A percentage after + or − is a share of the number before it: 200 + 10% = 200 + 20 = 220.

  1. 1

    Type or tap the calculation

    The starting example is 12.5 × 4 + 18 ÷ 3.

  2. 2

    Multiply and divide first

    12.5 × 4 = 50 and 18 ÷ 3 = 6.

  3. 3

    Then add

    50 + 6 = 56, which the answer shows at once.

  4. 4

    Press = to keep it

    The answer moves to the history list, and an operator such as + pressed next carries on from 56.

Everyday sums and what to type

The % key does most of the work for tips, discounts and tax: + 15% adds 15% of the number before it, and − 25% takes 25% off. Each answer below is worked out by this calculator.

Everyday sums and what to type
TaskTypeAnswerIn dollars
15% tip on a $64 bill64 × 15%9.6$9.60
The $64 bill with a 15% tip64 + 15%73.6$73.60
That total split 4 ways(64 + 15%) ÷ 418.4$18.40
25% off an $80 price80 − 25%60$60.00
$49.99 plus 8% sales tax49.99 + 8%53.9892$53.99
Price of one item when 12 cost $4.994.99 ÷ 120.415833$0.42
Pay for 37.5 hours at $18.25 an hour37.5 × 18.25684.375$684.38

Calculations that are easy to get wrong

Without brackets, the calculator follows the standard order of operations exactly. Other calculators and spreadsheets do not all agree on cases such as 6 ÷ 2(1 + 2) and −2^2, so add brackets whenever there is doubt.

Calculations that are easy to get wrong
TypedAnswerWhy
10 − 4 − 33+ and − go from left to right: 6 − 3
100 ÷ 10 ÷ 25× and ÷ go from left to right: 10 ÷ 2
6 ÷ 2(1 + 2)9A number before a bracket is a ×, worked in order: 3 × 3
2 + 3^211The power comes first: 2 + 9
(2 + 3)^225The bracket comes first: 5²
−2^2-4The power comes before the minus: −(2²)
2^3^2512Powers go from right to left: 2⁹

Typing tips

A few details make typing a long calculation faster.

  • Use * for ×. The letter x is not read as times.
  • Use ^ or ** for a power: 2^10 and 2**10 both give 1,024.
  • Thousands separators are fine: 1,250 × 4 reads as 1250 × 4. Use a point for decimals.
  • Square brackets [ ] work like round ones.
  • After =, tapping the +, −, ×, ÷, ^ or % key carries on from the answer, while a digit key starts a new calculation.
  • The history keeps your last 8 answers until you leave the page.

Common questions

Why is 2 + 3 × 4 equal to 14 and not 20?

Multiplication comes before addition in the standard order of operations, so 3 × 4 = 12 is worked out first and 2 + 12 = 14. Write (2 + 3) × 4 to add first.

How does the % key work?

On its own, 15% is 0.15. After + or − it is a share of the number before it, like on a shop calculator: 80 − 25% = 60. After × it is a plain share: 80 × 25% = 20.

Why does 0.1 + 0.2 show 0.3?

Computers store decimals in binary, which makes 0.1 + 0.2 come out as 0.30000000000000004. The calculator rounds every answer to 15 significant digits, so you see the 0.3 you expect.

Can I use my keyboard?

Yes. Type digits and + - * / ^ ( ) % in the box. Enter keeps the answer in the history and Escape clears the box.

Add this calculator to your website

Free for blogs, schools and businesses. Paste this code into your page; the calculator works inside it, with no ads and no tracking. Please keep the credit line.