Ratio Calculator

Simplify any ratio down to its smallest whole numbers, scale it up or down by any factor, and solve proportions like 2:3 = 8:x, with every GCD step and cross-multiplication line shown so you can check the arithmetic yourself.

What you get
  • Simplify with visible stepsEuclid's GCD algorithm, line by line.
  • Proportion solvingFind the missing fourth term by cross multiplication.
  • Scale for real projectsRecipes, prints and designs multiplied cleanly.

What do you need?

Results update as you type

Reduce a ratio to the smallest whole numbers that keep the same relationship, with the greatest common divisor shown.

10 : 15 simplify a : b

Runs entirely in your browser. Nothing you type is sent or saved

Ratio guide

What a ratio expresses

A ratio compares two quantities by division, written a : b. It answers "how much of one thing relative to another", not "how much in total": a dough mixed 2 : 1, flour to water, says every 2 cups of flour needs 1 cup of water, whether you are baking one loaf or twenty. Because a ratio fixes only the relationship, the same ratio hides behind many different pairs of numbers: 2 : 3, 4 : 6, 10 : 15 and 200 : 300 all describe exactly the same relationship, which is why simplifying and scaling matter.

This page works through the example ratio 10 : 15 as it goes, so every number below can be checked against the calculator above.

Simplifying with the GCD

Simplifying divides both parts by the largest number that divides them both exactly, the greatest common divisor (GCD). For 10 : 15, the divisors of 10 are 1, 2, 5 and 10, and the divisors of 15 are 1, 3, 5 and 15. The largest shared one is 5, so:

10 : 15 = (10 ÷ 5) : (15 ÷ 5) = 2 : 3

divide both parts by the GCD, never one side only

The calculator finds the GCD with Euclid's algorithm, one of the oldest procedures in mathematics: replace the pair with the smaller number and the remainder of the larger divided by the smaller, and repeat until the remainder is zero. For (15, 10) that runs 15 = 1 × 10 remainder 5, then 10 = 2 × 5 remainder 0, so the GCD is the last nonzero remainder, 5. A ratio whose GCD is 1, like 16 : 9, is already in lowest terms and cannot be reduced.

Proportions and cross multiplication

A proportion says two ratios are equal: a : b = c : d. Any three known terms determine the fourth, and the tool for finding it is cross multiplication: in a proportion, a × d always equals b × c. To solve 2 : 3 = 8 : x:

2 × x = 3 × 8   so   x = 24 ÷ 2 = 12

multiply across the equals sign, then divide by the term next to the unknown

The check is built in: 2 × 12 = 24 and 3 × 8 = 24, so both cross products agree, which is exactly the "cross-product check" the calculator reports. The same rearrangement solves any position of the unknown, so 2 : x = 8 : 12 gives x = 2 × 12 ÷ 8 = 3. One caution: the denominator of the division must not be zero, and a proportion with a zero term usually signals a mistake in the setup rather than a real answer.

Scaling recipes and designs

Scaling multiplies both parts of a ratio by the same factor, which changes the amounts but preserves the relationship. Doubling a 2 : 3 syrup gives 4 : 6, and scaling it by 5 for a larger batch gives 10 : 15, back where this page started, which is the clearest proof that all three ratios are the same relationship in different clothes.

Scaling is how cooks turn a 4-serving recipe into 10 servings, how printers enlarge a photograph without distortion, and how engineers read a 1 : 50 scale drawing: a 3-meter wall measures 3 × 100 ÷ 50 = 6 centimeters on paper. The factor does not have to be a whole number; scaling 2 : 3 by 1.5 gives 3 : 4.5, which simplifies back to 2 : 3 if you want whole numbers again.

Ratios vs fractions: part-to-part and part-to-whole

The same two numbers can carry two different meanings. Read as a ratio, 2 : 3 compares the two parts against each other (2 parts of A for every 3 parts of B). Read as a fraction, 2/3 compares one part against the whole. With 2 cups of juice and 3 cups of water, the ratio of juice to water is 2 : 3, but juice makes up 2/5 of the total mixture, not 2/3. Mixing the two readings is one of the most common ratio mistakes, so before answering any question, decide whether the comparison is part to part or part to whole.

The calculator's decimal column helps here: the decimal value of the ratio a : b is a ÷ b (0.667 for 2 : 3), while the part-to-whole share is a ÷ (a + b), 0.4 for the same numbers. Both are shown so the two readings never blur together.

Where ratios show up

  • Screens and video: the aspect ratio is width : height. A 1920 × 1080 display simplifies to 16 : 9, and so does 4K UHD at 3840 × 2160, which is why both fit the same picture with different sharpness. If an image must fill a 16 : 9 frame, every candidate width and height pair must satisfy that proportion.
  • Cooking and mixing: rice to water, cement to sand, concentrate to water. Ratios survive any batch size, which is exactly why recipes quote them.
  • Maps and models: a 1 : 50,000 map scale means 1 centimeter of paper is 50,000 centimeters of ground, and every distance scales the same way.
  • Rates and finance: gear ratios, exchange rates and price-to-earnings figures are ratios, and their simplifications often reveal the underlying constant.

Using the calculator well

  • Pick the mode that matches the question: simplify when the answer is "the same ratio in small numbers", solve when three terms are known and one is missing, scale when you know the factor you need to grow or shrink by.
  • Whole numbers work best: the GCD and the cross-multiplication steps assume whole number inputs. If a measurement is 2.5, multiply the whole ratio by 2 first (giving 5 : something) and simplify from there.
  • Read the cross-product check: after solving a proportion, the two cross products should match exactly. If they do not, one of the inputs was mistyped.
  • Mind which side is which: 2 : 3 and 3 : 2 are different relationships. When converting a sentence into a ratio, keep the order of the words ("flour to water") matched by the order of the numbers.
  • Zero is a red flag: a term of 0 makes the cross products degenerate, and the calculator rejects it rather than pretending to solve.

Common questions

Find the greatest common divisor of both terms and divide each by it. For 10 : 15 the GCD is 5, giving 2 : 3. Both parts must be divided by the same number, and the simplified ratio describes the same relationship, just in the smallest whole numbers. The calculator shows Euclid's algorithm step by step so you can see where the GCD comes from.

Cross multiply and divide. In a : b = c : x, multiply a by x and b by c, set them equal, and solve: x = b × c ÷ a. For 2 : 3 = 8 : x that gives x = 3 × 8 ÷ 2 = 12. The same rule works no matter which position the unknown occupies, and the calculator's breakdown shows the exact multiplication and division lines.

The ratio 2 : 3 compares one part to the other part, while 2/3 compares one part to the whole. With 2 cups of juice and 3 of water, the juice-to-water ratio is 2 : 3, but juice is 2/5 of the mixture because the total is 5 cups. Both readings are correct; they simply answer different questions, so decide part-to-part or part-to-whole before converting.

Because a ratio fixes only the relationship between the two quantities, not their sizes. Dividing or multiplying both terms by the same number leaves the division between them unchanged: 10 ÷ 15 = 4 ÷ 6 = 2 ÷ 3 = 0.667. Simplifying strips the shared factor away, and scaling multiplies it back in, which is why both tools land on the same relationship.

Both exist. A 3-term ratio like 1 : 2 : 3 compares three ingredients, and each term scales together when the batch grows, so 1 : 2 : 3 scaled by 5 becomes 5 : 10 : 15. Decimal ratios are fine as inputs too, but the cleanest workflow is to multiply the whole ratio by a power of ten first (2.5 : 5 becomes 25 : 50, then 1 : 2), so the GCD steps stay in whole numbers.

Treat the aspect ratio as a proportion. A 16 : 9 frame at 1920 pixels wide is 1920 × 9 ÷ 16 = 1080 pixels tall. To fit a 16 : 9 picture into a width of 1280, solve 16 : 9 = 1280 : h, giving h = 9 × 1280 ÷ 16 = 720. Keep both sides of the proportion in the same order (width : height) and any target dimension can be solved the same way.

No. Every calculation runs in your browser. Nothing is stored or transmitted.

Same relationship, smallest numbers, in one line.

Browse all math calculators