Calculators
Basic Calculator
A simple arithmetic calculator for quick results.
First number is required.
About This Tool
Use this calculator for quick arithmetic without opening a spreadsheet or writing an expression by hand. It supports addition, subtraction, multiplication, division, powers, remainders, decimal inputs, and a temporary recent-calculations list. Because operations use the first and second values in order, it is also useful for checking non-commutative calculations such as subtraction, division, powers, and remainders.
How To Use It
- Enter the first number.
- Choose the operation you want to perform.
- Enter the second number.
- Read the result, copy it, or save it to the recent calculations list.
Examples
Division with decimals
Enter 128.5 and 4, choose Division, and the result is 32.125.
Remainder checks
Use Remainder to find what is left after integer-style division, such as 17 mod 5 = 2. The order matters: 17 mod 5 and 5 mod 17 are different calculations.
Powers
Enter 2 as the first number and 10 as the second number, then choose Power to calculate 2 raised to the 10th power, which is 1024.
Useful Notes
Operation order matters
The output applies the selected operation to the first number and then the second. Addition and multiplication can be reversed without changing the result, but subtraction, division, powers, and remainders generally cannot.
Division and remainder by zero
A zero second value is invalid for division and remainder operations. The calculator reports an error rather than displaying an infinite or misleading result.
Decimal arithmetic and precision
Browser calculations use standard JavaScript floating-point numbers. Some decimal operations can have tiny representation differences, so avoid treating every displayed digit as measurement precision for scientific or financial work.
Local processing
Calculations run in the browser, and the recent calculation list stays on the page only rather than being saved as an account history.
FAQ
Can it handle decimals?
Yes. Decimal values are supported for all operations.
Why can I not divide by zero?
Division and remainder operations are undefined when the second number is zero, so the tool shows an error instead.
Does the calculator keep history after I leave?
No. Recent calculations are only kept while the page is open.
What does the Power operation do?
It raises the first number to the exponent entered as the second number. For example, 3 to the power of 4 is 81.
Why can decimal arithmetic sometimes show unexpected last digits?
Web browsers represent most numbers with binary floating-point arithmetic. Some decimal fractions cannot be represented exactly, which can create very small rounding differences.
Related Tools
Percentage Calculator
PopularFind percentages, percent change, increases, and decreases.
Discount Calculator
PopularFind final price and savings after a percentage discount.
Tip Calculator
PopularFind tip, total, and per-person split for a bill.
Fraction Calculator
Calculate and simplify arithmetic with two fractions.