LCM Calculator
Find the least common multiple of two or more whole numbers. See the prime factorization, the highest power of each prime, the GCF method steps, and the listed multiples. Everything runs in the browser.
- 2 to 20 numbers
- Prime factorization
- Step-by-step work
- Stays on your device
The least common multiple is the smallest number that every number in your list divides into evenly. It is the number you need to add or subtract fractions with different denominators, and it answers questions like when two repeating schedules will line up again.
Example: 4 = 2^2, 6 = 2 × 3, and 10 = 2 × 5. The highest power of each prime is 2^2, 3, and 5, so the LCM is 4 × 3 × 5 = 60.
Find the largest shared factor with the GCF calculator, break one number into primes with the factoring calculator, reduce a ratio with the ratio calculator, divide step by step with the long division calculator, or solve A / B = C / D with the proportion calculator. Browse more tools in the Math hub.
How to use the LCM calculator
- Type two or more whole numbers, separated by commas or spaces.
- Read the LCM and the GCF in the result panel.
- Check the prime factorization to see the highest power of each prime.
- Follow the GCF method steps or the listed multiples to see how the LCM was found.
Frequently asked questions
What is the LCM?
The least common multiple (LCM) is the smallest positive number that every number in a set divides into with no remainder. The LCM of 4 and 6 is 12, because 12 is the first number that both 4 and 6 go into evenly.
How do I find the LCM of two numbers?
List the multiples of each number until you find the first one they share, or use the formula LCM(a, b) = a × b ÷ GCF(a, b). For 12 and 18 the GCF is 6, so the LCM is 12 × 18 ÷ 6 = 36.
How do I find the LCM with prime factorization?
Break each number into primes, then take every prime at the highest power it appears in any of the numbers and multiply. 8 = 2^3, 12 = 2^2 × 3, and 18 = 2 × 3^2, so the LCM is 2^3 × 3^2 = 72.
Can I find the LCM of three or more numbers?
Yes. Find the LCM of the first two numbers, then the LCM of that result and the next number, and so on. The LCM of 4, 6, and 10 is 60. This calculator takes up to 20 numbers at once.
What is the difference between LCM and GCF?
The LCM is the smallest number that all of your numbers divide into. The greatest common factor (GCF) is the largest number that divides all of them. For 12 and 18 the LCM is 36 and the GCF is 6. For two numbers, LCM × GCF equals the product of the numbers.
How is the LCM used with fractions?
The LCM of the denominators is the least common denominator. To add 1/4 + 1/6, the LCM of 4 and 6 is 12, so rewrite them as 3/12 + 2/12 = 5/12.
What is the LCM of two prime or coprime numbers?
If two numbers share no factor other than 1, their LCM is simply their product. The LCM of 7 and 11 is 77, and the LCM of 8 and 15 is 120.
Is my information saved or uploaded?
No. The LCM calculator runs entirely in your browser. Numbers are not sent to a server or stored, and there is no account.
Other tools
Finance
Stock Average Calculator
Weighted average cost, total shares, break-even price, and unrealized P/L from multiple lots.
Finance
Paycheck Calculator Hourly
Gross pay per paycheck from an hourly rate or salary — weekly, biweekly, semimonthly, or monthly.
Finance
Emergency Fund Calculator
Target emergency savings from monthly essential expenses, plus the gap and months to fully fund.
Finance
Mortgage Recast Calculator
New monthly payment, payment drop, and interest savings after a lump-sum recast — same remaining term, not a refinance.
Finance
Refinance Calculator Auto Loan
Current vs new monthly payment, interest, fee break-even, and total cost for an auto loan refinance — all in the browser.
Finance
Real Estate Commission Calculator
Total commission, listing-side and buyer-side dollars, and seller net proceeds from a home sale — all in the browser.
Finance
Credit Utilization Calculator
Overall credit utilization %, available credit, per-card ratios, and dollars to pay to reach a target — all in the browser.
Finance
403b Calculator
Employee contributions, optional employer match, and projected 403(b) balance at retirement — all in the browser.
Finance
Monthly Budget Template
Monthly income and expense lines with totals, leftover surplus or deficit, and savings rate — all in the browser.
Finance
VAT Number Validator
VAT number validator and VAT number checker for EU (and legacy GB) IDs — format, country, and check digits in the browser. Not a VIES lookup.
Finance
Break Even Sales Calculator
Break-even units, sales revenue, and contribution margin from fixed costs, variable cost, and price — optional target profit. All in the browser.
Finance
Bottleneck Calculator
Bottleneck step, system throughput, and utilization % from each step’s capacity — Theory of Constraints, all in the browser.
Finance
Time Card Calculator
Total a week of start and end times with unpaid breaks in h:mm and decimal hours, split overtime after 40 hours, and estimate gross pay — all in the browser.
Finance
Date Calculator
Count the days between two dates, or add and subtract days, weeks, months, and years from any date — all in the browser.
Finance
Amortization Calculator
Monthly payment, total interest, and a full monthly or yearly amortization schedule for any fixed-rate loan, with optional extra payments — all in the browser.
Finance
Tip Calculator
Tip amount, total with tip, and per-person split from a bill and a 15%, 18%, 20%, 25%, or custom tip — optional round up, all in the browser.
Finance
Overtime Calculator
Regular pay, overtime pay, and total gross from hourly rate, regular/OT hours or total hours with a weekly threshold — default 1.5×, all in the browser.
Finance
APR Calculator
Monthly payment, estimated APR, total interest, and total cost for a fixed installment loan — optional upfront fees reduce net proceeds, all in the browser.
Finance
Student Loan Refinance Calculator
Current vs new monthly payment, total interest, estimated savings vs the current loan, and fee break-even for a student loan refinance — all in the browser.
Finance
Balance Transfer Calculator
Stay-put vs promo APR payoff, transfer fee, months to pay off, total interest, and estimated savings for a credit card balance transfer — all in the browser.
Finance
Purchasing Power Calculator
Equivalent buying power across years, % change in purchasing power, and a plain-language inflation summary — average rate or CPI indexes, all in the browser.
Finance
Straight Line Depreciation Calculator
Annual straight-line expense, depreciable basis, optional monthly (annual ÷ 12), and a year-by-year book-value schedule — all in the browser.
Finance
CD Rate Calculator
Ending balance, interest earned, APY or interest rate, and a year-by-year schedule from deposit, term, and compounding — all in the browser.
Finance
Markup Calculator
Selling price, profit dollars, markup %, and margin % from cost plus markup percent or selling price — all in the browser.
Finance
Percent Off Calculator
Discount amount, sale price, and percent off from original price plus percent off, sale price, or dollars off — all in the browser.
Finance
Discount Calculator
Sale price, discount dollars, and discount % from list price plus % or $ off — plus reverse (sale + % → original) and stacked/successive percent discounts. All in the browser.
Finance
Future Value Calculator
Future value, total contributions, and interest earned from an initial investment, optional deposits, annual rate, and compounding — all in the browser.
Finance
ROI Calculator
ROI %, net profit, and final value from an initial investment plus ending value or gain — all in the browser.
SEO
UTM Builder
UTM generator, maker, and link builder for campaign URLs — including bulk CSV — all in the browser.
SEO
Robots.txt Builder
Robots.txt builder and robot.txt generator for allow/disallow rules, user-agent groups, sitemap URLs, and AI crawler extras.
SEO
Schema Markup Validator
Schema markup validator and schema checker for JSON-LD — detect @context and @type, flag common errors, and pretty-print in the browser.
SEO
Domain Age Checker
Domain age checker for registration date, age in years/months/days, registrar, and expiration — public RDAP in the browser, or paste WHOIS. Nothing uploaded.
SEO
CPM Calculator
CPM calculator for cost per 1,000 impressions — solve CPM, cost, or impressions, plus CPC and CTR, all in the browser.
Developer
UUID Generator
Generate UUID v4 and UUID v7 (also used as an online GUID generator) with bulk copy.
Developer
JWT Decoder
Decode a JWT header and payload to readable JSON in the browser. No signature check, nothing uploaded.
Developer
Cron Expression Generator
Build a standard 5-field cron expression with presets, a human-readable summary, and upcoming run times — all in the browser.
Developer
SQL Formatter
Pretty-print SQL with indentation and uppercase keywords in the browser. Copy the formatted query — nothing uploaded.
Developer
JSON Formatter
Validate and pretty-print JSON in the browser with 2 or 4 spaces or tabs, minify, or sort keys. Copy or download — nothing uploaded.
Convert
HEIC to PNG Converter
Convert HEIC and HEIF photos to PNG in the browser. Batch convert, then download — files never leave the device.
Convert
HEIC to PDF Converter
Convert HEIC and HEIF photos to PDF in the browser. Batch convert, then download — files never leave the device.
Convert
Excel to PDF Converter
Convert Excel .xlsx and .xls spreadsheets to PDF in the browser. Batch convert, then download — files never leave the device.
Convert
CSV to Excel Converter
Convert CSV to Excel (.xlsx) in the browser. Paste or open a .csv file, then download a spreadsheet — nothing is uploaded.
Convert
JSON to CSV Converter
Convert JSON arrays and objects to CSV in the browser. Paste or open a .json file, then copy or download — nothing is uploaded.
Convert
PNG to JPG Converter
Convert PNG images to JPG in the browser. Batch convert, then download — files never leave the device.
Convert
Mm to Inches Calculator
Convert millimeters to inches (and inches back to mm) with the exact 1 inch = 25.4 mm formula — decimal and fractional inches, all in the browser.
Convert
Cubic Yard Calculator
Cubic yards and cubic feet from length × width × depth (or a cylinder) in feet or inches — mulch, gravel, concrete, soil, and sand, all in the browser.
Household
Soft Wash Mix Calculator
Educational gallons of mix, bleach, water, and surfactant from surface, square feet, and soil — then request a local quote.
Household
House Sq-Ft Estimator
Educational wall or roof square feet from L×W or footprint, 1–2 stories, and an optional roof pitch bump — then request a local quote.
Household
Vinyl Siding Cleanability Checker
Educational good / caution / skip soft-wash fit from siding type, soil, age, and shade — then request a local quote.
Household
Roof Algae Severity Quiz
Educational 1–4 streak score from coverage, roof age, trees, and north face, plus a typical soft-wash candidate note — not a diagnosis.
Household
Roofing Calculator
Roof surface area, roofing squares, and squares with waste from length × width or plan area, plus an optional pitch factor. Optional price per square stays blank.
Household
Concrete Calculator
Concrete volume in cubic yards and cubic feet for slabs, patios, footings, and round columns, plus waste and 40, 60, and 80 lb bag counts.
Household
Square Footage Calculator
Square feet for rectangles, L-shaped rooms, triangles, and circles from feet and inches, with multiple rooms summed and sq yd and sq m conversions.
Household
Drywall Calculator
Drywall sheets for walls and ceilings in 4 × 8, 4 × 10, or 4 × 12 sizes, minus doors and windows, plus joint compound, tape, and screws.
Math
Ratio Calculator
Simplify a ratio to lowest terms or solve a missing value in A : B = C : D, with 1 : n, decimal, and percentage forms.
Math
Proportion Calculator
Solve a proportion A / B = C / D for the missing value, or check if two ratios are proportional with cross products and the scale factor.
Math
GCF Calculator
Find the greatest common factor (GCD/HCF) of 2 to 20 whole numbers with prime factorization, Euclidean algorithm steps, common factors, and the LCM.
Math
Factoring Calculator
Find the prime factorization of a whole number, list every positive factor, see the factor count, and tell whether the number is prime or composite.
Math
Slope Calculator
Find the slope from two points with rise over run, angle in degrees, y-intercept, and point-slope form — handles vertical and horizontal lines.
Math
Standard Deviation Calculator
Find sample and population standard deviation, variance, mean, sum, and count from a list of numbers, with step-by-step work.
Math
Percentage Calculator
Find X% of Y, what percent X is of Y, and the percent increase or decrease from X to Y, with step-by-step work.
Math
Long Division Calculator
Divide two numbers with every long division step shown: quotient and remainder, the decimal answer, and repeating decimals.