Home › Functions › Math & Trig › GCD
fx
GCD
Math & Trig  ·  Since: Excel 2003  ·  9 languages

Returns the greatest common divisor of two or more integers. The greatest common divisor is the largest integer that divides both number1 and number2 without a remainder.

🌐 Translations

English GCD
Deutsch GGT
Français PGCD
Español M.C.D
Italiano MCD
Português MDC
Nederlands GGD
Polski NAJW.WSP.DZIEL
Русский НОД

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

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

Arguments

number1 (required)
number2 (optional)

▶ Examples

=GCD(5,2)
=GCD(7,1)
=GCD(5,0)

Related functions

Copied to clipboard