Skip to content

Ratio Calculator

Simplify ratios, solve proportions, split an amount in a ratio and get 1 : n forms.

Your details

Decimals are fine: 1.5 : 2.25 is simplified exactly.

For three-part ratios such as 2 : 3 : 5. Leave blank for A : B.

Results update as you type

Simplest form

2 : 3

1 : n form
1 : 1.5
n : 1 form
0.666667 : 1
A ÷ B as a decimal
0.666667
A as a share of the whole
40%

Step-by-step solution
  1. Greatest common divisor: GCD(24, 36) = 12
  2. Divide every term by it: 24 ÷ 12 : 36 ÷ 12 = 2 : 3

A ratio compares two or more quantities by division: 3 : 2 means "three of the first for every two of the second". Ratios turn up in recipes, maps and scale models, screen sizes, mixing concrete or paint, splitting profits between partners and reading financial statements.

This ratio calculator handles the four jobs people need most. It simplifies a ratio to lowest whole-number terms (decimals such as 1.5 : 2.25 included, worked out exactly rather than with rounded floating-point numbers); it solves a proportion A : B = C : D for the missing term; it splits an amount in a two- or three-part ratio; and it rewrites a ratio in the 1 : n and n : 1 forms used to compare ratios at a glance. Each result comes with the steps, so you can check the arithmetic or copy the method for homework.

How to use this calculator

  1. Choose what you want to do in the first menu.
  2. Enter the terms A and B. For a three-part ratio (simplify or split), fill in the optional third term.
  3. To solve a proportion, also enter C: the calculator finds D so that A : B = C : D.
  4. To share something out, enter the amount to split; you get each share and the value of one part.
  5. Read the result and open the steps to see each operation.

The formula

Simplifying. Multiply every term by the same power of ten to remove decimals, then divide by the greatest common divisor (found with Euclid’s algorithm):

a:b=agcd⁡(a,b):bgcd⁡(a,b)a : b = \frac{a}{\gcd(a,b)} : \frac{b}{\gcd(a,b)}

Proportion. Two equal ratios have equal cross products, so

AB=CD  ⟺  A×D=B×C  ⟺  D=B×CA\frac{A}{B} = \frac{C}{D} \iff A \times D = B \times C \iff D = \frac{B \times C}{A}

Splitting a total TT in the ratio a:b:ca : b : c: one part is worth T/(a+b+c)T / (a + b + c), and each share is its term times that value, for example T×aa+b+cT \times \frac{a}{a+b+c}.

Unit forms. Dividing both terms by aa gives 1:ba1 : \frac{b}{a}; dividing by bb gives ab:1\frac{a}{b} : 1.

Worked example

Simplify 1.5 : 2.25. Multiply by 100: 150 : 225. The GCD is 75, so the ratio is 2 : 3.

Scale a recipe. A dough uses 3 cups of flour for 2 cups of water. With 7.5 cups of flour: 3:2=7.5:D3 : 2 = 7.5 : D, so D=2×7.5/3=5D = 2 \times 7.5 / 3 = 5 cups of water.

Split 1,200 in the ratio 2 : 3 : 5. There are 10 parts, each worth 120, so the shares are 240, 360, 600 (they add back up to 1,200).

Compare 16 : 9. In unit form it is 1:0.56251 : 0.5625 or 1.777778:11.777778 : 1 — the "1.78 : 1" often quoted for widescreen displays.

Ratios, fractions and percentages

A two-term ratio a:ba : b carries the same information as the fraction a/ba/b, but it is read differently. In a class with 12 girls and 18 boys, the girls-to-boys ratio is 12 : 18 = 2 : 3, while the girls make up 12/30=40%12/30 = 40\% of the class. The ratio compares the parts with each other; the percentage compares one part with the whole. This calculator shows both: "A as a share of the whole" is a/(a+b)a / (a + b). For pure fraction work see the fraction calculator, and for percentages the percentage calculator.

Equivalent ratios and the 1 : n form

Ratios are equivalent when one is a multiple of the other: 2 : 3, 4 : 6 and 24 : 36 all describe the same mix. Simplifying picks the representative with the smallest whole numbers. To compare ratios that do not simplify nicely — say 5 : 8 and 7 : 11 — convert both to 1:n1 : n: they become 1 : 1.6 and 1 : 1.571429, so the first has proportionally more of B. Map scales are written this way too (1 : 25,000), as are odds and gear ratios.

Frequently asked questions

How do I simplify a ratio with decimals?

Multiply all terms by the same power of ten so they become whole numbers (1.5 : 2.25 → 150 : 225), then divide by their greatest common divisor (75) to get 2 : 3. The calculator does this exactly, without rounding errors.

How do I solve a proportion such as 3 : 4 = 9 : x?

Cross-multiply: 3 × x = 4 × 9, so x = 36 ÷ 3 = 12. Choose "Solve a proportion", enter A = 3, B = 4 and C = 9.

How do I divide an amount in a ratio?

Add the terms to get the number of parts, divide the amount by that number to get one part, then multiply by each term. 500 in the ratio 2 : 3 gives 5 parts of 100, so 200 and 300.

Does the order of the terms matter?

Yes. 2 : 3 and 3 : 2 are different ratios. Always keep the quantities in the order stated in the problem, and the same order on both sides of a proportion.

Can a ratio contain zero?

A part can be absent, but a ratio with a zero term cannot be simplified or put in 1 : n form, and a proportion with A = 0 has no solution. The calculator therefore asks for positive terms.

Sources

Last updated:

More Math calculators

People also use