Tools Math & Science GCF and LCM Calculator

GCF and LCM Calculator: Greatest Factor & Multiple

Math & Science Active

Find the greatest common factor and least common multiple of two or three whole numbers.

GCF and LCM Calculator

GCF and LCM Calculator
Enter two or three whole numbers (the third is optional).

Rate This Tool

Your feedback helps others discover great tools

–
out of 5
No ratings yet

Tap a star to rate:

About This Tool

What are the greatest common factor and least common multiple of 12 and 18? The GCF and LCM Calculator finds both at once for two or three whole numbers.

Table of Contents

  • What the Calculator Does
  • How to Use It
  • GCF and LCM Explained
  • Worked Example
  • Common Mistakes
  • Frequently Asked Questions

What the Calculator Does

The greatest common factor (GCF) is the largest number that divides all your numbers evenly. The least common multiple (LCM) is the smallest number they all divide into. This tool computes both.

How to Use It

  1. Enter two or three whole numbers.
  2. Read the greatest common factor and the least common multiple.

GCF and LCM Explained

The GCF is found with the Euclidean algorithm: divide, take the remainder, and repeat until it reaches zero. The LCM is the product of two numbers divided by their GCF: LCM(a, b) = a × b ÷ GCF(a, b). For 12 and 18, the GCF is 6 and the LCM is 12 × 18 ÷ 6 = 36.

Worked Example

For 12 and 18: the factors shared by both are 1, 2, 3, and 6, so the GCF is 6. The smallest number both divide into is 36, so the LCM is 36.

Common Mistakes to Avoid

  • Swapping GCF and LCM. The GCF is never larger than your smallest number; the LCM is never smaller than your largest.
  • Multiplying for the LCM without dividing by the GCF. That can give a common multiple, but not the least one.
  • Forgetting the GCF can be 1. Numbers with no common factor have a GCF of 1.

Frequently Asked Questions

What is the greatest common factor?

The GCF is the largest whole number that divides all the given numbers evenly. For 12 and 18, it is 6.

What is the least common multiple?

The LCM is the smallest number that all the given numbers divide into. For 12 and 18, it is 36.

How do you find the GCF and LCM?

Find the GCF with the Euclidean algorithm, then use LCM(a, b) = a × b ÷ GCF(a, b).

What is the GCF of 12 and 18?

The greatest common factor of 12 and 18 is 6.

Can the GCF be 1?

Yes. If two numbers share no common factor other than 1, their GCF is 1 and they are called coprime.

This calculator gives general estimates only and is not professional advice. Reviewed for general accuracy by Prof. Dr. Khalil Mudassar, PhD.

Category: Math & Science

You May Also Like

View All