Arithmetic & Number Theory
Subtraction
Subtract b from a.
Formula
Formula
d = a − b
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| a | minuend | real number (ℝ) | — | input |
| b | subtrahend | real number (ℝ) | — | input |
| d | difference | computed result | — | result |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givena = 10, b = 4
Result6
Example 2
Givena = 3, b = 9
Result-6