How to Simplify Fractions Using the Greatest Common Divisor

A fraction is in lowest terms when the numerator and denominator share no positive common divisor other than 1. Simplifying finds the greatest common divisor and divides both parts by it. The value does not change: 18/24 and 3/4 are the same rational. Use the simplify fractions tool to see the Euclidean steps.

Equivalent fractions

Multiplying or dividing numerator and denominator by the same nonzero integer yields an equivalent fraction. 2/3 = 4/6 = 8/12. Target denominators that are not multiples of the reduced denominator cannot represent the same value with an integer numerator.

Lowest terms

After normalization the denominator is positive and gcd(|n|, d) = 1, except that 0 is stored as 0/1. Two equal rationals share that unique pair.

Common factors

18 and 24 share 2, 3, and 6. The greatest of those is 6, so 18/24 = 3/4. Listing factors by hand is slow for large integers; the Euclidean algorithm uses remainders instead.

Greatest common divisor

gcd(84,126): 126 into 84? 84 = 0×126 + 84, then 126 = 1×84 + 42, then 84 = 2×42 + 0. The last nonzero remainder is 42. 84/42=2 and 126/42=3, so 84/126=2/3. gcd(17,13)=1. gcd(0,12)=12. gcd(0,0) is not used for a valid fraction.

Euclidean algorithm

While b is not zero, replace (a,b) with (b, a mod b). When b is zero, a is the gcd. Signs are ignored by taking absolute values first. This is exact with BigInt; it does not convert to Number.

Simplifying proper fractions

42/56: gcd=14, 3/4. Already simplified 3/4 reports a gcd of 1 and “already in lowest terms.”

Simplifying improper fractions

The same rule applies. 18/12 = 3/2, which may be written 1 1/2. Simplifying does not require converting to a mixed number first.

Handling negative signs

2/−4 and −2/4 both become −1/2. −2/−4 becomes 1/2. The denominator is forced positive so comparison and mixed-number conversion stay consistent.

Zero numerators

0/7 = 0/1. Do not attempt gcd(0,0) by writing 0/0. That input is rejected as undefined.

Checking whether a fraction is fully simplified

Compute g = gcd(|n|, d). If g = 1 and d > 0, you are done. If someone submits 2/4 as equal to 1/2 on a lowest-terms exercise, the practice trainer marks “correct value — simplification required.”

Euclidean trace for 84 and 126: 126, 84, 42, 0. Circle 42 as the gcd, then 84÷42 and 126÷42.

Example two: 100/45. gcd(100,45)=5, so 20/9. Example three: −54/24 = −9/4. Example four: 270/84. Remainders run 270, 84, 18, 12, 6, 0 so gcd=6 and 270/84=45/14. Example five: 11/27 is already lowest terms because 11 is prime and does not divide 27.

A longer Euclidean walk

Simplify 1547/1078. Compute 1547 = 1×1078 + 469. Then 1078 = 2×469 + 140. Then 469 = 3×140 + 49. Then 140 = 2×49 + 42. Then 49 = 1×42 + 7. Then 42 = 6×7 + 0. The gcd is 7. 1547÷7=221 and 1078÷7=154, so 221/154. Check gcd(221,154): 221=1×154+67, 154=2×67+20, 67=3×20+7, 20=2×7+6, 7=1×6+1, 6=6×1+0, gcd=1. 221/154 is lowest terms. Doing this by listing prime factors of 1547 is slower and easier to miscount.

The same walk works for negative inputs because the algorithm uses absolute values. −1547/1078 reduces to −221/154. A positive denominator keeps later addition rules simple: you never have to remember whether a minus sits under the bar.

When simplification is finished

Stop when the remaining pair is coprime. Stopping early, for example reducing 84/126 by 6 to 14/21 instead of by 42 to 2/3, leaves a fraction that still shares a factor of 7. The calculator reports the full gcd so you do not have to guess whether another pass is needed. If you are checking homework, compute gcd of the leftover numerator and denominator; a result of 1 is the certificate.

FAQ

Is the GCD always smaller than both numbers?
It is at most the smaller absolute value. For 12 and 18 it is 6.
Can I cancel zeros?
No. Trailing zeros in 10/20 cancel as a factor of 10, not as decimal points.
Does simplifying change comparisons?
No. 2/4 still equals 1/2 by cross-products 2×2=4 and 1×4=4.

Prime-factor lists remain useful for tiny numbers such as 12/18, but they do not replace remainders once the integers grow past what you can factor quickly by eye. Stay with Euclid for anything you would rather not factor.

Another check uses cross-products against a known equivalent. If you claim 54/24 = 9/4, then 54×4 should equal 24×9. Both products are 216, so the values match; gcd then decides whether 9/4 is fully reduced (it is). If the products disagree, the simplified form is simply wrong, independent of how neat it looks.

On worksheets, show the gcd before the reduced pair so a reader can replay the division. Writing only “84/126 = 2/3” hides whether you used 42 or a chain of smaller cancellations. Either method is valid if the last pair is coprime, but the Euclidean remainder list is the shortest certificate for large integers. The practice simplification category generates reducible fractions by multiplying a coprime pair by a hidden k, so the correct lowest-terms answer is unique.

Related: mixed numbers and the comparison calculator.