Maths & numbers

Basic calculator for four arithmetic operations

Add, subtract, multiply or divide two decimal numbers with keyboard-friendly fields and copyable output.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Add, subtract, multiply or divide two decimal numbers with keyboard-friendly fields and copyable output.

Worked example comparison
ExampleOutputWhat to notice
Worked exampleResult150Adding 125.5 and 24.5 gives 150.
Subtract the second operandResult101Subtraction uses the original input order.

Check your understanding

Can I enter an entire expression?

Use the scientific calculator to enter several operations with parentheses and precedence in one expression.

What does the “Subtract the second operand” setting illustrate?

Subtraction uses the original input order.

Behind the numbers

How this calculation works

Enter two signed decimal values and choose the operation. Subtraction and division preserve the input order. The calculation uses decimal arithmetic so a sum such as 0.1 + 0.2 is represented exactly.

THE FORMULAApply the chosen operation to the first number and the second number in that order.

A worked example

Adding 125.5 and 24.5 gives 150.

Good to know

Enter signed decimals of up to 18 characters. Division requires a nonzero divisor and rounds to 16 significant digits.

How the inputs affect the result

Use the first operand for the quantity you start with. When working out how much remains, subtract the amount used as the second operand.

Subtraction uses the original input order.

Where the calculation applies

Enter signed decimals of up to 18 characters. Division requires a nonzero divisor and rounds to 16 significant digits.

For a related calculation, see the Scientific calculator with typed expressions.

A few questions, answered

Can I enter an entire expression?

Use the scientific calculator to enter several operations with parentheses and precedence in one expression.

What does the “Subtract the second operand” setting illustrate?

Subtraction uses the original input order.

Find your calculator

Start typing to explore the library.