Greatest Common Factor Calculator
Finds the greatest common factor of two or more numbers and shows how it was reached: the full Euclidean chain with no skipped steps, the shared prime factors, every common factor listed, and the fraction it simplifies. Exact at any size, with decimals and negatives handled properly rather than quietly rounded away.
Greatest common factor
The largest number that divides all of them, with Euclid’s method written out in full.
—
It divides every one of them
A common factor has to go into each number exactly. Here is that division, done every time.
| Your number | Divided by the answer | Remainder |
|---|
—
Euclid’s algorithm, every step
—
| Step | Divide | By | Times | Remainder |
|---|
—
Carrying it through the rest
With more than two numbers the answer is built up one at a time: take the answer so far, pair it with the next number, and find their greatest common factor. The order makes no difference to where it ends up.
| After | Answer so far | Next number | Becomes |
|---|
—
By shared prime factors
Break each number into primes and keep only what they all have, at the lowest power each reaches. Shared powers are shaded.
—
Every common factor
The slow way, and the one that shows what the answer means: everything that divides all of them.
—
Written as a combination of the two
The greatest common factor can always be reached by adding whole multiples of the two numbers. The same run of Euclid gives the multipliers.
—
—
What it simplifies
The commonest reason to want this number: cancelling a fraction down.
—
—
The multiple that goes with it
The greatest common factor and the least common multiple are two halves of one fact: multiply them together and you get the two numbers multiplied together. That identity is checked here on your numbers.
—
—
—
—
Worked out in exact whole-number arithmetic with no upper limit, and shown in full. Decimals are handled by scaling every number by the same power of ten, solving there and scaling back — never by quietly dropping the part after the point.
Every step of Euclid’s algorithm is listed, including the ones that are easy to skip. A chain with a gap in it cannot be followed.