QREndless

Greatest Common Factor Calculator

Greatest common factor with Euclid steps, full factor lists, and the LCM as a bonus.

100% on-device

required

required

optional

optional

Greatest Common Factor
12
GCF(48, 180)
Coprime?
No — GCF 12
Common Factors
6
Bonus LCM
720
Factors of 48
12346812162448
Factors of 180
123456910121518203036456090180

The common factors are exactly the factors of the GCF: 1, 2, 3, 4, 6, 12. For two numbers the identity holds: GCF × LCM = product — 12 × 720 = 8,640.

Euclid Steps — First Pair
Division 1
180 = 3 × 48 + 36
Division 2
48 = 1 × 36 + 12
Division 3
36 = 3 × 12 + 0
Last Non-Zero Remainder
GCF(48, 180) = 12

Euclid replaces (a, b) with (b, a mod b) until the remainder is 0 — remaining pairs use the same algorithm.

The Best Greatest Common Factor Calculator

Euclid at the Core

The GCF folds gcd across 2–4 inputs with the remainder algorithm; the steps card prints every division for the first pair (180 = 3 × 48 + 36 …).

Every Factor Listed

All factors of each input are found by trial division up to √n and shown as chips — 48 yields 1, 2, 3, 4, 6, 8, 12, 16, 24, 48.

Common Factors + Bonus LCM

Shared factors are highlighted in every chip row, and the LCM of the whole set is computed with BigInt (720 for 48 and 180).

Live and Exact

Results update as you type; a coprime flag tells you instantly when the GCF is 1 and nothing but 1 is shared.

How to Use It in 3 Steps

  1. Enter Two to Four Integers

    Two inputs are required, up to four are supported. The GCF works for values up to 10^15; factor chips appear for inputs up to 10 million.

  2. Scan the Factor Chips

    Compare each input’s factors — the highlighted ones appear in every row and are exactly the common factors of the whole set.

  3. Read GCF, Steps and LCM

    Get the GCF big, the Euclid divisions for the first pair, and the LCM bonus with the GCF × LCM = product identity.

More Calculator Tools

160All free, all browser-based. Pick the right tool for the job.

401K Calculator

401(k) balance at retirement with match, growth and…

Age Calculator

Calculate age from birthdate

Amortization Calculator

Full payment-by-payment schedule showing interest vs…

Annuity Calculator

Present value of an annuity, or the payout a lump sum…

Annuity Payout Calculator

Fixed-period or lifetime-style periodic payout from a…

APR Calculator

True APR including lender fees — the real yearly cost…

Area Calculator

Area of 2D shapes — square, rectangle, triangle,…

Auto Lease Calculator

Lease payment from MSRP, cap cost, residual, money…

Auto Loan Calculator

Estimate monthly car payments

Average Return Calculator

Arithmetic mean return and geometric (CAGR) return from…

Bandwidth Calculator

Download time and required bandwidth for any file size…

Basic Calculator

Simple arithmetic calculator

Big Number Calculator

Exact arithmetic on arbitrarily large integers — add,…

Binary Calculator

Add, subtract, multiply, divide binary numbers — with…

BMI Calculator

Body Mass Index from height & weight

Boat Loan Calculator

Boat loan payment, total interest and payoff schedule,…

Bond Calculator

Bond price from face value, coupon, yield and maturity…

BTU Calculator

Air conditioner/heater size in BTU from room size,…

Budget Calculator

50/30/20 budget from take-home pay with line-by-line…

Business Loan Calculator

Business loan payment, total cost and amortization for…

Canadian Mortgage Calculator

Semi-annual compounding, accelerated bi-weekly — Canadian…

Cash Back or Low Interest Calculator

Compare a cash-back rebate against a lower APR over how…

CD Calculator

Certificate of deposit maturity value and APY…

Circle Calculator

Radius, diameter, circumference and area — enter any…

College Cost Calculator

Future college cost with tuition inflation, savings…

Commission Calculator

Base plus percent commission, tiered rates, and net…

Compound Interest Calculator

Project savings growth over time

Concrete Calculator

Estimate concrete volume for pours

Confidence Interval Calculator

CI for a mean (z or t) and for a proportion, at…

Credit Card Calculator

Fixed vs minimum payment payoff — months and interest…

Credit Cards Payoff Calculator

Snowball vs avalanche payoff across multiple cards with…

Currency Calculator

Convert between 20+ major currencies with editable…

Date Calculator

Days/months/years between dates

Day Counter

Count days, weekdays and weekends between two dates.

Day of the Week Calculator

What day of the week any date falls on, past or future.

Debt Consolidation Calculator

Combine multiple debts into one loan — see the real…

Debt Payoff Calculator

How long to be debt-free with a fixed payment, and what…

Debt-to-Income Ratio Calculator

Front-end and back-end DTI ratios that lenders use for…

Density Calculator

Density, mass or volume — solve any variable of ρ = m/V.

Depreciation Calculator

Straight-line, declining balance, or…

Dew Point Calculator

Dew point from temperature and humidity — comfort…

Dice Roller

Roll any number of dice with any sides — d4, d6, d8,…

Discount Calculator

Sale price from discount %

Distance Calculator

2D/3D Euclidean distance between points, with the…

Down Payment Calculator

Down payment savings plan and how it changes your loan,…

Electricity Calculator

Appliance energy cost from wattage, hours and your kWh…

Engine Horsepower Calculator

Engine HP from quarter-mile ET or trap speed — the…

Estate Tax Calculator

Gross estate minus debts and exemption — federal estate…

Exponent Calculator

Base raised to any power — including negative and…

Factor Calculator

All factors of a number, prime factorization, and…

FHA Loan Calculator

FHA mortgage payment with MIP, upfront UFMIP, taxes and…

Finance Calculator

TVM solver — enter any four of FV, PV, PMT, periods,…

Fraction Calculator

Add, subtract, multiply, divide fractions

Fuel Cost Calculator

Trip fuel cost from MPG & distance

Future Value Calculator

FV of a lump sum, periodic payments, or both combined.

Gas Mileage Calculator

Real MPG from fill-up records, plus cost per mile and…

GDP Calculator

GDP by expenditure approach: C + I + G + (X − M), with…

Golf Handicap Calculator

Handicap index from recent rounds using the WHS…

GPA Calculator

Grade point average from courses

Grade Calculator

Weighted grade from assignments plus the final-exam…

Gravel Calculator

Gravel tonnage and cubic yards for driveways and paths…

Half-Life Calculator

Solve any missing half-life variable — remaining…

Heat Index Calculator

NWS heat index from temperature and humidity, with risk…

Height Calculator

Predict child height from parents' heights…

HELOC Calculator

HELOC draw limit, interest-only payment, and amortizing…

Hex Calculator

Hexadecimal arithmetic and conversion to decimal,…

Home Equity Loan Calculator

Available equity, LTV limit, and the payment on a fixed…

Horsepower Calculator

HP from torque & RPM, or from force & velocity —…

Hours Calculator

Timesheet hours between clock in/out times, with break…

House Affordability Calculator

Work out the home price you can afford from income,…

Income Calculator

Annual, monthly, hourly income

Inflation Calculator

Purchasing power over time and the rate needed to hit a…

Interest Calculator

Simple vs compound interest side-by-side at any…

Interest Rate Calculator

Solve the unknown interest rate from principal, time…

Investment Calculator

Investment growth with contributions, rate, duration…

IP Subnet Calculator

Network, broadcast, mask, wildcard, host range and…

IRA Calculator

Traditional IRA growth, tax-deferred advantage, and…

IRR Calculator

Internal rate of return for any cashflow series, with…

Lease Calculator

Equipment/asset lease payment from value, residual,…

Least Common Multiple Calculator

LCM of two or more numbers with the step-by-step prime…

Loan Calculator

Monthly payment for any loan

Log Calculator

Logarithm in any base — ln, log10, log2, or custom.

Long Division Calculator

Step-by-step long division with remainder, decimal mode…

Margin Calculator

Gross margin from cost and revenue — plus markup and…

Markup Calculator

Selling price from cost & markup %

Mass Calculator

Mass from density and volume across common material…

Matrix Calculator

2×2 and 3×3 matrix operations: determinant, inverse,…

Mean, Median, Mode, Range Calculator

Full summary statistics for a data set — mean, median,…

Mileage Calculator

Trip distance, fuel used, cost, and reimbursement at…

Molarity Calculator

Molarity from mass, molar mass and volume — plus…

Molecular Weight Calculator

Molecular weight from a chemical formula like H2O or…

Mortgage Calculator

Monthly home loan payment

Mortgage Payoff Calculator

See how extra monthly payments pay off your mortgage…

UK Mortgage Calculator

Repayment or interest-only, in pounds, with LTV and…

Mulch Calculator

Mulch volume in cubic yards and bags for any bed size…

Mutual Fund Calculator

Lump sum plus SIP-style contributions with returns and…

Number Sequence Calculator

Arithmetic, geometric, Fibonacci-style sequences — nth…

Ohm's Law Calculator

V, I, R or power — enter any two, get the other two.

Payback Period Calculator

How many years an investment takes to repay its initial…

Payment Calculator

Fixed-term or fixed-payment loan solver — enter any…

Pension Calculator

Annual pension from final average salary, years of…

Percent Error Calculator

Percent error between observed and true values,…

Percentage Calculator

Percent of, increase, decrease

Permutation and Combination Calculator

nPr and nCr with the formula and step-by-step working…

P-Value Calculator

P-values from z, t, or chi-square with shaded distribution…

Personal Loan Calculator

Personal loan payment, total interest, and payoff…

Present Value Calculator

What a future amount or payment stream is worth in…

Probability Calculator

Single/double event probabilities, odds, and card/dice…

Pythagorean Theorem Calculator

a² + b² = c² — solve any missing side and see the check.

Quadratic Equation Calculator

Solve ax² + bx + c = 0

Random Number Generator

Random integers in any range, with unique-mode,…

Ratio Calculator

Solve the missing value in a proportion A:B = C:D and…

Real Estate Calculator

Full buy-and-hold deal analysis: cash flow, cap rate,…

Refinance Calculator

Compare your current loan to a refinanced one —…

Rent Calculator

How much rent you can afford based on income and the…

Rent vs. Buy Calculator

Side-by-side net cost of renting vs owning over your…

Rental Property Calculator

Rental investment returns: NOI, cap rate, cash-on-cash,…

Repayment Calculator

Fixed or graduated loan repayment plans — compare total…

Resistor Color Code Calculator

4/5/6-band resistor value, tolerance and temperature…

Retirement Calculator

Project retirement savings

Right Triangle Calculator

Right triangle solver — legs, hypotenuse, angles, area…

RMD Calculator

Required minimum distribution using the IRS Uniform…

ROI Calculator

Return on investment percentage

Roman Numeral Converter

Roman numerals to numbers and back, both directions…

Roofing Calculator

Roof area with pitch, squares of shingles, bundles and…

Root Calculator

Square, cube, or any nth root of a number, with decimal…

Roth IRA Calculator

Roth IRA growth with contributions — and Roth vs…

Rounding Calculator

Round to any decimal place or significant figure — up,…

Salary Calculator

Annual, monthly, hourly, daily salary

Sales Tax Calculator

Final price with sales tax

Sample Size Calculator

Required sample size for means or proportions at your…

Savings Calculator

Grow a starting balance plus regular contributions into…

Scientific Calculator

Trig, log, exp, powers, roots

Scientific Notation Calculator

Convert between decimal and a×10^b notation, and…

Shoe Size Conversion

Convert shoe sizes across US, UK, EU and centimeter…

Simple Interest Calculator

I = P·r·t — interest, total amount, and…

Sleep Calculator

Bedtimes or wake times around 90-minute sleep cycles.

Slope Calculator

Slope from two points or point+angle — with distance,…

Social Security Calculator

Benefit by claiming age 62-70 and the break-even age…

Speed Calculator

Speed, distance or time — solve any variable,…

Square Footage Calculator

Area in square feet from dimensions

Stair Calculator

Riser, run, stringer length and stair angle to…

Statistics Calculator

Mean, median, mode, std dev

Student Loan Calculator

Student loan payment, payoff timeline and interest with…

Surface Area Calculator

Total surface area of boxes, cylinders, spheres, cones…

Tile Calculator

Tiles needed for a floor/wall with layout pattern and…

Time Calculator

Add or subtract days, hours, minutes, seconds —…

Time Card Calculator

Work hours and pay from time cards

Time Duration Calculator

Duration between two dates/times in every unit…

Time Zone Calculator

Convert a time across world time zones using your…

Tip Calculator

Tip amount and total bill

Tire Size Calculator

Tire dimensions from metric size and speedometer error…

Triangle Calculator

Solve any triangle from three knowns — angles, sides,…

VA Mortgage Calculator

VA loan payment with funding fee by down payment and…

VAT Calculator

Add or remove VAT at any rate — gross, net, and the VAT…

Voltage Drop Calculator

Voltage drop over wire run — copper/aluminum, AWG,…

Volume Calculator

Volume of 8 solids: cube, box, cylinder, cone, sphere,…

Weight Calculator

Weight from mass and gravity — Earth, Moon, Mars and…

Wind Chill Calculator

NWS wind chill from temperature and wind speed,…

Z-score Calculator

Raw score → z-score, with probability above/below from…

Frequently Asked Questions

Everything you need to know about greatest common factor calculator.
How is the greatest common factor found?

With Euclid’s algorithm: replace (a, b) with (b, a mod b) until the remainder is 0 — the last non-zero remainder is the GCD. For more than two numbers the result folds across the list: gcd(48, 180) = 12, then gcd(12, next) and so on. The actual division steps for the first pair are shown in the panel.

What is the relationship between GCF and LCM?

For two numbers, GCF × LCM = product: 12 × 720 = 48 × 180 = 8,640. That identity is a quick self-check, and it is why the calculator reports the LCM of your set as a bonus.

Is anything stored or uploaded?

Nothing at all. The Euclid steps, factor lists, and LCM run locally in your browser — your numbers never touch a server, and no cookies or accounts are involved.

Why do the factor lists have a size cap?

Listing every factor requires trial division up to √n, so factor chips are drawn for inputs up to 10,000,000. The GCF itself uses Euclid and stays instant for inputs up to 10^15; longer lists would simply flood the page without adding insight.

Where is the GCF actually useful?

Reducing fractions to lowest terms (48/180 → 4/15), splitting items into the largest equal groups, tiling and cutting layouts without offcuts, and simplifying ratios in recipes or scale drawings.

Ready to use the Greatest Common Factor Calculator?

Open the tool