GCD & LCM Calculator
Find the greatest common divisor and least common multiple of two integers using the Euclidean algorithm.
- Greatest common divisor
- 6
- Least common multiple
- 36
How it works
The greatest common divisor (GCD) is found with the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing it by the smaller, until the remainder is zero — whatever's left is the GCD. The least common multiple (LCM) then follows from the identity LCM(a, b) = |a × b| ÷ GCD(a, b).
Related calculators
- Percentage Calculator
- Quadratic Equation Solver
- Circle Area & Circumference Calculator
- Right Triangle Calculator (Pythagorean Theorem)
- Ratio Simplifier
- Exponent & Root Calculator
- Oblique Triangle Solver (Law of Cosines)
- Distance, Midpoint & Slope Calculator
- Permutations & Combinations Calculator (nPr, nCr)
- Arithmetic & Geometric Sequence Calculator
- Regular Polygon Calculator
- Z-Score & Percentile Calculator
- Cubic Equation Solver
- Prime Factorization Calculator
- System of Linear Equations Solver (2 Equations)
- Half-Life Decay Calculator
- Vector Calculator (Dot Product, Cross Product, Angle)
- Ohm's Law Calculator
- Projectile Motion Calculator
- Matrix Determinant & Inverse Calculator (2x2 / 3x3)
- Ideal Gas Law Calculator (PV = nRT)
- Snell's Law Calculator (Refraction Angle)
- Wire Resistance Calculator
- Clock Angle Calculator
- Pythagorean Means Calculator (AM, GM, HM)
- Number Base Converter (Decimal to Binary, Octal, Hex)
- Dice Probability Calculator
- Pythagorean Triple Generator
- Binomial Probability Calculator
- Torque Calculator
- Law of Sines Triangle Solver
- Modular Exponentiation Calculator
- Simple Pendulum Period Calculator
- Kinetic Energy Calculator
- Complex Number Calculator
- Circular Sector & Arc Length Calculator
- System of 3 Linear Equations Solver
- Reynolds Number Calculator
- Coulomb's Law Calculator
- Speed of Sound in Air Calculator
- Thin Lens Equation Calculator
- Centripetal Force Calculator
- Resistors in Series and Parallel Calculator
- RC Circuit Time Constant Calculator
- Escape Velocity Calculator
- Doppler Effect Calculator
- Birthday Paradox Calculator
- Ellipse Area, Circumference & Eccentricity Calculator
- Hyperbola Calculator
- Hooke's Law Spring Calculator
- Molarity (Molar Concentration) Calculator
- Momentum & Impulse Calculator
- Kepler's Third Law Orbital Period Calculator
- Triangle Area from Coordinates Calculator
- Beer-Lambert Law Absorbance Calculator
- LC Circuit Resonant Frequency Calculator