Modulo Calculator

    Calculate remainder of division

    Formula

    a mod b = a - b × floor(a/b)

    The remainder after integer division.

    Examples

    17 mod 5

    = 2 (17 = 5×3 + 2)

    Frequently Asked Questions

    About Modulo

    Calculate the remainder of division (modulo operation).