Ratio Calculator
12 : 18 simplifies to 2 : 3: divide every term by their greatest common divisor, 6. Decimals work too, so 1.5 : 2.5 is 3 : 5. To split a total in a ratio, add the terms and divide the total by that sum: 500 in the ratio 3 : 2 is 300 and 200 (5 parts of 100 each). The same calculator scales a ratio up or down, compares two ratios, and writes a ratio of two to four terms as fractions and percentages, with every step shown.
Updated Runs in your browser: nothing you enter is uploadedHow this tool works
12 : 18 = 2 : 3
2 : 3
12 : 18 simplifies to 2 : 3: every term was scaled by the same amount, so the ratio is unchanged.
- Lowest terms
- 2 : 3
- Greatest common divisor
- 6
- First ÷ second
- 2/3 ≈ 0.6667
- Per 1 of the first term
- 1 : 1.5
- Total parts
- 5
- Share of the whole
- 40% : 60%
The working, step by step
- Start with the ratio 12 : 18.
- Find the greatest common divisor: GCD(12, 18) = 6. Divide every term by 6: 12 ÷ 6 = 2; 18 ÷ 6 = 3.
- The simplified ratio is 2 : 3.
Common ratios in lowest terms, as fractions and percentages
| Ratio | Lowest terms | Fractions of the whole | Percentages |
|---|---|---|---|
| 12 : 18 | 2 : 3 | 2/5, 3/5 | 40%, 60% |
| 10 : 15 | 2 : 3 | 2/5, 3/5 | 40%, 60% |
| 4 : 6 | 2 : 3 | 2/5, 3/5 | 40%, 60% |
| 6 : 8 | 3 : 4 | 3/7, 4/7 | ≈ 42.8571%, ≈ 57.1429% |
| 25 : 100 | 1 : 4 | 1/5, 4/5 | 20%, 80% |
| 50 : 75 | 2 : 3 | 2/5, 3/5 | 40%, 60% |
| 1.5 : 2.5 | 3 : 5 | 3/8, 5/8 | 37.5%, 62.5% |
| 0.2 : 0.8 | 1 : 4 | 1/5, 4/5 | 20%, 80% |
| 8 : 12 : 20 | 2 : 3 : 5 | 1/5, 3/10, 1/2 | 20%, 30%, 50% |
| 2 : 3 : 5 | 2 : 3 : 5 | 1/5, 3/10, 1/2 | 20%, 30%, 50% |
| 1 : 1 : 2 | 1 : 1 : 2 | 1/4, 1/4, 1/2 | 25%, 25%, 50% |
| 3 : 1 : 1 | 3 : 1 : 1 | 3/5, 1/5, 1/5 | 60%, 20%, 20% |
Splitting a total in a ratio
| Total and ratio | Exact shares | Whole units |
|---|---|---|
| 500 in 3 : 2 | 300 and 200 | 300 and 200 |
| 50 in 1 : 1 | 25 and 25 | 25 and 25 |
| 100 in 2 : 3 | 40 and 60 | 40 and 60 |
| 60 in 1 : 2 : 3 | 10, 20 and 30 | 10, 20 and 30 |
| 1000 in 5 : 3 : 2 | 500, 300 and 200 | 500, 300 and 200 |
| 100 in 1 : 2 | ≈ 33.3333 and ≈ 66.6667 | 33 and 67 |
| 100 in 1 : 1 : 1 | ≈ 33.3333, ≈ 33.3333 and ≈ 33.3333 | 34, 33 and 33 |
| 10 in 1 : 1 : 1 | ≈ 3.3333, ≈ 3.3333 and ≈ 3.3333 | 4, 3 and 3 |
| 7 in 1 : 1 | 3.5 and 3.5 | 4 and 3 |
Mix ratios as plain ratios
| Mix | Ratio | Total | Amounts | Percentages |
|---|---|---|---|---|
| Concrete: cement : sand : gravel, by volume | 1 : 2 : 3 | 60 litres | 10, 20 and 30 litres | ≈ 16.6667%, ≈ 33.3333%, 50% |
| Salad dressing: oil : vinegar | 3 : 1 | 200 ml | 150 and 50 ml | 75%, 25% |
| Cordial: concentrate : water | 1 : 4 | 750 ml | 150 and 600 ml | 20%, 80% |
| Cleaning dilution: concentrate : water | 1 : 10 | 1100 ml | 100 and 1,000 ml | ≈ 9.0909%, ≈ 90.9091% |
| Trail mix: nuts : raisins : chocolate chips | 2 : 1 : 1 | 400 g | 200, 100 and 100 g | 50%, 25%, 25% |
Screen and image sizes as ratios
| Width : height | Lowest terms | Width ÷ height |
|---|---|---|
| 1920 : 1080 | 16 : 9 | 16/9 ≈ 1.7778 |
| 1280 : 720 | 16 : 9 | 16/9 ≈ 1.7778 |
| 3840 : 2160 | 16 : 9 | 16/9 ≈ 1.7778 |
| 1600 : 900 | 16 : 9 | 16/9 ≈ 1.7778 |
| 1024 : 768 | 4 : 3 | 4/3 ≈ 1.3333 |
| 800 : 600 | 4 : 3 | 4/3 ≈ 1.3333 |
| 1280 : 1024 | 5 : 4 | 5/4 = 1.25 |
| 2560 : 1080 | 64 : 27 | 64/27 ≈ 2.3704 |
| 1080 : 1350 | 4 : 5 | 4/5 = 0.8 |
| 1080 : 1920 | 9 : 16 | 9/16 = 0.5625 |
Scaling a ratio up and down
| Ratio | Scale by | Scaled ratio | Lowest terms |
|---|---|---|---|
| 2 : 3 | × 4 | 8 : 12 | 2 : 3 |
| 12 : 18 | × 0.5 | 6 : 9 | 2 : 3 |
| 3 : 5 | × 2.5 | 7.5 : 12.5 | 3 : 5 |
| 4 : 6 | × 1/2 | 2 : 3 | 2 : 3 |
| 1 : 2 : 3 | × 10 | 10 : 20 : 30 | 1 : 2 : 3 |
| 5 : 8 | first term = 20 | 20 : 32 | 5 : 8 |
| 2 : 3 : 5 | third term = 25 | 10 : 15 : 25 | 2 : 3 : 5 |
Comparing two ratios
| Ratio A | Ratio B | Lowest terms (A and B) | Result |
|---|---|---|---|
| 3 : 4 | 9 : 12 | 3 : 4 and 3 : 4 | Equal ratios |
| 2 : 3 | 3 : 5 | 2 : 3 and 3 : 5 | Not equal |
| 5 : 7 | 7 : 10 | 5 : 7 and 7 : 10 | Not equal |
| 0.5 : 1.5 | 1 : 3 | 1 : 3 and 1 : 3 | Equal ratios |
| 1 : 2 : 3 | 2 : 4 : 6 | 1 : 2 : 3 and 1 : 2 : 3 | Equal ratios |
| 1 : 2 : 3 | 3 : 2 : 1 | 1 : 2 : 3 and 3 : 2 : 1 | Not equal |
How to simplify a ratio
- Write the ratio. Put the terms in order with colons between them, like 12 : 18. Two to four terms, whole numbers or decimals.
- Clear any decimals. If a term is a decimal, multiply every term by the same power of 10, or by the least common multiple of the denominators, until all are whole: 1.5 : 2.5 multiplied by 2 is 3 : 5.
- Find the greatest common divisor. The greatest common divisor is the largest whole number that divides every term. For 12 and 18 it is 6.
- Divide every term by it. 12 ÷ 6 and 18 ÷ 6 give 2 : 3.
- Check the result. Multiplying 2 : 3 by 6 gets back to 12 : 18, so nothing changed but the size of the numbers. To share a total, add the terms (5) and divide.
Frequently asked questions
- What is a ratio?
- A ratio compares quantities of the same kind by size, written with colons: 12 : 18 says there are 12 of one thing for every 18 of another. Only the relationship matters, so 12 : 18 and 2 : 3 describe the same comparison. A ratio can have two terms or more, such as 8 : 12 : 20 = 2 : 3 : 5.
- What is the difference between a ratio, a fraction and a proportion?
- A ratio compares parts to parts (2 : 3 is two parts of one to three of the other). A fraction compares a part to the whole: in the ratio 2 : 3 the first term is 2/5 of the whole, which is 40%. A proportion is a statement that two ratios are equal, like 3 : 4 = 9 : 12; solve for a missing number in one with the proportion calculator.
- How do you simplify a ratio?
- Divide every term by their greatest common divisor. The greatest common divisor of 12 and 18 is 6, so 12 : 18 = 2 : 3. If a term is already 1, or the terms share no factor, the ratio is already in lowest terms.
- How do you simplify a ratio with decimals?
- Multiply every term by the same number until all are whole, then divide by the greatest common divisor. For 1.5 : 2.5, multiplying by 2 gives 3 : 5, which has no common factor, so 1.5 : 2.5 = 3 : 5. The calculator reads decimals as exact fractions, so nothing is rounded along the way.
- How do you split a total in a ratio?
- Add the terms, divide the total by that sum to get the size of one part, then multiply each term by one part. For 500 in the ratio 3 : 2 there are 5 parts, one part is 100, and the shares are 300 and 200. Splitting 60 in 1 : 2 : 3 gives 10, 20 and 30.
- What if the total does not divide evenly?
- The exact shares are fractions: 100 in 1 : 1 : 1 is ≈ 33.3333, ≈ 33.3333 and ≈ 33.3333 when decimals are allowed. If the units cannot be cut, choose whole units: each share is rounded down and the leftover units go to the shares with the largest remainders, so 100 in 1 : 1 : 1 becomes 34, 33 and 33 and still adds up to 100. The earlier term wins a tie.
- How do three-term ratios work?
- The same way as two-term ones. Divide all three terms by their greatest common divisor (8 : 12 : 20 becomes 2 : 3 : 5), and to split a total add all three terms: 2 : 3 : 5 has 10 parts, so the shares of the whole are 20%, 30%, 50%. The calculator accepts up to four terms.
- How do you scale a ratio up or down?
- Multiply every term by the same number. Scaling 2 : 3 by 4 gives 8 : 12, and scaling 12 : 18 by 1/2 gives 6 : 9. To scale to a target, say the first term of 5 : 8 must be 20, divide the target by that term (20 ÷ 5 = 4) and multiply the other terms by the same factor: 20 : 32.
- How do I know if two ratios are equal?
- Put both in lowest terms: equal ratios reduce to the same numbers. 3 : 4 and 9 : 12 both reduce to 3 : 4, so they are equal ratios. For two terms you can also cross-multiply: 3 × 12 = 36 and 4 × 9 = 36. In contrast 3 : 4 and 2 : 3 give 9 and 8, which differ.
- How do I turn a ratio into a percentage or a fraction?
- Divide each term by the sum of all the terms. For 2 : 3 the sum is 5, so the terms are 2/5, 3/5 of the whole, which is 40%, 60%. A ratio like 1 : 2 gives 1/3, 2/3, shown as ≈ 33.3333%, ≈ 66.6667% because the thirds repeat. Do not confuse this with one term as a percent of the other: in 2 : 3 the first is ≈ 66.6667% of the second.
- Does the order of the terms matter?
- Yes. 3 : 2 and 2 : 3 are different ratios: sharing 500 in 3 : 2 gives 300 and 200, while 2 : 3 gives 200 and 300. Keep the terms in the order of the things they describe.
- Can a term be a decimal, or can the total have decimals?
- Yes to both. A ratio like 0.25 : 0.75 : 1 simplifies to 1 : 3 : 4, and a total of 7.5 shared in 5 : 3 gives 4.6875 and 2.8125. Whole-unit sharing needs a whole-number total, and ratio terms cannot be negative.
- How is this different from the proportion calculator?
- The proportion calculator solves a : b = c : x for a missing number by cross-multiplying. This one works on a single ratio, or two when comparing: it simplifies, scales, compares, converts to fractions and percentages, and splits a total, including whole-unit splits with the leftover handled.
How it works
Every term you type is read as an exact fraction of two whole numbers (decimals become digits over a power of 10), and all arithmetic is done on those fractions, so nothing is rounded until a number is written out; a rounded number is marked with “≈”. To simplify, every term is multiplied by the least common multiple of the denominators so that all are whole numbers, then divided by their greatest common divisor, found with Euclid’s algorithm. To scale, every term is multiplied by one factor, which is either the number you give or the target value divided by the chosen term. Two ratios with the same number of terms are equal when their lowest terms are the same; for two terms the cross products are shown as well. The fraction of the whole for each term is the term divided by the sum of the terms in lowest terms, and the percentage is that fraction times 100. To split a total, it is divided by the sum of the lowest-terms ratio to get one part, and each share is its term times one part. For whole units, each share is rounded down and the leftover units, always fewer than the number of terms, are given one each to the largest fractional remainders, with ties going to the earlier term (the largest-remainder method), so the shares always add up to the total. Terms must be 0 or more and not all 0. Everything runs in your browser and nothing you type is sent anywhere.
Sources
More free tools
- Ratio & Proportion CalculatorSolve a/b = c/d for x by cross-multiplication with the steps shown, simplify a ratio like 6:9:15, or split a total in a ratio such as 120 in 2:3:5.
- Aspect Ratio CalculatorFind the aspect ratio of any width and height (1920×1080 is 16:9), resize to a ratio to solve the missing side, or get a screen’s size from its diagonal.
- Factor CalculatorList every factor of a number with its factor pairs, count and sum, and whether it is prime, perfect or abundant. Plus common factors of 2 or 3 numbers.
- TV Size and Viewing Distance CalculatorFind the TV size for your seating distance, or the best viewing distance for a TV size, using SMPTE and THX viewing angles, pixel limits and mount height.
- System of Equations CalculatorSolve 2 or 3 linear equations exactly: row-reduction steps, determinant, Cramer’s rule and a graph. Finds one, no or infinitely many solutions.
- Percent Change CalculatorPercent increase or decrease from an old to a new value, a number raised or cut by x%, the original value, percentage points, chained changes and CAGR.
More: Percent, fractions and arithmeticAll math & numbersAll toolsHome & DIY calculators