What is 20 mod 7?
20 mod 7 equals 6, because 20 divided by 7 leaves a remainder of 6.
How to use this tool
- Enter dividend (a) and divisor (b) in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your remainder (a mod b) and the full breakdown beneath it.
20 mod 7 is 6 — the remainder when 20 is divided by 7.
Frequently asked questions
- What is the modulo operation?
- The modulo (%) returns the remainder of a division. For example, 17 mod 5 = 2 because 17 = 3×5 + 2.