Example 1
- a = 3
- b = 7
7
Which is larger, 3 or 7? 7. maximum.
Type a and b. The result is the larger of a and b. 3 and 7 give 7. −2 and 5 give 5. 4 and 4 give 4.
Two fields, one number. This is not the min / max / range card. An empty field is a blank value and a blank. An integer max goes as a string.
Enter data and click Calculate.
Maximum of two numbers returns the larger one. The calculator takes the larger of a and b. 3 and 7 give 7. −2 and 5 give 5. 4 and 4 give 4, because both are equal.
The fields are a and b. Order does not change the result. 7 and 3 also give 7. A winning fraction would get six decimal places: 2.5 and 1 give 2.500000.
An empty field is a blank value. a blank field and 7 leaves a blank, not 7. Zero is a number: 0 and −3 give 0.
Minimum and maximum of three numbers, with a range, is on the neighbouring page. There its own card and three strings. Range from a list in one field is another calculator.
The header units switch does not multiply anything. 3 and 7 stay 7 whatever the label says.
3 and 7 give 7. −2 and 5 give 5. 4 and 4 give 4.
max(a, b)
Maximum is the larger of a and b. 3 and 7 give 7. −2 and 5 give 5. 4 and 4 give 4.
7
Which is larger, 3 or 7? 7. maximum.
5
Which is larger, −2 or 5? 5.
4
Which is larger, 4 or 4? 4. Equals stay 4.
The result is 7, the larger of 3 and 7.
The larger of a and b. One result. No minimum and no range.
5. A minus does not beat a plus.
4. Equal numbers, the same max.
a blank value. a blank field and 7 leaves a blank.
Yes. 0 and −3 give 0.
Yes, when max is not an integer. 2.5 and 1 give 2.500000.
On the minimum and maximum of numbers card. There three results.
No. 7 and 3 also give 7.
Yes. 2.5 and 2,5 are the same number.
The calculator computes the same formula as the definition below.
Page updated in 2026.