Arithmetic
LCM & GCF Calculator
List any collection of integers to instantly see their greatest common factor (GCF) and least common multiple (LCM).
lcmgcfdivisibility
LCM & GCF Calculator
Feed any list of integers to get the greatest common factor and least common multiple.
Total numbers
3
Greatest Common Factor
6
Least Common Multiple
360
Fundamental relationships
LCM(a, b) = |ab| ÷ GCD(a, b)
The calculator cleans the input list, computes the greatest common divisor across all numbers, then leverages the gcd-derived formula to produce the LCM.
How to use
- Type integers separated by commas, spaces, or new lines.
- The tool removes zeros, computes the GCF, and derives the LCM.
- Review the count of numbers processed to verify your input.
Example
Input: Numbers = 24, 60, 90
Output: Greatest common factor = 6, Least common multiple = 360
FAQ & notes
Can I include negative numbers?
Yes. The calculator uses the absolute value of each integer so signs do not impact GCF or LCM results.
What happens if I enter zero?
Zero is ignored because it would make both GCF and LCM undefined. Remove zeros or replace them with a meaningful value.