Calculators / Whole numbers

Modulo Calculator

Find the non-negative Euclidean remainder when one whole number is divided by another.

Enter the number to divide and a non-zero whole-number divisor.

−7 modulo 3 → 2
Modulo Calculator

Negative numbers are supported.

A positive or negative integer, but not zero.

Number formats and limits

Whole numbers only; a leading minus sign is allowed.

Up to 100 digits per number and 200 numbers per list.

Your result

Your answer will appear here.

Calculated in your browser. Your inputs stay on your device.