Trusted Choice Guide
Tools / Prime factorization, GCD & LCM

Prime factorization, GCD & LCM

Enter one or more whole numbers separated by spaces or commas.

✓ Free · ✓ no sign-up · ✓ no cookies · ✓ runs in your browser

Prime factors
–

Trial division up to √n. GCD with the Euclidean algorithm; LCM = a × b ÷ GCD(a, b), applied pairwise.

☕ Did this calculator help you?
Buy us a coffee for $3Buy us a cappuccino with heart for $5Buy us a cappuccino and cookie for $9

Voluntary support · Thank-you gift: our checklist PDF · Secure checkout via Digistore24 (Apple Pay, Google Pay, PayPal, card)

🔒 Runs entirely in your browser – nothing you enter is uploaded or stored.

How to use it

  1. Enter one number for its prime factors.
  2. Enter several numbers for GCD and LCM.
  3. Read the results.
Your inputs live only in the link, not on our server.

Last checked: October 2026. Found a mistake? Use the form below – we fix confirmed errors and update the date.

Frequently asked questions

What is prime factorization?

Writing a number as a product of prime numbers: 360 = 2³ × 3² × 5.

What do I need the LCM for?

For example to find the common denominator when adding fractions.

Embed this tool on your website

Free to use: copy the code into your page. Please keep the source link.

💬 Suggestion, bug or complaint?

Help us improve this page. We read every message.

We only use your details to handle your request (see privacy policy).

More free tools

📬 Free: the Mini Security Checklist 2026

Our 7-page PDF (VPN, password manager, antivirus, cloud) – instant download, free, no sign-up, no email.