20 mod 6
20 mod 6 equals 2, since 20 = 6×3 + 2.
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 divided by 6 is 3 remainder 2, so 20 mod 6 = 2.
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.