Ratio Calculator
Four ratio jobs in one place: solve a proportion, simplify, split a total, and turn a ratio into percents.
https://flxcode.com/ratio-calculator/
Solve a proportion Example
Leave one box empty and it finds that one. It also checks whether two ratios are equal if all four are filled.
D = 12, so 3:4 = 9:12.
- 3 : 4 = 9 : ?
- Cross-multiply and divide: D = 4 × 9 ÷ 3 = 12.
Simplify a ratio Example
1.5:2.5:4 simplifies to 3:5:8.
- Multiply every number by 2 to clear the decimals: 3 : 5 : 8.
- The greatest common divisor is 1, so it can't get smaller.
Share a total in a ratio Example
250 split 2:3 gives 100 and 150.
- Parts in total: 2 + 3 = 5.
- Part 1: 250 × 2 ÷ 5 = 100.
- Part 2: 250 × 3 ÷ 5 = 150.
Ratio to percent Example
3:7 is 30% and 70%.
- Whole: 3 + 7 = 10.
- 3 ÷ 10 × 100 = 30%.
- 7 ÷ 10 × 100 = 70%.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.
Problem or idea? Email us
Which row do I use?
| The question | Row |
|---|---|
| I know three of four numbers in two equal ratios | Solve a proportion |
| Make 1920:1080 smaller | Simplify a ratio |
| Divide an amount between parts | Share a total in a ratio |
| What share is each part? | Ratio to percent |
Worked examples
| Situation | Row | You type | Answer |
|---|---|---|---|
| Rice to water is 2:3. How much water for 5 cups of rice? | solve | 2 : 3 = 5 : ? | 7.5 |
| A 16:9 screen is 1280 px wide. How tall? | solve | 16 : 9 = 1280 : ? | 720 |
| Coffee 1:16 by weight. Coffee for 480 g of water? | solve | 1 : 16 = ? : 480 | 30 |
| Reduce a 1920 by 1080 image | simplify | 1920:1080 | 16 : 9 |
| Concrete mix 1:2:3. Share 12 cu ft | scale | 12 split 1:2:3 | 2 : 4 : 6 |
| Profit shared 3:2:5 on $9,000 | scale | 9000 split 3:2:5 | 2700 : 1800 : 4500 |
| A fuel mix of 1:50 as percents | percent | 1:50 | 1.96% : 98.04% |
| Is 6:8 the same as 9:12? | solve | 6 : 8 = 9 : 12 | The ratios are equal |
How a proportion works
Two ratios are equal when A ÷ B = C ÷ D. Multiply both sides by B × D and the fractions disappear: A × D = B × C. The two products on the diagonals match, which is why this is called cross-multiplying.
To find a missing term, take the diagonal that has no gap, multiply its two numbers, and divide by the number across from the gap. In 3:4 = 9:?, the diagonal without the gap is 4 and 9, the number across from the gap is 3, so the answer is 4 × 9 ÷ 3 = 12. The tool writes the multiplication with your numbers.
How to type a ratio
- 3:4, 3 to 4, 3/4 and 3 4 all mean the same.
- Up to six terms: 1:2:3:4.
- Decimals with a point or a comma: 1.5:2,5.
Common mistakes
- Mixing part-to-part and part-to-whole. 2:3 does not mean 2/3 of the whole. It means 2/5.
- Adding the same number to both sides. 2:3 plus 1 each is 3:4, a different ratio. Multiply instead.
- Changing units on one side only. Convert to the same unit first, for example grams and grams.
Numbers this uses
- Exact fractions inside, so 1.5:2.5:4 reduces to exactly 3:5:8.
- Rounding: answers show up to 4 decimals and percents 2, rounded half up.
- Limit: up to six terms and up to 40 digits per number.
Nothing you type is uploaded. We count events without cookies (details).
FAQ
What is a ratio?
A way to compare amounts. 3:4 says that for every 3 of one thing there are 4 of the other. It can be written 3:4, 3 to 4, or the fraction 3/4. Only the relationship counts, so 3:4 and 6:8 are the same ratio.
How do I solve A:B = C:D for a missing number?
Cross-multiply and divide: A × D = B × C. If D is missing, D = B × C ÷ A. For 3:4 = 9:?, D = 4 × 9 ÷ 3 = 12. Leave one of the four boxes empty and the tool finds it.
How do I simplify a ratio?
Divide every number by their greatest common divisor. 12:18 has a divisor of 6, so it becomes 2:3. For decimals, multiply by 10, 100 and so on until all are whole, then simplify. 1.5:2.5:4 becomes 3:5:8.
How do I split a total in a given ratio?
Add the parts, then give each person its part over the sum of the parts. 250 in 2:3: the parts add to 5, so 250 × 2/5 = 100 and 250 × 3/5 = 150. The third row does this for up to six parts.
How do I turn a ratio into percents?
Divide each part by the sum and multiply by 100. 3:7 is 3/10 and 7/10, which is 30% and 70%. This is the part-to-whole view. 3:7 itself is part-to-part.
What is the difference between a ratio and a fraction?
A fraction compares a part to a whole. A ratio often compares part to part. In a class of 12 boys and 18 girls the ratio of boys to girls is 2:3, but the fraction of boys is 2/5.
How do I scale a recipe?
Find the factor: new amount ÷ old amount. Multiply everything by it. To go from 2 cups of rice to 5, the factor is 2.5, so 3 cups of water become 7.5. The first row does the same in one step.
Can the numbers in a ratio be decimals or zero?
Decimals are fine. A zero is allowed as a term (5:0), but you can't divide by a zero when solving, and the tool says so. Negative numbers are not accepted, because ratios compare sizes.
More from FLXCode
Percentage CalculatorNew
Five percentage sums on one screen, live as you type. Shows the formula with your numbers.
Fraction CalculatorNew
Add, subtract, multiply and divide fractions and mixed numbers. Simplified answer with the steps in words.
Percentage Difference CalculatorNew
Percentage difference between two numbers, with a switch to percentage change and a percent error row.
Percentage Change CalculatorNew
Percent increase or decrease from an old value to a new one, plus reverse and percentage points.