Cellgrids Cellgrids
Home › Excel formulas › Math and Trig › GCD

GCD Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

GCD is an Excel Math & Trig function. Returns the greatest common divisor of a set of numbers.

GCD syntax

=GCD(number1, [number2], ...)

Arguments

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