Basic calculator: add, subtract, multiply, or divide positive, negative, and decimal numbers. Results stay hidden until you calculate, and you can copy or export your work.
Select Calculate to see the result.
Calculation history
How to use the basic calculator
- Enter the first number.
- Select addition, subtraction, multiplication, or division.
- Enter the second number and choose Calculate.
- Copy the answer, download the calculation history as CSV, or print it to PDF.
Basic arithmetic formulas
Worked examples
| Operation | Example | Result |
|---|---|---|
| Addition | 12 + 4 | 16 |
| Subtraction | 12 − 4 | 8 |
| Multiplication | 12 × 4 | 48 |
| Division | 12 ÷ 4 | 3 |
Decimals, negative numbers, and precision
This basic math calculator accepts decimals and negative values. JavaScript numbers use floating-point arithmetic, so some decimal operations can produce a long representation internally. The calculator formats ordinary answers to a practical maximum of 12 decimal places while preserving very large and very small results in scientific notation.
Division by zero is undefined, so the calculator displays an error instead of a numerical answer. Always check the sign, decimal position, and selected operation before relying on a result.
Order of operations
This tool performs one operation between two numbers. For longer expressions, follow parentheses first, then exponents, multiplication and division, and finally addition and subtraction. Use our Scientific Calculator for multi-step expressions.
Basic Calculator tips for quick arithmetic help
The Basic Calculator is useful when you need fast arithmetic help without entering a long expression. Addition combines two values, subtraction finds the difference, multiplication repeats one value by another, and division separates a value into equal parts. Choose the operation that matches the question, then estimate the likely answer before selecting Calculate.
A quick estimate is an effective error check. For example, 49 × 21 should be close to 50 × 20, or 1,000. If the Basic Calculator answer is far from that estimate, check the entered numbers, the selected operation, and the decimal positions. When subtracting or multiplying negative numbers, also check the sign of the result.
The history records up to ten calculations during the current visit. This makes it easy to compare alternatives or trace a short sequence of steps. Download the history as a CSV file when you want a spreadsheet-ready record, or use Print / Save PDF for a clean printable result. Changing an input marks the displayed answer as outdated until you calculate again.
For homework, use the Basic Calculator to verify an answer after completing the arithmetic manually. For money, measurement, engineering, or scientific work, preserve the original inputs and confirm the required rounding rule. The Basic Calculator works from the values provided, but it cannot detect an incorrect source number or decide how many significant figures your situation requires. For a broader mathematical definition, see Wolfram MathWorld’s arithmetic reference.
Frequently asked questions
Can this calculator use negative numbers?
Yes. Enter a minus sign before either number.
Can I calculate with decimals?
Yes. Use a period as the decimal separator, such as 2.75.
Why can’t I divide by zero?
No finite number multiplied by zero produces a nonzero dividend, so division by zero has no defined real-number result.
Does Reset erase the history?
Yes. Reset restores the example inputs, hides the result, and clears the current calculation history.
Accuracy note: This calculator is suitable for routine arithmetic checks. Verify high-stakes financial, scientific, engineering, or academic work with the relevant authoritative method.