GCD Function in Excel: Syntax, Examples and Free Practice
GCD is an Excel Math & Trig function. Returns the greatest common divisor of a set of numbers.
GCD syntax
Arguments
number1: The first number or rangenumber2: An additional number or range (optional)
When to use GCD
GCD is used in financial models and engineering-style calculations where precise numeric work is needed.
Practice GCD online, free
Open the live Excel-style spreadsheet and try GCD yourself. No Excel install or sign-up needed to start.
Practice GCD now →More Math & Trig functions
Frequently asked questions
What does the GCD function do in Excel?
Returns the greatest common divisor of a set of numbers.
What is the syntax of GCD in Excel?
The syntax is =GCD(number1, [number2], ...). number1: The first number or range; number2: An additional number or range (optional).
Where can I practice GCD online for free?
Open the free live spreadsheet on Cellgrids and try GCD yourself. No Excel install is needed and you can start without signing up.
All Excel formulas · Cheat sheet · Excel exercises · Math and Trig functions · Excel case studies · Excel tutorials · Excel shortcuts