GCD Calculator

Client-sideNo sign-upFree

Find the greatest common divisor of two or more numbers instantly.

Quick facts

Category
Calculators
Best for
Simplifying a fraction to its lowest terms
Greatest common divisor
6
✓ GCD(48, 60, 18) = 6
In-content slot
Was this tool helpful?
On this page

Overview

Enter two or more positive whole numbers, separated by commas, to find their greatest common divisor - the largest number that divides evenly into all of them. Computed using the Euclidean algorithm, applied pairwise across however many numbers you enter. Useful for simplifying fractions to their lowest terms, solving ratio problems, or checking schoolwork. Runs entirely client-side.

Best for: Simplifying a fraction to its lowest terms

How to use this tool

  1. Enter your numbers. Two or more positive whole numbers, separated by commas.
  2. GCD is computed instantly. Calculated using the Euclidean algorithm, applied pairwise so any count of numbers works.
  3. Read the result. The greatest common divisor updates live as you edit the list.

Frequently asked questions

The GCD is computed pairwise: the GCD of the first two numbers is found, then that result is combined with the third number, and so on - mathematically equivalent to finding the GCD of all numbers at once.

GCD finds the largest number that divides evenly into all your inputs; LCM finds the smallest number that all your inputs divide evenly into - opposite operations, both useful for fraction and ratio problems. Use the LCM Calculator for that direction.

Explore more free tools

Formatters, converters, validators, and generators - all free and running entirely in your browser.

Browse more tools