Skip to main content
➗ Division

Quotient and Remainder Calculator

Divide two whole numbers to get the quotient and the remainder, with the a = q × b + r check and the decimal result shown.

Quotient & remainder
Divisibility check
a = q×b + r
Decimal result
100% Free
🔢 Open All Math Calculators 📖 Read the Guide

Quotient & remainder — Quick answer

The dividend equals the quotient times the divisor, plus the remainder.

a = q × b + r  (0 ≤ r < b for positive a, b)

Worked example: 17 ÷ 5 → q = 3, r = 2, since 3 × 5 + 2 = 17.

Examples

a ÷ bQuotientRemainder
100 ÷ 7142
25 ÷ 550
7 ÷ 1007

Remainder 0 means the divisor is a factor of the dividend.

➗ Quotient and Remainder Calculator

Enter the dividend and divisor (whole numbers).

Quotient
Remainder
Divisible?
Decimal

ℹ️ Truncated division toward zero. With negatives, the remainder takes the sign of the dividend (like the % operator).

Division with remainder splits a division into a whole-number quotient and a leftover remainder. They always satisfy a = q × b + r, where a is the dividend, b the divisor, q the quotient and r the remainder. This calculator returns both, checks divisibility, and shows the decimal result.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: integer division identity, recomputed in code.

The identity

Division with remainder
a = q × b + r, with q = trunc(a ÷ b) and r = a − q × b

The quotient is how many whole times the divisor fits into the dividend; the remainder is what's left. For positive numbers the remainder is always between 0 and one less than the divisor. A remainder of 0 means the division is exact and the divisor is a factor. This calculator truncates toward zero, so a negative dividend gives a remainder with the same sign — matching the modulo operator in most programming languages.

Worked examples

100 ÷ 7:

Quotient 14
7 × 14 = 98 · 100 − 98 = 2 → q = 14, r = 2

25 ÷ 5 (exact):

Remainder 0
5 × 5 = 25 · r = 0 → 5 is a factor of 25

7 ÷ 10 (small dividend):

Quotient 0
10 doesn't fit into 7 → q = 0, r = 7

Each result can be checked with the identity: 14 × 7 + 2 = 100, 5 × 5 + 0 = 25, and 0 × 10 + 7 = 7. That a = q × b + r check is exactly what the calculator displays.

Frequently Asked Questions

What are the quotient and remainder?

Quotient = whole times b fits into a; remainder = what's left. a = q×b + r. 17 ÷ 5 → q 3, r 2.

What is the remainder of 100 ÷ 7?

14 remainder 2: 14 × 7 = 98, 100 − 98 = 2.

What does a remainder of 0 mean?

Exact division — the divisor is a factor. 25 ÷ 5 = 5 r 0.

Is the remainder the same as modulo?

For positives, yes (a mod b). With truncated division, negatives give a remainder signed like the dividend.

What if a is smaller than b?

Quotient 0, remainder = a. 7 ÷ 10 → q 0, r 7.

Need more math tools?

Explore long division, GCD & LCM, fraction to percent, decimal to fraction and more across the AI Calculator math suite.

🔢 Open Math Calculators — Free

No registration required · 350+ calculators · PDF report export