Audited ·Last updated 27 Jul 2026·3 citations·Tier 2·0 uses

Dividing Fractions Calculator

Divide two fractions with the keep-change-flip method shown step by step — the reciprocal, the product, and the simplified answer, all as real numbers.

Dividing Fractions Calculator

The top number of the fraction being divided. Must be an integer; can be positive, negative, or zero.
The bottom number of the fraction being divided. Must be a non-zero integer.
The top number of the fraction you are dividing by. Must be a non-zero integer — dividing by a fraction whose numerator is zero is undefined, because that fraction equals zero.
The bottom number of the fraction you are dividing by. Must be a non-zero integer.
Result numerator
5
The simplified quotient's numerator, sign preserved. For 2/3 ÷ 4/5 this is 5 (the answer is 5/6).
Reciprocal numerator (the "flip")
5
Reciprocal denominator (the "flip")
4
Product numerator (before simplifying)
10
Product denominator (before simplifying)
12
GCD used to simplify
2
Result denominator
6
Decimal value
0.8333
Improper / mixed flag
0
Whole part (mixed number)
0
Fractional numerator (mixed number)
5
Quotient as a fraction
5/6

Background.

This dividing fractions calculator applies — and shows — the 'keep, change, flip' method every pre-algebra classroom teaches: keep the first fraction exactly as it is, change the division sign to multiplication, and flip the second fraction upside down (swap its numerator and denominator) before multiplying. Enter 2/3 ÷ 4/5 and the calculator does not just print '5/6' — it reports reciprocalNumerator = 5 and reciprocalDenominator = 4 (the literal flip of 4/5 into 5/4), the pre-simplified product numerator 10 and denominator 12, the gcd used to reduce (2), and finally the simplified answer 5/6.

Quanta's general-purpose fraction calculator (math/fraction) also divides fractions, but it computes the equivalent expression (n1×d2)/(d1×n2) in one internal step and returns only the final simplified quotient — the reciprocal of the second fraction, the actual 'flip' that gives the method its name, is never a declared, readable value anywhere in its output. This calculator exists specifically to make that flip visible: the second fraction's numerator and denominator, swapped, shown as their own numbers, followed by the multiplication and simplification steps.

Why does flipping and multiplying work for division? Dividing by a number is defined as multiplying by that number's reciprocal — its multiplicative inverse, the number that, when multiplied by the original, gives 1. For a fraction c/d (with c ≠ 0), the reciprocal is d/c, because (c/d) × (d/c) = (c×d)/(d×c) = 1. So dividing by c/d is mathematically identical to multiplying by d/c, and 'keep, change, flip' is simply that identity applied mechanically: keep the dividend, change ÷ to ×, flip the divisor to its reciprocal. This is exactly the same rule as 'invert and multiply,' the phrase used interchangeably in most algebra textbooks.

The method has three steps, and this calculator reports each one. First, flip the second fraction: its denominator becomes the new numerator, and its numerator becomes the new denominator. Second, multiply the first fraction by that flipped fraction, straight across — numerator times numerator, denominator times denominator. Third, normalise the sign so the denominator is positive, and simplify the result by dividing both terms by their greatest common divisor, found via the Euclidean algorithm.

This calculator also handles the details that complicate manual division: a negative dividend or divisor (sign is normalised after the flip-and-multiply step, so the denominator you see in the final answer is always positive), a zero numerator on the fraction being divided (the answer is always 0, correctly reduced to 0/1), and — critically — a zero numerator on the divisor, which this calculator explicitly rejects with a clear error, because dividing by 0/anything is dividing by zero itself, which is undefined. Whether you're checking homework on keep-change-flip, splitting a measured quantity into fractional portions, or want to see the reciprocal step made explicit for your own numbers, this page and the calculator above cover the single operation of fraction division completely.

What is dividing fractions calculator?

Dividing one fraction by another, n1/d1 ÷ n2/d2, means finding the value x such that x × (n2/d2) = n1/d1. Because every non-zero rational number c/d has a multiplicative inverse — its reciprocal d/c, satisfying (c/d) × (d/c) = 1 — division by a fraction is defined as multiplication by that fraction's reciprocal: n1/d1 ÷ n2/d2 = n1/d1 × d2/n2 = (n1 × d2)/(d1 × n2). This is the algebraic justification for the 'keep, change, flip' or 'invert and multiply' rule taught in every arithmetic course: keep the dividend unchanged, change the operation from division to multiplication, and flip the divisor into its reciprocal by swapping its numerator and denominator. The reciprocal is undefined when the original numerator is zero, because 0/d has no multiplicative inverse (there is no fraction that, multiplied by 0/d, gives 1) — which is exactly why dividing by a fraction whose numerator is zero is disallowed, mirroring ordinary division by zero. Once the reciprocal is taken and the multiplication is carried out, the result is reduced to lowest terms exactly as with any other fraction: divide both the numerator and denominator by their greatest common divisor, found via the Euclidean algorithm, and normalise the sign so the denominator is always reported as positive. When the resulting quotient's magnitude is 1 or greater, it can equivalently be expressed as a mixed number.

How to use this calculator.

  1. Enter the first fraction (the number being divided) as a numerator and denominator in the first pair of fields.
  2. Enter the second fraction (the number you are dividing by) as a numerator and denominator in the second pair of fields. Its numerator must be non-zero — dividing by zero is undefined.
  3. Read the reciprocal outputs to see the literal 'flip' of the second fraction: its denominator becomes the reciprocal numerator, and its numerator becomes the reciprocal denominator.
  4. Check the pre-simplified product numerator and denominator to see the result of multiplying the first fraction by that reciprocal, before any reduction.
  5. Read the gcd used to simplify, and the primary result — the simplified quotient's numerator and denominator.
  6. Check the decimal value for a quick sense of magnitude, and the mixed-number outputs (isMixed, wholePart, fractionalNumerator) whenever the quotient's magnitude is 1 or greater.
  7. If you enter a divisor with a numerator of zero, the calculator stops and explains why — that divisor equals zero, and division by zero is undefined for any dividend.

The formula.

n₁⁄d₁ ÷ n₂⁄d₂ = n₁⁄d₁ × d₂⁄n₂ = (n₁·d₂) ⁄ (d₁·n₂)

The calculator implements keep-change-flip in three explicit, individually-reported steps, following OpenStax Prealgebra 2e §4.2. Step one — flip: the reciprocal of n2/d2 is d2/n2, valid whenever n2 ≠ 0, because (n2/d2) × (d2/n2) = (n2×d2)/(d2×n2) = 1 by definition of a multiplicative inverse. If n2 = 0, no reciprocal exists (there is no fraction that, multiplied by 0/d2, yields 1), so the calculator rejects that input explicitly rather than propagating an undefined result. Step two — keep, change: multiply the first fraction by the reciprocal found in step one, straight across: numerator times numerator over denominator times denominator, giving (n1 × d2) over (d1 × n2). This is the algebraic content of 'dividing by X equals multiplying by 1/X,' applied with X = n2/d2. Step three — simplify: normalise the sign of the raw product so its denominator is positive (if d1 × n2 came out negative, both the numerator and denominator are multiplied by −1, which does not change the fraction's value), then divide both terms by their greatest common divisor, found via the Euclidean algorithm (Euclid, Elements, Book VII, Proposition 2): repeatedly replace the larger of two numbers with the remainder of dividing it by the smaller, until the remainder is zero — the last non-zero remainder is the GCD. The resulting fraction is, by definition of the GCD, in lowest terms. If its magnitude is at least 1, the mixed-number form follows immediately: the whole part is the floor of the decimal value, and the remaining fractional numerator is the reduced numerator minus the whole part times the reduced denominator.

A worked example.

Example

Take 2/3 ÷ 4/5. The calculator reads n1 = 2, d1 = 3, n2 = 4, d2 = 5; all four pass validation, and the divisor's numerator (4) is non-zero, so a reciprocal exists. Step one — flip: the reciprocal of 4/5 is 5/4, so reciprocalNumerator = 5 and reciprocalDenominator = 4. Step two — keep, change: multiply 2/3 by 5/4 straight across: numerator = 2 × 5 = 10, denominator = 3 × 4 = 12. Both are already sign-normalised (the denominator 12 is positive), so productNumerator = 10 and productDenominator = 12. Step three — simplify: gcd(10, 12) is found by the Euclidean algorithm — 12 = 1 × 10 + 2, so gcd(10, 12) reduces to gcd(10, 2); then 10 = 5 × 2 + 0, so gcd(10, 2) = 2. Dividing both terms by 2 gives resultNumerator = 5, resultDenominator = 6 — the answer is 5/6. The decimal value is 5 ÷ 6 ≈ 0.8333333333. Since |5| < 6, the quotient is proper: isMixed = 0, wholePart = 0, fractionalNumerator = 5. A second illustrative case: −3/4 ÷ 2/5. The reciprocal of 2/5 is 5/2, giving a raw product of (−3 × 5)/(4 × 2) = −15/8, already in lowest terms since gcd(15, 8) = 1; because |−15| ≥ 8 the quotient is improper, with wholePart = −2 (Math.floor(−1.875)) and fractionalNumerator = −15 − (−2 × 8) = 1 — the mixed number −(1 7/8).

n12
n24
d13
d25

Frequently asked questions.

What does "keep, change, flip" mean?
It is a memory aid for dividing fractions: keep the first fraction exactly as it is, change the division sign to a multiplication sign, and flip the second fraction upside down — swap its numerator and denominator — before multiplying straight across. For 2/3 ÷ 4/5: keep 2/3, change ÷ to ×, flip 4/5 to 5/4, giving 2/3 × 5/4 = 10/12, which simplifies to 5/6.
Why does flipping the second fraction and multiplying give the correct answer?
Because dividing by any non-zero number is mathematically defined as multiplying by that number's reciprocal (its multiplicative inverse). The reciprocal of a fraction c/d is d/c, because (c/d) × (d/c) = (c×d)/(d×c) = 1 by definition. So n1/d1 ÷ n2/d2 is exactly n1/d1 × (n2/d2)'s reciprocal, which is n1/d1 × d2/n2 — flipping the second fraction and multiplying is not a shortcut trick invented for convenience; it is the direct algebraic meaning of division applied to fractions.
Why can't the second fraction's numerator be zero?
Because a fraction with a numerator of zero, 0/d, equals zero, and dividing by zero is undefined in ordinary arithmetic — there is no number that, multiplied by zero, produces a non-zero dividend. Equivalently, 0/d has no reciprocal: no fraction, multiplied by 0/d, can ever equal 1. This calculator raises a clear error if you try to divide by a fraction whose numerator is zero, rather than returning an undefined or infinite result.
What if the first fraction (the one being divided) has a numerator of zero?
That is perfectly valid and always gives an answer of exactly zero, because zero divided by any non-zero number is zero. For example, 0/5 ÷ 3/7 = 0 ÷ (3/7) = 0, correctly reported as resultNumerator = 0 and resultDenominator = 1.
How do I divide by a whole number using this calculator?
Enter the whole number as a fraction with a denominator of 1. To compute 2/3 ÷ 4, enter n2 = 4 and d2 = 1; the reciprocal of 4/1 is 1/4, so the calculator multiplies 2/3 by 1/4 to get 2/12, which simplifies to 1/6 — matching the ordinary rule that dividing by a whole number n is the same as multiplying by the fraction 1/n.
Does dividing a fraction always make the answer smaller?
No — that intuition only holds when dividing by a number greater than 1. Dividing by a proper fraction (one smaller than 1) actually makes the result larger, because you are asking how many copies of a small piece fit into the dividend. For example, 1/2 ÷ 1/4 = 2, which is larger than 1/2, because there are two quarters in a half. Dividing by a number greater than 1, like 3/2, does shrink the result: 1/2 ÷ 3/2 = 1/3.
How is this different from Quanta's general fraction calculator?
Quanta's fraction calculator (math/fraction) supports add, subtract, multiply, and divide behind one operation dropdown, and its division mode computes the equivalent product expression internally without ever declaring a reciprocal as a separate, readable output — the 'flip' step that gives keep-change-flip its name is invisible in that calculator's data. This calculator does one operation only, division, and is built specifically to expose the reciprocal, the pre-simplified product, and the final answer as individual numbers, matching the method taught step by step in a classroom.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon