LCM & GCD Calculator

Find the GCD (greatest common divisor, also called HCF) and LCM of two or more integers. Enter as many numbers as you need separated by commas - it handles more than two at a time.

How to use

  1. Enter two or more whole numbers, separated by commas or spaces.
  2. Click Calculate. GCD is the largest number that divides all of them, LCM is the smallest number they all divide into.