1. Home
  2. Math Solver With Steps
  3. Math GCD Calculator

GCD calculator with steps

This is GCD/HCF calculator with steps

Steps to calculate GCD/HCF using Common Prime Factors Method

In programming and other mathematical questions GCD of Two numbers is calculated most of the time.

This is also called highest common factor calculator. Finding the greatest common factor calculator can get input of multiple numbers separated by space.

Out of multiple ways for calculating Greatest Common Divisor or Highest Common Factor, one method is used very frequently. This technique is also part of curriculum in some institutes. This method involves a series of steps from finding prime factors to calculated GCD. These steps are as below. GCD in discrete mathematics involves computation for multiple numbers.

  1. First of all find prime factors of each given number.
  2. Write these factors in some sorted order, can say that align these factors so that we can highlight common factors easily.
  3. Circle or underline common factors from each number. Common factors are numbers that appear as prime factor of each number.
  4. In the last step multiply each common factor.
  5. The resultant multiplication is the GCD/HCF of provided numbers.
  6. In case that there is not a single prime factor is common from all numbers then the GCD will be 1.


gcd using common prime factors method
GCD using common prime factors

GCD Practice Questions

Some of the important questions that can be solved as practice are as.

  • Calculate GCD of 12, 45, 66
  • Find the HCF of numbers 56, 44, 18, 90
  • What is the GCD or HCF of 34, 5, 16, 24 and 88
  • Calculate HCF using common prime factors of 55, 88, 77 and 21
  • Write down steps of calculating Greatest Common Divisor
  • Find GCD of 56 and 45
  • Use prime factor technique for finding GCD of 28, 16, 42, 200 and 150
  • Find the HCF of the following numbers 34, 16, 30, 22