Common Factor Calculator

Enter two or more whole numbers to find all their common factors, the greatest common factor (GCF), and the least common multiple (LCM). Step-by-step working is shown for each calculation.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
Standard method  Uses the Euclidean algorithm for GCF. Results are exact for all positive integers.

1. Enter Your Numbers

2. Results

Factors of 48

Factors of 36

Common Factor Results

Greatest Common Factor
12
GCF / HCF
Number of Common Factors
6
Shared divisors
Least Common Multiple
144
LCM
All Common Factors
1, 2, 3, 4, 6, 12
Every shared divisor

Step-by-Step Working

Factor Summary

Numbers entered48, 36
Factors of first number-
Factors of second number-
All common factors-
Greatest Common Factor (GCF)-

Fraction Simplification

Original fraction (a/b)48/36
GCF to divide by-
Simplified fraction-
Least Common Multiple-
GCF x LCM = a x b-

What Are Common Factors?

A factor of a number is any whole number that divides it evenly with no remainder. For example, the factors of 12 are 1, 2, 3, 4, 6, and 12, because each of these divides into 12 without leaving a remainder. A common factor of two or more numbers is a factor that appears in the factor list of every one of those numbers. The greatest common factor (GCF) is simply the largest of these shared factors.

The GCF is also called the highest common factor (HCF) or greatest common divisor (GCD) depending on the country and context. In New Zealand, both GCF and HCF are used in mathematics education.

How This Calculator Works

This calculator uses the Euclidean algorithm to find the GCF of the numbers you enter. Once the GCF is known, every divisor of the GCF is also a common factor of the original numbers. The steps are:

  1. Find the GCF of the first two numbers using the Euclidean algorithm.
  2. If more numbers are entered, find the GCF of that result and the next number, repeating until all numbers are included.
  3. List all factors of the final GCF. These are all the common factors of the original numbers.
  4. Calculate the LCM using the relationship: LCM(a, b) = (a x b) / GCF(a, b).

The Euclidean Algorithm

The Euclidean algorithm is one of the oldest known algorithms, described by the Greek mathematician Euclid around 300 BC. It finds the GCF of two numbers by repeated division:

  1. Divide the larger number by the smaller number and find the remainder.
  2. Replace the larger number with the smaller number, and the smaller number with the remainder.
  3. Repeat until the remainder is zero. The last non-zero remainder is the GCF.

Example: GCF(48, 36). Step 1: 48 divided by 36 gives remainder 12. Step 2: 36 divided by 12 gives remainder 0. The GCF is 12.

Worked Example: Matching the Default Inputs

For the numbers 48 and 36:

StepDivisionRemainder
148 / 3612
236 / 120

GCF = 12. The factors of 12 are: 1, 2, 3, 4, 6, 12. All six of these are common factors of 48 and 36. The LCM = (48 x 36) / 12 = 1,728 / 12 = 144. The fraction 48/36 simplifies to 4/3 (dividing both by the GCF of 12).

Why Common Factors Matter

Common factors are used throughout mathematics:

Related Calculators

Method: GCF calculated using the Euclidean algorithm (division form). LCM derived from the identity LCM(a, b) = (a x b) / GCF(a, b), extended to multiple numbers by iteration. All factors of the GCF are enumerated by trial division from 1 to sqrt(GCF).

This calculator works with positive whole numbers only. Inputs are rounded to the nearest integer. For very large numbers (above 10,000,000), results remain exact as the Euclidean algorithm is not affected by number size.

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.