Audited ·Last updated 27 Jul 2026·5 citations·Tier 1·0 uses

Simplify Fractions Calculator

Reduce any fraction to lowest terms instantly. See the exact GCD, the division step, and the mixed-number form — not just the final answer.

Simplify Fractions Calculator

The top number of the fraction. Must be an integer. Sign is preserved — a negative fraction like −8/12 is entered as numerator −8, denominator 12.
The bottom number of the fraction. Must be a non-zero integer. If you enter a negative denominator the calculator flips both signs internally so the displayed denominator stays positive.
Simplified numerator
2
The numerator once the fraction has been reduced to lowest terms. For 8/12 this is 2. The sign of the whole fraction lives here — the denominator is always reported as positive.
Simplified denominator
3
Greatest common divisor used
4
Was already in lowest terms?
0
Decimal value
0.6667
Improper / mixed flag
0
Whole part (mixed number)
0
Fractional numerator (mixed number)
2
Simplified fraction
2/3

Background.

This simplify fractions calculator does exactly one job and shows exactly how it did it: type in any numerator and denominator, and it reduces the fraction to lowest terms while reporting the greatest common divisor (GCD) it divided by to get there. Enter 8/12 and it returns 2/3, together with gcdUsed = 4 (because gcd(8, 12) = 4), a flag telling you the fraction was NOT already in lowest terms, the decimal value 0.6666…, and the mixed-number breakdown for any result whose magnitude is at least 1. That distinction — showing the GCD as a first-class number, not just the final reduced fraction — is the entire reason this calculator exists as a dedicated tool rather than a mode inside a general-purpose fraction calculator.

Quanta's own general fraction calculator (math/fraction) is intentionally a different tool: it takes two fractions and an operation (add, subtract, multiply, divide) and returns the simplified result of that operation. It reduces internally as the last step of arithmetic, but it has no path for 'I already have one fraction, I just want to know its lowest-terms form and the GCD that produced it' — there is no single-fraction mode, and the GCD itself is never a declared, readable value anywhere in that calculator's output. This page fills that gap directly: one fraction in, its reduced form and the GCD step out, with nothing else in the way.

Simplifying — also called reducing — a fraction means dividing both the numerator and the denominator by their greatest common divisor, the largest positive integer that evenly divides both. A fraction is in lowest terms (or 'fully reduced') precisely when that GCD equals 1, meaning the numerator and denominator share no common factor greater than 1. The standard, provably fastest way to find that GCD for any two integers — no matter how large — is the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing it by the smaller, until the remainder reaches zero. The last non-zero value is the GCD. Euclid described this exact procedure in Book VII, Proposition 2 of the Elements around 300 BCE, and it remains the standard method taught in every number theory course and implemented in every computer algebra system today, over 2,300 years later, because nothing faster has ever been found for integers of this size.

Why does reducing a fraction matter beyond tidiness? Three concrete reasons. First, comparison: it is far easier to see that 2/3 and 4/6 are the same number once both are written as 2/3 than while they sit unreduced. Second, arithmetic downstream: adding, multiplying, or comparing fractions is simpler and less error-prone when you start from lowest terms, because the numbers involved stay smaller. Third, communication: a recipe, a blueprint, or a homework answer key almost always expects — and grades against — the reduced form; '4/8 cup' looks like an error where '1/2 cup' looks correct, even though they are the identical quantity.

This calculator handles the details that trip up manual reduction: negative numerators and denominators (the sign is always normalised onto the numerator, so the denominator you see is always positive), zero numerators (0 over anything simplifies to 0/1), and fractions that are already in lowest terms (the wasAlreadyInLowestTerms flag tells you plainly rather than making you guess). Whether you're checking pre-algebra homework, reducing a recipe measurement, simplifying a ratio for a shop-class blueprint, or just want to see the Euclidean algorithm applied to your own numbers step by step, this page and the calculator above cover the single operation of fraction simplification completely, with primary-source citations to Euclid, OpenStax, and the NIST Digital Library of Mathematical Functions.

What is simplify fractions calculator?

A fraction numerator/denominator is in lowest terms (equivalently, fully reduced, or in simplest form) when the greatest common divisor of the numerator's absolute value and the denominator equals 1 — that is, when the two numbers share no common integer factor larger than 1. Simplifying a fraction means finding that greatest common divisor (GCD) and dividing both the numerator and the denominator by it. For example, 8 and 12 share the common divisor 4 (the largest one, since 8 = 4 × 2 and 12 = 4 × 3, and 2 and 3 share no further common factor), so dividing both terms by 4 gives 2/3, which is in lowest terms because gcd(2, 3) = 1. Every rational number has exactly one lowest-terms representation once you additionally require the denominator to be positive — the sign, if any, is carried entirely by the numerator. The standard algorithm for finding the GCD of any two positive integers is the Euclidean algorithm (Euclid, Elements, Book VII, Proposition 2): repeatedly divide the larger by the smaller and replace the larger with the remainder, until the remainder is zero; the last non-zero remainder is the GCD. This method is exponentially faster than the alternative approach of factoring both numbers into primes and comparing exponents, which is why it remains the standard method in both hand calculation and computer software. A special convention handles a zero numerator: gcd(0, d) is defined to equal d for any positive d, so 0/d always reduces cleanly to 0/1.

How to use this calculator.

  1. Enter the numerator — the top number of your fraction — in the first field. It can be positive, negative, or zero, but it must be a whole number.
  2. Enter the denominator — the bottom number — in the second field. It must be a non-zero whole number. If you enter a negative denominator, the calculator automatically moves the negative sign onto the numerator so the displayed denominator is always positive.
  3. Read the primary result: the simplified numerator and simplified denominator. Together they are your fraction in lowest terms — for 8 and 12 that is 2 and 3.
  4. Check the gcdUsed output to see exactly which number both the original numerator and denominator were divided by. This is the number the Euclidean algorithm computed.
  5. Look at wasAlreadyInLowestTerms if you're not sure whether your original fraction needed reducing at all — it reads 1 when gcd = 1 (nothing to do) and 0 whenever an actual reduction happened.
  6. Read the decimal value for a quick sense of magnitude, and the mixed-number outputs (isMixed, wholePart, fractionalNumerator) whenever the simplified fraction's magnitude is 1 or greater.
  7. Use the human-readable fractionDisplay string directly if you just need the answer written out, such as '2/3' or '-3/4'.

The formula.

n⁄d ÷ gcd(|n|,d) ⁄ gcd(|n|,d) = lowest terms

Reducing a fraction to lowest terms is a single division step once the greatest common divisor is known: if g = gcd(|n|, d), the lowest-terms fraction is (n ÷ g) / (d ÷ g). What does the work is finding g, and the standard, provably fastest method for two arbitrary integers is the Euclidean algorithm (Euclid, Elements, Book VII, Proposition 2, c. 300 BCE): given positive integers x and y with x ≥ y, replace the pair with (y, x mod y) and repeat until the second value is 0; the first value at that point is gcd(x, y). Correctness follows from one observation, repeated at each step: every common divisor of x and y is also a common divisor of y and x mod y, because x mod y = x − ⌊x/y⌋ · y is an integer combination of x and y — and the argument reverses too, so the set of common divisors, and therefore the greatest one, is unchanged by the substitution. The process terminates because the second value strictly decreases every step (0 ≤ x mod y < y), and Gabriel Lamé proved in 1844 that the number of steps needed is at most about five times the number of decimal digits in the smaller input — so even a denominator in the billions reduces in well under fifty steps. This calculator applies exactly that algorithm to gcd(|numerator|, |denominator|) using the absolute value of the numerator (because the GCD of a negative and a positive integer is defined the same way, and the sign is handled separately). If the denominator you entered was negative, both the numerator and denominator are first multiplied by −1, which does not change the value of the fraction but does move the negative sign onto the numerator and make the denominator positive — the canonical convention every textbook and computer algebra system uses. After that sign normalisation, dividing both terms by g = gcd(|n|, d) yields a fraction that is, by the definition of GCD, in lowest terms: any further common factor greater than 1 would contradict g being the greatest one. The special case n = 0 is handled by the standard convention gcd(0, d) = d, so 0/d always reduces cleanly to 0/1 regardless of d.

A worked example.

Example

Take 8/12. The calculator reads numerator = 8, denominator = 12. Both pass the integer and non-zero-denominator checks, and the denominator is already positive, so no sign flip is needed. The Euclidean algorithm computes gcd(8, 12): 12 = 1 × 8 + 4, so gcd(12, 8) reduces to gcd(8, 4); then 8 = 2 × 4 + 0, so gcd(8, 4) reduces to gcd(4, 0) = 4. The greatest common divisor is therefore 4 — that is the gcdUsed output. Dividing both terms by 4 gives simplifiedNumerator = 8 ÷ 4 = 2 and simplifiedDenominator = 12 ÷ 4 = 3, so the fraction in lowest terms is 2/3. Because gcd = 4 (not 1), wasAlreadyInLowestTerms = 0 — the original fraction genuinely needed reducing. The decimal value is 2 ÷ 3 ≈ 0.6666666667. Since |2| < 3, the fraction is proper: isMixed = 0, wholePart = 0, fractionalNumerator = 2. The human-readable fractionDisplay reads '2/3'. A second illustrative case the same engine handles: −6/8. Here gcd(6, 8) = 2 (via 8 = 1×6+2, then 6 = 3×2+0), giving simplifiedNumerator = −3 and simplifiedDenominator = 4, decimal −0.75, isMixed = 0 (|−3| < 4), wholePart = −1 (Math.floor(−0.75)), and fractionalNumerator = −3 − (−1×4) = 1.

denominator12
numerator8

Frequently asked questions.

What does it mean to simplify or reduce a fraction?
It means rewriting the fraction with the smallest possible whole-number numerator and denominator that still represent the exact same value. You do this by dividing both the numerator and the denominator by their greatest common divisor (GCD) — the largest whole number that evenly divides both. For 8/12, the GCD is 4, so dividing both terms by 4 gives 2/3. The value has not changed — 8/12 and 2/3 are the same rational number — only the way it is written has.
How do you find the greatest common divisor (GCD) used to simplify a fraction?
The fastest reliable method for any two integers is the Euclidean algorithm: divide the larger number by the smaller, keep only the remainder, then repeat with the smaller number and that remainder, until the remainder becomes 0. The last non-zero remainder is the GCD. For 8 and 12: 12 divided by 8 leaves remainder 4; 8 divided by 4 leaves remainder 0; so the GCD is 4. This method, recorded by Euclid in Book VII of the Elements around 300 BCE, is dramatically faster than listing every factor of both numbers and comparing, especially once the numbers involved run into the hundreds or thousands.
How do I know if a fraction is already in lowest terms?
A fraction is in lowest terms exactly when the greatest common divisor of its numerator and denominator is 1 — meaning the two numbers share no common factor besides 1. This calculator checks that directly and reports it as the wasAlreadyInLowestTerms output: 1 means no reduction was possible, 0 means a reduction did happen. For example, 7/9 is already in lowest terms because gcd(7, 9) = 1 (7 is prime and does not divide 9), while 8/12 is not, because gcd(8, 12) = 4.
Can a fraction with a negative numerator or denominator be simplified?
Yes. The sign is handled separately from the magnitude. If the denominator you enter is negative, the calculator multiplies both the numerator and denominator by −1 first — this does not change the fraction's value, only moves the negative sign onto the numerator, which is the standard convention (a denominator is always reported as positive). After that, the same Euclidean-algorithm reduction applies to the absolute values. So 3/−4 is first rewritten as −3/4, and since gcd(3, 4) = 1, it is already in lowest terms as −3/4.
What happens if I enter a numerator of 0?
Any fraction with a numerator of 0 simplifies to 0/1, regardless of the denominator, because zero divided by any non-zero number is zero, and the canonical lowest-terms form of zero is 0 over 1. Internally, the calculator uses the standard mathematical convention that gcd(0, d) = d for any positive d, so dividing both 0 and d by d gives exactly 0/1.
Why can't the denominator be zero?
Division by zero is undefined in ordinary arithmetic — there is no number that, multiplied by 0, gives a non-zero numerator, and 0/0 is indeterminate rather than a single defined value. Because a fraction n/d is defined as the number that solves d × x = n, a denominator of 0 makes that equation either unsolvable (if n ≠ 0) or satisfied by every real number (if n = 0), neither of which is a usable answer. This calculator raises a clear error rather than returning Infinity or NaN if you enter a zero denominator.
How is this different from Quanta's general fraction calculator?
Quanta's fraction calculator (math/fraction) takes two separate fractions and an arithmetic operation — add, subtract, multiply, or divide — and returns the simplified result of that operation; reduction happens only as the final step of a two-fraction computation, and the GCD itself is never a separate, readable output. This calculator does one thing only: it takes a single fraction and reduces it, reporting the exact GCD used and whether the input needed reducing at all. If you already have one fraction and just want its lowest-terms form and the GCD step, this is the more direct tool; if you need to combine two fractions with an operation first, use the general fraction calculator.
Does simplifying a fraction change its value?
No. Simplifying only changes how the value is written, never the value itself. Dividing both the numerator and denominator by the same non-zero number (their GCD) is mathematically equivalent to multiplying the fraction by g/g = 1, which never changes a number's value. 8/12 and 2/3 are two different-looking representations of the exact same rational number, which is why either form is 'correct' mathematically — lowest terms is simply the conventional, preferred way to present a final answer.
What is the largest fraction this calculator can simplify exactly?
Numerator and denominator are each capped at 1,000,000,000 (one billion) in magnitude, which keeps every intermediate value — including the remainders computed during the Euclidean algorithm — a mathematically exact JavaScript integer, far inside the IEEE-754 safe-integer limit of 2^53 − 1 (about 9 quadrillion). Practically, the Euclidean algorithm is so fast (Lamé's 1844 theorem bounds it at roughly five steps per decimal digit of the smaller number) that a billion-scale reduction completes in a fraction of a millisecond.
Is there a faster way to simplify a fraction than the Euclidean algorithm?
For general integers, no faster method is known — which is exactly why it has remained the standard algorithm for over 2,300 years. An alternative approach, factoring both the numerator and denominator into primes and cancelling shared prime factors, gives the same answer but is dramatically slower for large numbers because integer factorisation has no known efficient general algorithm, whereas the Euclidean algorithm always finishes in a number of steps proportional to the number of digits involved, not the size of the numbers themselves.

In this category

Embed

Quanta Pro

Paid features are coming later.

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