Modulo Calculator (Remainder)

Math Tools

a mod b, quotient and remainder

FreePrivateInstant
Dividend (a)
Divisor (b)

Similar tools you may like

History

All history →

Modulo Calculator (Remainder) — at a glance

Get the remainder of a division instantly.

You enter
17 mod 5
Calculate Modulo
Result
2

How to use it — step by step

The dividend (a) and the divisor (b).

1

Enter your values

Fill in the fields. Default numbers are shown so you can see how it works.

2

Press Calculate Modulo

The answer appears at once as large result cards.

3

Copy or share

Copy the result, or share a link that opens with your numbers filled in.

Pro tips

Small things that make the result better.

✦Math modulo is never negative for a positive divisor.
✦Programming % can return negative values.
✦Used for clocks, cycles and checksums.

Quick facts

Freeno signup
Privateruns in your browser
Instantresult in a second
No limituse it as often as you like

Frequently Asked Questions

What is modulo?+

The remainder after dividing a by b.

Why do two answers appear?+

Languages differ for negative numbers. Both the truncated and the floored result are shown.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

More Free Tools