Calculator Hub

Math & Statistics

Modulo Calculator

Find the remainder when one integer is divided by another.

Your inputs

Change any value to update the result instantly.

Math & Statistics

a mod n

2

Quotient (floor)

3

Formula and working

a mod n = a − n·⌊a ÷ n⌋

  1. 1

    Collect the inputs

    Dividend a = 17; Modulus n = 5

  2. 2

    Apply the formula

    a mod n = a − n·⌊a ÷ n⌋

  3. 3

    Result

    a mod n = 2

Frequently asked questions

Important limitation

This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.

Report a mistake or request an improvement

Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.

Related calculators

Back to Calculator Hub