Basic Calculator
The everyday workhorse: add, subtract, multiply, divide, raise to a power or take a modulo of two numbers, with division-by-zero and overflow handled gracefully and the full arithmetic shown step by step.
TheCalculators — Basic Calculator
Printed thecalculators.com
12 + 5
17
Addition · result is an exact integer
- First number (a)
- 12
- Operation
- Addition (+)
- Second number (b)
- 5
- Result
- 17
- E-notation
- 1.7000e+1
- Rounded to 2 dp
- 17
- Squared
- 289
- Result sign
- positive
Step-by-step
- 1Add12 + 5 = 17
- 2Result12 + 5 = 17
Order matters for subtraction, division, power and modulo — a op b is not the same as b op a. Swap the inputs if you meant the reverse.
Most useful next
Formula
a op b · mod: a − b·⌊a ÷ b⌋
Pro tips
- • For chained calculations, take the result and feed it back in as the first number.
- • a mod b is the clock arithmetic operator: 17 mod 12 = 5, i.e. 17:00 is 5 pm.
- • The power operation accepts fractional exponents (a^0.5 = √a) — negative bases with fractional exponents are rejected.
FAQ
Related Calculators
More Everyday tools you might need.
Scientific Calculator
Full scientific keypad — sin, cos, tan, logs, roots, powers, memory and Deg/Rad, with instant exact results.
CalculateFraction Calculator
Add, subtract, multiply or divide two fractions; result simplified with mixed number.
CalculatePercentage Calculator
Three modes: X% of Y, X is what % of Y, and percentage change between two values.
CalculateExponent Calculator
Raise any base to any power — integer, negative or fractional — with a growth chart.
Calculate