Calculadora de MDC e MMC
Encontre o máximo divisor comum e o mínimo múltiplo comum de dois ou mais números inteiros, de qualquer tamanho.
Entrada
Dica: pressione Ctrl + Enter para executar
Configurações salvas
Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.
Sobre esta ferramenta
The greatest common divisor (GCD) is the largest number that divides all your numbers; the least common multiple (LCM) is the smallest number they all divide. You need the GCD to simplify fractions and ratios, and the LCM to add fractions with different denominators or to find when repeating schedules line up. This calculator handles any count of whole numbers of any size.
Como usar
- Enter two or more whole numbers separated by commas or spaces.
- Run the calculation.
- Read the GCD, the LCM and whether the numbers are coprime (GCD of 1).
- Use the listed breakdown to see how each number relates to the GCD.
Como o cálculo funciona
GCD by Euclid’s algorithm, gcd(a, b) = gcd(b, a mod b), applied across the list. LCM by lcm(a, b) = |a × b| ÷ gcd(a, b), applied pairwise. Big integers keep results exact.
Euclid: gcd(a, b) = gcd(b, a mod b); lcm(a, b) = |a × b| ÷ gcd(a, b)Exemplo prático
Three bus routes leave a station every 12, 18 and 30 minutes. Their LCM is 180, so all three leave together every 180 minutes (3 hours). Their GCD is 6, and the breakdown shows 12 = 6 × 2, 18 = 6 × 3 and 30 = 6 × 5.
Exemplo de entrada e resultado
Números inteiros separados por vírgulas ou espaços: 84, 126, 210 → Máximo divisor comum (MDC): 42 → Mínimo múltiplo comum (MMC): 1.260 → Primos entre si: Não
Limitações
- Whole numbers only.
- At least two numbers.
- Very long lists may be slower.
Última atualização:
Perguntas frequentes
What does coprime mean?
Numbers whose GCD is 1 share no factor other than 1, such as 8 and 15.
How do I use the LCM to add fractions?
Use it as the common denominator: for 1/12 + 1/18, the LCM 36 gives 3/36 + 2/36.
Can I enter negative numbers?
Use positive whole numbers; signs do not change the GCD.
Solução de problemas
It reports invalid input.
Remove decimals and thousands separators.
The LCM is enormous.
With many unrelated large numbers, the LCM grows quickly; this is expected.
I need prime factors.
Use the prime factorization calculator.
Privacidade & Uso gratuito
Meus dados são armazenados?
Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.
Esta ferramenta é gratuita?
Sim. Não é preciso cadastro nem pagamento.
Veja também
Próximos passos úteis
Calculadora científica
Calcule aritmética, potências e funções trigonométricas em radianos sem eval.
Matemática e educaçãoCalculadora de frações
Some, subtraia, multiplique ou divida números racionais de forma exata.
Matemática e educaçãoResolvedor de equações
Resolva equações reais lineares e quadráticas ax² + bx + c = 0.
Matemática e educação