Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Math & Science
  3. GCD & LCM Calculator
Add to favorites

GCD & LCM Calculator

Calculate Greatest Common Divisor and Least Common Multiple of multiple numbers. Shows prime factorization and common divisors.

Find the greatest common divisor (GCD) and least common multiple (LCM) of two or more integers. Results appear instantly along with the prime factorizations used to compute them.

Runs in your browser and files never uploadedMore math & scienceJump to full guide

Initializing in your browser…

You might also like

Prime Number Checker

Check if a number is prime and find prime factorization

Scientific Calculator

Advanced calculator with scientific functions and history

Graphing Calculator

Plot and visualize mathematical functions with multiple overlays

GCD & LCM Calculator: a worked example

You need the greatest common divisor and least common multiple of 48 and 180 for a fraction-reduction step.

Numbers

48 and 180
GCD & LCM Calculator produces

Result

GCD = 12   LCM = 720
(48 = 2⁴·3,  180 = 2²·3²·5)

From the prime factorisations, GCD takes the lowest shared powers (2²·3 = 12) and LCM the highest (2⁴·3²·5 = 720), and indeed GCD × LCM = 48 × 180. Showing the factorisation makes the relationship between the two results clear instead of magical.

What is GCD & LCM Calculator?

Find the greatest common divisor (GCD) and least common multiple (LCM) of two or more integers. Results appear instantly along with the prime factorizations used to compute them.

How to use

  1. 1Enter two or more positive integers separated by commas
  2. 2View the GCD, LCM, and prime factorizations

Key features

  • GCD and LCM for multiple numbers at once
  • Prime factorization display
  • Step-by-step Euclidean algorithm breakdown

Frequently asked questions

Can I enter more than two numbers?

Yes. The tool computes GCD and LCM across any number of inputs by iterating pairwise.

What is the relationship between GCD and LCM?

For two numbers a and b: GCD(a, b) × LCM(a, b) = a × b.

Private by design

Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.