How the GCF calculator works
The greatest common factor (GCF) is the largest positive integer that divides both input numbers without a remainder. It is also called the greatest common divisor (GCD) or highest common factor (HCF). For example, the GCF of 48 and 18 is 6 because both numbers divide evenly by 6, and no larger integer divides them both.
Enter two integers, one in each input. The calculator returns their GCF and shows the repeated division steps used to find it. The starting values are 48 and 18. Swapping the inputs does not change the answer.
Negative integers are treated by their absolute values, so entering -48 and 18 gives the same result as entering 48 and 18. One input may be zero, but the two inputs cannot both be zero. Use integers only, without rounding decimal values to make them fit.