Understanding your calculation
Method, example and limitations
How the calculation works
The least common multiple is the smallest positive integer divisible by each input integer. For two positive integers, LCM(a,b) = |a × b| / GCF(a,b).
Example to check
Multiples of 6 and 8 first meet at 24, so their least common multiple is 24.
Before using the result
Use integer inputs. Very large integer products can exceed the exact range of ordinary floating-point arithmetic.