Math

Quotient and Remainder Calculator

Divide two nonnegative whole numbers and show an exact integer quotient and remainder.

Exact method explained belowEditable inputs
Calculation notebook
Calculation notebook

The formula and worked example below explain the calculation.

See the method

Enter your values

Runs on your device

Your answer

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter dividend, divisor.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
DividendNumeric value. Zero or positive.100
DivisorNumeric value. Minimum: 1.7

Result for these sample inputs

14
Remainder
2
Check
7 × 14 + 2 = 100

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

Dividend = divisor × quotient + remainder, where the remainder is at least zero and smaller than the positive divisor.

A WORKED EXAMPLE

100 ÷ 7 gives quotient 14 and remainder 2, because 7 × 14 + 2 = 100.

What to keep in mind

Only nonnegative integer dividends and positive integer divisors through one trillion are supported. This tool does not define a signed modulo convention.

Common questions

Why is division by zero rejected?

No finite quotient and remainder can satisfy the required division rule with a zero divisor.

What if the dividend is smaller than the divisor?

The quotient is zero and the remainder is the original dividend.

Methodology maintained by ClarityKit. How these tools are built and checked.