GCF Calculator Online

Find the greatest common factor of two or more whole numbers, with the least common multiple and factor steps, in your browser.

The GCF Calculator runs entirely in your browser. The numbers you enter are computed locally on your device and are never uploaded to ArrayKit.

Open the LCM Calculator

About GCF Calculator

GCF Calculator finds the greatest common factor — the largest whole number that divides every number in a list evenly — for two, three, or more integers at once. Type your numbers separated by commas, spaces, or new lines and it reduces them pairwise with the Euclidean algorithm, then shows the matching least common multiple and a prime factor breakdown for each number so you can see exactly how the result was reached. It is handy for reducing fractions to lowest terms, splitting items into equal groups, scheduling repeating events, and checking homework by hand. Built for students, teachers, and anyone who needs a fast, accurate GCF (also called the GCD or highest common factor) without long division on paper. Everything runs locally in your browser.

Features

How to use the GCF Calculator

  1. Type two or more positive whole numbers into the Numbers field
  2. Separate each number with a comma, space, or new line
  3. Read the GCF and LCM in the Result panel
  4. Check the prime factor breakdown to see how the GCF was derived
  5. Copy the summary with the copy button

Example

Input

12, 18

Output

GCF: 6

12 = 2^2 x 3 and 18 = 2 x 3^2 share 2 x 3 = 6, so the GCF Calculator returns 6 (and an LCM of 36).

Common errors & troubleshooting

Frequently asked questions

What is the GCF Calculator?
It is a tool that finds the greatest common factor (also called the GCD or highest common factor) of two or more positive whole numbers, using the Euclidean algorithm, and also shows the least common multiple and a prime factor breakdown.
How does the GCF Calculator find the greatest common factor?
It reduces the list pairwise with the Euclidean algorithm: it finds the GCD of the first two numbers, then finds the GCD of that result with the next number, and so on until one value — the GCF — remains.
Can the GCF Calculator handle more than two numbers?
Yes. Enter any number of positive whole numbers separated by commas, spaces, or new lines, and the GCF Calculator finds the greatest common factor shared by the entire list.
Does the GCF Calculator also give the LCM?
Yes. Alongside the greatest common factor, the result panel shows the least common multiple of the same list of numbers.
What numbers can I type into the GCF Calculator?
Enter two or more positive whole numbers. Decimals, negative numbers, and non-numeric text are not supported — the tool shows an error message so you can correct the input.
Is my number list uploaded when I use the GCF Calculator?
No. The GCF Calculator runs entirely in your browser — the numbers you type are computed on your device and are never sent to ArrayKit or anywhere else.

Related tools

All ArrayKit tools