Formulas > =GCD()

How to Use GCD() in Google Sheets

Description

Returns the greatest common divisor of one or more integers.

How To Actually Use GCD() in Sheets

GCD(value1, value2)

Try GCD yourself

In cells A1 and A2, enter two integers. In cell B1, write a formula to calculate the GCD of these two numbers.

Hints (2)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Learn more about the GCD() formula:

Generate a GCD() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses GCD(). 2 free AI generations, no signup. Members get unlimited use.

Generate a GCD() formula