Ratio Calculator – Solve Proportions
Solve ratio proportions and find missing values. If A:B = C:X, find X. This free online calculator gives you instant, accurate results without signup.
What Is a Ratio?
A ratio is a mathematical comparison of two or more quantities. It expresses how much of one thing there is compared to another. The ratio 3:4 means "for every 3 of the first quantity, there are 4 of the second." Ratios can be written three ways: as 3:4 (colon notation), 3/4 (fraction notation), or "3 to 4" (word notation). All three representations are equivalent.
Ratios are dimensionless — the units cancel when you compare quantities of the same type. The ratio of 6 apples to 4 apples is 6:4 = 3:2, regardless of whether you're counting apples, oranges, or any other unit. When comparing quantities of different types (like miles per hour), the result is a rate, a related concept.
Ratios appear in cooking (recipe proportions), finance (price-to-earnings ratios), science (concentration ratios), art and design (aspect ratios, golden ratio), engineering (gear ratios, mixing ratios), and sports (win-loss records). Mastering ratio calculations unlocks practical problem-solving across all these domains.
Simplifying Ratios
To simplify a ratio, find the greatest common divisor (GCD) of all terms and divide each term by it. This expresses the ratio in its simplest (lowest) form where the terms share no common factor other than 1.
Example: Simplify 24:36. GCD(24, 36) = 12. Divide each term: 24÷12 : 36÷12 = 2:3. The simplified ratio is 2:3.
For three-term ratios: Simplify 15:25:10. GCD(15, 25, 10) = 5. Result: 3:5:2.
For ratios with decimals or fractions, multiply all terms by a common multiplier to get integers first, then simplify. Ratio 0.4:0.6: multiply by 10 → 4:6 → divide by 2 → 2:3.
| Original Ratio | GCD | Simplified Ratio | Decimal Equivalent |
|---|---|---|---|
| 6:4 | 2 | 3:2 | 1.500 |
| 15:25 | 5 | 3:5 | 0.600 |
| 24:36 | 12 | 2:3 | 0.667 |
| 100:75 | 25 | 4:3 | 1.333 |
| 18:24:12 | 6 | 3:4:2 | — |
| 49:63 | 7 | 7:9 | 0.778 |
Solving Ratio Proportions: If A:B = C:X, Find X
A ratio proportion problem asks you to find a missing term when two ratios are equal. If A:B = C:X, then by cross-multiplication: A × X = B × C, so X = (B × C) / A.
Example: If concrete is mixed in a 1:2:4 ratio (cement:sand:gravel), and you use 15 bags of cement, how much sand and gravel do you need? For sand: 1:2 = 15:x → x = 30 bags. For gravel: 1:4 = 15:x → x = 60 bags.
Another example: A recipe calls for flour and sugar in a 5:2 ratio. You have 3.5 cups of sugar. How much flour? 5/2 = F/3.5 → F = (5 × 3.5)/2 = 8.75 cups of flour.
This type of calculation is used constantly in cooking, mixing, construction, and any situation where you need to scale a mixture while maintaining the correct proportions.
Converting Ratios to Percentages and Fractions
Ratios, percentages, fractions, and decimals all represent the same relationships in different forms. Being able to convert between them is a core math skill.
Ratio to Percentage: Divide each part by the sum of all parts, then multiply by 100. In a 3:1 ratio: total = 4 parts. Part 1 = 3/4 = 75%. Part 2 = 1/4 = 25%.
Ratio to Fraction: The ratio a:b means a/(a+b) is the fractional share of the first quantity. In a 3:5 class of boys to girls: boys = 3/8 = 37.5% of the class; girls = 5/8 = 62.5%.
Percentage to Ratio: A 60:40 split is a 3:2 ratio (divide by GCD=20). 80% success rate is a 4:1 success-to-failure ratio (80:20, simplified by 20).
| Ratio | Part 1 (%) | Part 2 (%) | As Fraction |
|---|---|---|---|
| 1:1 | 50% | 50% | 1/2 each |
| 1:3 | 25% | 75% | 1/4 and 3/4 |
| 2:3 | 40% | 60% | 2/5 and 3/5 |
| 3:4 | 42.9% | 57.1% | 3/7 and 4/7 |
| 1:4 | 20% | 80% | 1/5 and 4/5 |
| Golden (1:1.618) | 38.2% | 61.8% | Φ-related |
Real-World Ratio Applications
Cooking and Baking: Recipes specify ratios of ingredients. A 1:1:1 ratio of butter, sugar, and flour makes a basic shortbread. Scaling up or down while keeping the ratio constant ensures consistent flavor and texture. "Ratio" by Michael Ruhlman popularized the idea of cooking by ratios rather than precise measurements.
Finance Ratios: The Price-to-Earnings (P/E) ratio = stock price / earnings per share. A P/E of 20:1 means investors pay $20 for each $1 of earnings. The debt-to-equity ratio measures financial leverage. The current ratio (current assets : current liabilities) measures liquidity. Financial analysts use dozens of ratios to evaluate companies.
Photography and Screens: Aspect ratios define image proportions. 16:9 (widescreen HD/4K), 4:3 (traditional TV/monitors), 3:2 (DSLR cameras), 1:1 (Instagram square). The 16:9 ratio means the width is 16/9 ≈ 1.78 times the height. Crop an image incorrectly and you change the aspect ratio, causing distortion.
Maps and Scale: A 1:25,000 map means 1 cm on the map = 25,000 cm = 250 m in reality. A 1:1,000,000 scale map compresses real distances by a million times. To find real distance from map distance: multiply by the scale factor. This is a direct application of ratios and proportions.
Mixing and Construction: Concrete is typically mixed in a 1:2:3 ratio (cement:sand:gravel) for general purposes, or 1:2:4 for lighter loads. Paint mixing follows precise ratios for color consistency. Epoxy adhesives come in specific mixing ratios (often 1:1 or 2:1 by volume). Using wrong ratios results in incorrect color, weak concrete, or uncured epoxy.
The Golden Ratio
The golden ratio φ (phi) ≈ 1.6180339887 is one of the most fascinating numbers in mathematics. It is defined as the ratio where a:b = (a+b):a — the ratio of the whole to the larger part equals the ratio of the larger part to the smaller. Algebraically: φ = (1 + √5)/2 ≈ 1.618.
The golden ratio appears in art and architecture: the Parthenon in Athens, Leonardo da Vinci's works, and many Renaissance paintings exhibit golden ratio proportions (though the extent is debated by historians). It appears naturally in Fibonacci spirals found in sunflower seeds, nautilus shells, and galaxy spiral arms.
The Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...) converges to the golden ratio: as you go further in the sequence, consecutive Fibonacci numbers' ratio approaches φ. F(10)/F(9) = 55/34 ≈ 1.6176 ≈ φ. This connection between a simple integer sequence and an irrational number is one of mathematics' most beautiful surprises.
Ratio Problems in Competitive Math and Exams
Ratio problems are ubiquitous on standardized tests (SAT, GRE, GMAT, ACT) and competitive math competitions. Common problem types include:
Sharing in a ratio: "Divide $240 among three people in the ratio 3:4:5. How much does each person get?" Total parts = 12. Each part = $240/12 = $20. Person A: 3×$20 = $60. Person B: 4×$20 = $80. Person C: 5×$20 = $100. Check: $60+$80+$100 = $240. ✓
Changing ratios: "The ratio of men to women at a party is 3:5. If 10 more men join, the ratio becomes 4:5. How many women are at the party?" Let men = 3x, women = 5x. After: (3x+10)/(5x) = 4/5 → 5(3x+10) = 4(5x) → 15x+50 = 20x → x = 10. Women = 5×10 = 50.
Mixture ratios: "A 40-liter solution has milk and water in ratio 3:1. How much water should be added to make the ratio 3:2?" Milk = 30L, water = 10L. New ratio: 30:(10+w) = 3:2 → 60 = 30+3w → 3w = 30 → w = 10 liters.
Frequently Asked Questions
How do I convert a ratio to a percentage?
Divide the part by the total of all parts, then multiply by 100. In a 3:2 ratio: total = 5 parts. First part = 3/5 × 100 = 60%. Second part = 2/5 × 100 = 40%. For a three-part ratio 2:3:5: total = 10. Parts are 20%, 30%, 50% respectively.
What is the golden ratio?
The golden ratio φ = (1+√5)/2 ≈ 1.618. It is defined as the ratio a:b where a/b = (a+b)/a. It appears in the Fibonacci sequence, nature's spiral patterns, and has been used in art and architecture. Whether it has special aesthetic properties is debated, but its mathematical beauty is undeniable.
How do I compare two ratios?
Convert both to decimals. 3:4 = 0.75 and 5:6 = 0.833. The second ratio is larger. Alternatively, find a common denominator and compare numerators: 3/4 vs 5/6 → 9/12 vs 10/12. The second is larger (10 > 9).
How do I simplify a ratio with decimals?
Multiply all terms by a power of 10 to eliminate decimals. Ratio 0.5:1.5: multiply by 2 → 1:3. Ratio 1.2:3.6: multiply by 5 → 6:18 → divide by 6 → 1:3. Or multiply by 10 → 12:36 → divide by 12 → 1:3.
Can ratios have more than two terms?
Yes. A concrete mix of 1:2:4 (cement:sand:gravel) is a three-term ratio. The simplification process is the same: find the GCD of all terms and divide. Example: 6:12:18 → GCD = 6 → 1:2:3. Three-term ratios are common in chemistry, cooking, and mixing applications.
What is the difference between a ratio and a rate?
A ratio compares quantities of the same unit (boys to girls, apples to oranges by count). A rate compares quantities of different units (miles per hour, price per kilogram). Speed is a rate (distance/time), not a ratio. Both use the same calculation method (division), but rates have units while ratios are dimensionless.
How do I divide a quantity in a given ratio?
Sum the ratio terms to find total parts. Divide the quantity by total parts to find the value of each part. Multiply each ratio term by the part value. Example: Divide 200 in ratio 3:7. Total parts = 10. Each part = 200/10 = 20. Parts: 3×20=60 and 7×20=140. Check: 60+140=200. ✓
What does a P/E ratio of 20 mean?
A Price-to-Earnings ratio of 20 means investors pay $20 for every $1 of annual earnings. Equivalently, it takes 20 years of earnings to recoup the investment (assuming earnings stay constant). A lower P/E suggests a cheaper stock relative to earnings; a higher P/E suggests growth expectations or overvaluation.
How are aspect ratios used in displays?
Aspect ratio is the ratio of width to height. 16:9 (widescreen) means width = 16/9 ≈ 1.78× the height. A 1920×1080 screen: 1920/1080 = 16/9. ✓ 4:3 (older standard): 640×480, 800×600. 21:9 (ultrawide): 2560×1080. Cropping or stretching to a different aspect ratio distorts the image.
What is a unit ratio?
A unit ratio has 1 as one of its terms: 1:3, 5:1, 1:2.5. It clearly shows "for every 1 unit of A, there are X units of B" (or vice versa). Unit ratios are the clearest form for comparison. A speed of 60 mph can be written as the unit ratio 60 miles : 1 hour. Per-unit prices ($/kg, $/liter) are unit ratios.
Ratios in Nutrition and Food Science
Food science relies heavily on ratio-based formulations. In baking, ratios describe the fundamental structure of recipes independent of quantity. Classic baker's percentages express all ingredients as a ratio relative to flour: a basic bread formula is 100% flour, 65% water, 2% salt, 1% yeast. These percentages let bakers instantly understand a recipe's hydration level and scale it to any batch size.
Macronutrient ratios are central to sports nutrition and specialized diets. The ketogenic diet targets a ratio of approximately 70–80% fat, 15–25% protein, and 5–10% carbohydrates by caloric intake. Athletes often target protein ratios of 1.6–2.2 g per kg of body weight. These ratio-based guidelines let individuals customize intake to their body weight and goals.
Coffee brewing relies on ratios for consistent extraction. The Specialty Coffee Association recommends a coffee-to-water ratio of 1:15 to 1:18 (by weight) for most brew methods. A pour-over using 25g of coffee with 400g of water uses a 1:16 ratio. Espresso uses approximately 1:2 to 1:3 (a "double shot" is 18g in, 36g out — a 1:2 brew ratio). Understanding these ratios lets coffee enthusiasts dial in their preferred taste profile systematically.
Financial Ratios: Analyzing Companies
Financial analysis uses dozens of ratios to evaluate a company's health, efficiency, and value. These ratios transform raw financial statement numbers into comparable metrics that work across companies of different sizes.
| Financial Ratio | Formula | What It Measures | Benchmark |
|---|---|---|---|
| P/E (Price-to-Earnings) | Stock Price / EPS | Valuation relative to earnings | Industry-dependent; S&P 500 avg ~20-25x |
| Current Ratio | Current Assets / Current Liabilities | Short-term liquidity | >1.5 generally healthy |
| Debt-to-Equity | Total Debt / Shareholders' Equity | Financial leverage | Below 2.0 for most industries |
| Gross Margin | (Revenue − COGS) / Revenue | Pricing power | Varies widely by industry |
| Return on Equity | Net Income / Shareholders' Equity | Profitability efficiency | >15% considered strong |
| Asset Turnover | Revenue / Total Assets | Asset utilization efficiency | Higher is better |
Warren Buffett famously focuses on a few key ratios: high and consistent Return on Equity (ROE), low debt-to-equity, and reasonable P/E relative to earnings growth (the PEG ratio = P/E ÷ earnings growth rate; below 1.0 suggests undervaluation). Ratio analysis is the starting point for fundamental investment research.
Ratios in Music, Art, and Architecture
Ratios govern aesthetic harmony in music and art. In music, the fundamental intervals are defined by frequency ratios: an octave is a 2:1 ratio (double the frequency), a perfect fifth is 3:2, a perfect fourth is 4:3, a major third is 5:4. These simple integer ratios produce the consonant sounds that form the basis of Western music theory — a relationship discovered by Pythagoras studying vibrating strings.
Equal temperament (the tuning system used by modern pianos) approximates these pure ratios with irrational numbers (the twelfth root of 2 ≈ 1.0595 per semitone), enabling transposition to any key. The slight deviation from perfect ratios is imperceptible to most listeners but makes all 12 major keys equally playable — a practical compromise between mathematical purity and musical flexibility.
In architecture, the ancient Greeks used ratios to achieve visual harmony. The Parthenon's facade proportions closely approximate the golden ratio (1:1.618) in multiple relationships. Le Corbusier's Modulor system defined architectural proportions based on the golden ratio and the human body. Japanese architecture uses the ken unit (approximately 1.82m), with tatami mat dimensions in a 2:1 ratio that tiles harmoniously to fill rectangular rooms.
Solving Multi-Step Ratio Problems
Complex ratio problems often involve multiple ratios working together. The key skill is maintaining consistent reference units across all calculations.
Three-way ratio problem: In a factory, machines A, B, and C produce output in ratio 4:6:5. Machine A produces 120 units per day. Find total daily production. One "part" for A = 120÷4 = 30 units. Total = 30×(4+6+5) = 30×15 = 450 units/day. Machine B: 6×30 = 180. Machine C: 5×30 = 150.
Ratio chain problem: A:B = 3:4 and B:C = 5:7. Find A:B:C. The B values must match: A:B = 15:20 and B:C = 20:28. So A:B:C = 15:20:28. This technique — finding the LCM of the shared term — is essential for multi-ratio chain problems on exams.
Inverse ratio for work problems: Workers A and B can complete a job in 6 and 8 days respectively. Working together, their rates add: 1/6 + 1/8 = 4/24 + 3/24 = 7/24 per day. Days together = 24/7 ≈ 3.43 days. The ratio of their contributions after 24/7 days: A does (24/7)×(1/6) = 4/7 of the work; B does 3/7. Their work ratio is 4:3 — the inverse of their time ratios (6:8 = 3:4, inverse = 4:3). ✓
Using This Ratio Calculator
Enter values for A, B, and C to solve for D in the proportion A:B = C:D. The calculator applies cross-multiplication to find D = (B×C)/A. Results include the simplified ratio form and decimal equivalent. Use the ratio to scale up or down any proportional relationship — the same tool handles cooking scaling, map distance calculation, similar triangle side finding, and financial ratio problems. Enter decimal values directly for non-integer ratios. The calculator handles any positive real number inputs, returning results to four decimal places for precision. Verify by checking that A/B = C/D after rounding.