Calculadora de MCD y MCM
Calcula el máximo común divisor y el mínimo común múltiplo de dos o más números enteros — con precisión arbitraria.
Respuesta rápida: Calculadora de MCD y MCM: calcula el máximo común divisor y el mínimo común múltiplo de dos o más números enteros, con precisión arbitraria. Funciona por completo en tu navegador, gratis y sin registro.
Última actualización
Bueno saber
The greatest common divisor and least common multiple are two sides of the same coin: for any pair of integers, GCD(a, b) × LCM(a, b) = a × b. That identity is why this calculator derives the LCM from the GCD rather than factoring each number — the Euclidean algorithm finds the GCD in a handful of steps even for enormous inputs, whereas full factorization is slow.
The everyday use case people forget is fractions. To add 5/12 and 7/18 you need a common denominator, and the smallest one is exactly the LCM of 12 and 18, which is 36. Reducing a fraction to lowest terms uses the GCD of numerator and denominator. Gear ratios, tiling layouts, and "how often do two repeating schedules coincide" problems all reduce to the same two operations.
Because the inputs are handled as arbitrary-precision BigInt, you can paste numbers far larger than a normal calculator's 15-digit limit without silent rounding. If you need trigonometry, logarithms, or decimal arithmetic instead of exact whole-number results, reach for the scientific calculator — this tool is deliberately specialized for integer divisibility.
Preguntas frecuentes
- ¿Cuál es la diferencia entre GCD y LCM?
- GCD (máximo común divisor) es el número más grande que divide equitativamente todos tus ingresos. LCM (mínimo común múltiplo) es el número más pequeño en el que todos tus ingresos dividen equitativamente. GCD(12, 18) = 6, LCM(12, 18) = 36.
- ¿Puedo usar números muy grandes?
- Sí — utilizamos aritmética BigInt, por lo que los números de 100 dígitos funcionan bien. El algoritmo euclidiano es rápido incluso a ese tamaño.
- ¿Cuántos números puedo ingresar a la vez?
- Tantos como desees, separados por espacios o comas. La herramienta los reduce por pares — GCD(a, b, c) = GCD(GCD(a, b), c).
- ¿Maneja números negativos?
- Sí — por convención, devolvemos el GCD/LCM positivo independientemente de los signos de entrada.
- ¿Se sube mi datos?
- No — los cálculos se ejecutan completamente en tu navegador.