ADVERTISEMENT
Top Leaderboard Banner Slot (728x90 / Mobile 300x250)
GCD Calculator (Greatest Common Divisor)
Formula
Euclidean Algorithm: GCD(a, b) = GCD(b, a mod b) until b = 0, then GCD is a.
LCM: LCM(a, b) = |a × b| / GCD(a, b)
Examples
- GCD of 8 and 12 is 4.
- GCD of 48 and 18 is 6.
- GCD of 10, 20, 30 is 10.
FAQ
What is GCD?
The largest positive integer that divides each of the integers without a remainder.
Is GCD the same as HCF?
Yes, Greatest Common Divisor is the same as Highest Common Factor.
What is LCM?
Lowest Common Multiple.
Can GCD be negative?
By convention, GCD is always positive.
ADVERTISEMENT
Bottom Banner Slot (728x90 / Large Rectangle)