Convert with Convertly

Guides Calculators Maths calculators

How to use the Modulo Calculator

The Modulo Calculator works out modulo (sign of divisor), remainder (sign of dividend) and quotient (floor) from dividend and divisor.

What the Modulo Calculator does

The Modulo Calculator works out modulo (sign of divisor), remainder (sign of dividend) and quotient (floor) from dividend and divisor. Percentages, fractions, ratios, averages, roots, factors and equations, plus basic and scientific calculators.

It runs in your browser and nothing you type is uploaded.

Before you start

You need 2 values:

  • Dividend: A number.
  • Divisor: A number.

Step by step

  1. Open the Modulo Calculator.
  2. Enter Dividend.
  3. Enter Divisor.
  4. Press Calculate. Every field that needs fixing is listed next to it.
  5. Read the main result first, then the other lines. Open Formula and assumptions to see how it was worked out.
  6. Use Copy to keep the result, and add the calculator to your favourites if you use it often.

A worked example

With these sample values (they are only an illustration; use your own):

Dividend10
Divisor10

the calculator gives:

Modulo (sign of divisor)0
Remainder (sign of dividend)0
Quotient (floor)1

The example is the real output of this calculator.

Reading your result

The result lists: modulo (sign of divisor), remainder (sign of dividend) and quotient (floor).

The formula it uses:

a mod b = a − b × floor(a ÷ b)

  • For negative numbers the mathematical modulo and the remainder differ; both are shown.

Common mistakes

  • Use the same units for every value.
  • Type numbers without currency symbols; commas are fine.
  • Optional fields can stay empty. Required fields cannot.
  • Treat the result as an estimate: real quotes, rules and rounding can differ.

Common questions

Do I have to fill in every field?

Every field except those marked optional must be filled in. If something is missing or out of range, the calculator tells you which field to fix.

Can I save or share a result?

Yes. Use Copy for the result text, Share where your browser supports it, and add the calculator to your favourites. History is kept only in this browser, and you can switch it off or delete it.

Are my numbers uploaded?

No. The calculation runs in your browser.

More guides: Maths calculators

Convertly on your Android phone

Convert, scan and sign documents on your phone, with nothing uploaded.

Get it onGoogle Play