Math calculator

Free basic calculator calculator

Perform standard four-function arithmetic with parentheses — enter any expression using +, −, ×, ÷ to see the result, updated live, as you type.

InputsLive
Expression
Supports +, −, *, / and parentheses. Follows order of operations.
Result
Result
14
2 + 3 * 4 = 14
Expression2 + 3 * 4
Result14
Integer?Yes

Evaluates arithmetic expressions using standard order of operations. Only digits, +, −, *, /, and parentheses are accepted.

Results are estimates. Consult a professional.

How it's calculated

How the basic calculator works

A basic calculator performs the four arithmetic operations — addition, subtraction, multiplication, and division — together with percentage and sign-change functions. When an expression contains more than one operation, the result depends on the order in which operations are applied. Calculators and mathematical convention both follow PEMDAS (also called BODMAS or BEDMAS in some countries): Parentheses first, then Exponents, then Multiplication and Division left to right, then Addition and Subtraction left to right.

PEMDAS order: Parentheses → Exponents → Multiplication/Division → Addition/Subtraction
Multiplication and Division: evaluated left to right when at the same level
Addition and Subtraction: evaluated left to right when at the same level
Percentage: x% = x ÷ 100
NCTM — Order of Operations standards
Example

Worked example: applying PEMDAS correctly

Example: 2 + 3 × 4 and (2 + 3) × 4

Two expressions that look similar but give different results because of where the parentheses go. Getting the order of operations right is the most common source of arithmetic mistakes.

2 + 3 × 4 → multiply first: 2 + 12 = 14 ✓
2 + 3 × 4 → add first: 5 × 4 = 20 ✗ (wrong order)
(2 + 3) × 4 → parentheses first: 5 × 4 = 20 ✓
10 ÷ 2 + 3 × 4 → division and multiply first: 5 + 12 = 17
2 + 3 × 4 = 14
Multiplication always comes before addition unless parentheses say otherwise. Add parentheses any time you want to force a different order.
Quick reference

PEMDAS order of operations examples

These examples show how PEMDAS resolves common expressions step by step. Read left to right within each precedence level.

ExpressionStep-by-stepResult
2 + 3 × 4multiply: 2 + 1214
(2 + 3) × 4parentheses: 5 × 420
10 ÷ 2 + 3 × 4div+mult: 5 + 1217
2² + 3exponent: 4 + 37
(2 + 3)²parentheses: 5² = 2525
8 ÷ 4 ÷ 2left to right: 2 ÷ 21
50% of 8080 × 0.540

Source: NCTM standard order of operations. Division before or after multiplication at the same level is resolved left to right.

Practical tips

Tips for accurate arithmetic

Even a simple calculator can give the wrong answer if you enter the expression incorrectly. These habits keep your calculations accurate.

  • Use parentheses liberally — when in doubt, add parentheses to make the order explicit; extra parentheses never change a correctly ordered expression.
  • Enter percentage as decimal for multi-step calculations — 15% tax on $80 is easiest as 80 × 1.15 = $92, not 80 + (80 × 15 ÷ 100).
  • Check sign carefully for negative numbers — entering −3² gives −9 on most basic calculators (negation after squaring); use (−3)² = 9 if you want the square of a negative.
  • Re-read the problem before calculating — most arithmetic errors are in reading the question wrong, not in pressing the wrong buttons.
  • Estimate before you compute — round each number to one significant figure and compute mentally first; this sanity check catches order-of-magnitude errors before they matter.
Accuracy & limits

Accuracy and limitations

This calculator uses JavaScript's 64-bit floating-point arithmetic (IEEE 754), which is exact for most everyday calculations. However, certain decimal fractions cannot be represented exactly in binary — the classic example is 0.1 + 0.2 = 0.30000000000000004. Results are rounded to 10 significant figures for display, which eliminates this noise for typical use. Division by zero returns an error. For financial calculations requiring penny-exact results, round intermediate steps yourself or use integer arithmetic (cents rather than dollars).

Glossary

Key terms

The acronym for the order of operations: Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. Known as BODMAS or BEDMAS in some countries.
The agreed sequence for evaluating a mathematical expression containing multiple operators, ensuring every person gets the same result.
Brackets ( ) used to group part of an expression and force it to be evaluated first, overriding the default order.
A superscript number indicating how many times the base is multiplied by itself. 2³ = 2 × 2 × 2 = 8.
A ratio expressed as parts per hundred. x% = x ÷ 100. On a calculator, the % key divides by 100.
The way computers store decimal numbers in binary. Most fractions are approximations; 64-bit precision is sufficient for general arithmetic but not for exact financial rounding.
About

About this calculator

Part of our math calculators suite — explore all calculators.

Questions

Frequently asked questions about the free basic calculator calculator

A basic calculator calculator is a free online tool that helps you standard four-function calculator with parentheses. Evaluates +, −, ×, ÷ with operator precedence. It runs entirely in your browser with instant results and no sign-up.
JavaScript double-precision floating-point — accurate to about 15-17 significant digits. For arbitrary precision, use the Big Number calculator.
The statistics calculator computes population variance (divides by n). For sample variance, multiply variance by n/(n-1).

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.