In short
A ratio compares two quantities, such as 15 to 27. To simplify it, divide both numbers by their greatest common factor, which gives 5 : 9. If the ratio has decimals, first multiply both by the same power of 10 to make them whole. To scale a ratio, set up a proportion A : B = C : D and cross-multiply: D = B × C ÷ A.
How it works
A ratio A : B can also be written as the fraction A/B, so simplifying a ratio works exactly like reducing a fraction. Find the greatest common factor of A and B and divide both by it.
A : B = (A ÷ g) : (B ÷ g), g = GCF(A, B)
With decimals, OpenStax Prealgebra moves the decimal point the same number of places in both numbers. 4.8 : 11.2 becomes 48 : 112, and the GCF of 48 and 112 is 16, so the ratio is 3 : 7. Mixed numbers work the same way once they are written as decimals.
A proportion says two ratios are equal. Its cross products are equal too, which gives the missing value directly.
A : B = C : D ⇔ A × D = B × C ⇒ D = B × C ÷ A
Worked examples
Simplifying 15 : 27
15 = 3 × 5 and 27 = 3 × 9, so their greatest common factor is 3. Dividing both by 3 gives 5 : 9, as in OpenStax’s Example 5.58. No whole number above 1 divides both 5 and 9, so this is the simplest form.
A ratio with decimals: 4.8 to 11.2
Multiply both by 10 to get 48 : 112. Their GCF is 16, and 48 ÷ 16 = 3, 112 ÷ 16 = 7, so the ratio is 3 : 7. Converting to decimals first and dividing (0.4286) gives the same comparison but hides the simple whole-number form.
Scaling a dose by body weight
A label gives 5 ml for every 25 pounds. For an 80-pound child, set 25 : 5 = 80 : D. Cross multiplying gives 25 × D = 5 × 80 = 400, so D = 16 ml, matching OpenStax’s Example 6.45. Always follow the dosing table on the package or a pharmacist’s advice for real medicines.
Using this calculator well
- Keep the order. 3 : 5 and 5 : 3 are different ratios. Write the quantities in the order the question names them, and keep the same order on both sides of a proportion.
- Use the same units. Before comparing 1 inch to 1 foot, convert: it is 1 : 12, not 1 : 1. A ratio of quantities in different units is a rate, like miles per hour.
- Recipes and mixtures scale linearly. To make 3 batches instead of 2, every ingredient scales by the same 3 : 2. Cooking times and pan sizes do not, so adjust those by eye.
- Ratios with three parts. For a 2 : 3 : 5 mix, simplify or scale each part by the same factor. Solve one pair at a time if you need a missing amount.
Frequently asked questions
How do you simplify a ratio?
Divide both numbers by their greatest common factor. For 24 : 36 the GCF is 12, so the ratio is 2 : 3. If you can’t see the GCF, divide by any common factor and repeat until the numbers share none: 24 : 36 → 12 : 18 → 2 : 3.
How do I find the missing number in a ratio?
Write the two ratios as equal, A : B = C : D, and cross-multiply so that A × D = B × C. Then divide by A. If 3 cups of flour need 2 eggs, then 9 cups need 2 × 9 ÷ 3 = 6 eggs.
How do you simplify a ratio with decimals?
Multiply both numbers by 10, 100 or 1,000 until both are whole, then simplify as usual. For 2.7 : 0.54, multiply by 100 to get 270 : 54. The GCF is 54, so the ratio is 5 : 1.
What is the difference between a ratio and a fraction?
A fraction compares a part with the whole: 3 of 8 slices is 3/8 of the pizza. A ratio can compare any two quantities, including two parts: 3 eaten to 5 left is 3 : 5. A ratio can be written as a fraction, but it does not have to describe part of a whole.
How do I write a ratio as 1 : n?
Divide both numbers by the first one. 4 : 10 becomes 1 : 2.5. Map scales use this form: 1 : 50,000 means one unit on the map is 50,000 of the same unit on the ground. The calculator shows this form under the main result.
Sources and methodology
- Prealgebra 2e, 5.6 Ratios and Rate, OpenStax, Rice University, Examples 5.58–5.59: 15 to 27 = 5/9, 45 to 18 = 5/2, 4.8 to 11.2 = 3/7, 2.7 to 0.54 = 5/1 (accessed November 24, 2026)
- Prealgebra 2e, 6.5 Solve Proportions and their Applications, OpenStax, Rice University, Example 6.42: x/63 = 4/7 gives 36; Example 6.45: 5 ml per 25 lb gives 16 ml for 80 lb; Example 6.47: $325 at 12.54 pesos gives 4,075.5 (accessed November 24, 2026)
Rounding: Simplifying is exact. A missing value is computed in double precision and shown to at most 10 decimal places.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/ratio" title="Ratio Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>