General calculator
Ratio Calculator
Free online ratio calculator. Solve for missing values in proportions (A:B = C:D), simplify ratios, and compare two ratios. Step-by-step solver.
Introduction
A ratio compares the relative sizes of two or more values. Our Ratio Calculator is a versatile, free online tool that solves proportions (finding a missing value in the equation A : B = C : D) and simplifies ratios into their lowest terms. Whether you are cooking, resizing pictures, mixing paint, or completing math homework, understanding and solving ratios has never been easier.
How to Use
To solve a proportion A : B = C : D, enter three of the four values and leave the value you want to solve for blank. Make sure to enter numeric values. Click "Calculate" to solve for the missing variable. To simplify a ratio, enter values for A and B, leaving C and D blank. The tool will calculate the simplified form (e.g. 8:12 simplifies to 2:3) and display equivalent proportions.
Formula
Ratios in a proportion satisfy the cross-multiplication equation: A × D = B × C. If one value is unknown, we solve for it using: A = (B × C) / D; B = (A × D) / C; C = (A × D) / B; D = (B × C) / A. To simplify a ratio A : B, both values are divided by their Greatest Common Divisor (GCD).
Examples
Example 1: Solve 3 : 4 = C : 12. Using the formula: C = (A × D) / B = (3 × 12) / 4 = 36 / 4 = 9. So C = 9. Example 2: Simplify ratio 24 : 36. The Greatest Common Divisor of 24 and 36 is 12. Dividing both by 12 yields 2 : 3.
Results Explained
The calculator outputs the solved value for the missing variable (A, B, C, or D), the fully simplified ratio, and a descriptive sentence outlining the equivalence or simplification result.
Related Calculators
What is a Ratio?
A ratio is a mathematical expression that compares the quantity, amount, or size of two or more entities. Ratios can be expressed in several formats: with a colon (A : B), as a fraction (A / B), or in words ("A to B"). Ratios describe relationships like "for every 2 cups of flour, use 1 cup of sugar" (a ratio of 2 : 1).
Ratios can represent two types of comparisons:
- Part-to-Part: Compares one distinct group to another. For example, in a room with 15 women and 10 men, the part-to-part ratio of women to men is 15 : 10, which simplifies to 3 : 2.
- Part-to-Whole: Compares one group to the total population. In the same room, the ratio of women to the total number of people is 15 : 25, which simplifies to 3 : 5 (or 60%).
Understanding Proportions
A proportion is an equation stating that two ratios are equal. It is written as A : B = C : D or A/B = C/D. Proportions are widely used in scale drawings, map reading, currency exchange, and cooking. The fundamental rule of proportions is that the product of the outer terms (the extremes, A and D) equals the product of the inner terms (the means, B and C). This is called the cross-product property:
A × D = B × C
This property allows us to easily solve for any single missing variable when the other three values are known.
Ratios in Everyday Life
We encounter ratios and proportions constantly in modern life, often without realizing it:
- Aspect Ratios: Televisions, computer screens, and mobile phones are designed with specific aspect ratios. The classic high-definition screen has a 16:9 aspect ratio, meaning that for every 16 units of width, there are 9 units of height.
- Scale Models and Maps: Toy cars, architectural models, and physical maps use scale ratios (like 1:64 or 1:100,000) so that all dimensions remain proportionate to the real-world object.
- Culinary Recipes: Bakers rely on baker's percentages and ingredient ratios to scale recipes up or down without affecting the texture and flavor of the food.
- Financial Analysis: Investors analyze companies using financial ratios such as the Price-to-Earnings (P/E) ratio, Debt-to-Equity ratio, and Current Ratio to evaluate financial health.
Three Detailed Worked Examples
Example 1: Solving for a Missing Value (Recipe Scaling)
A recipe calls for 2 cups of sugar (A) to 5 cups of flour (B). You want to make a larger batch using 15 cups of flour (D). How much sugar (C) do you need?
1. Set up the proportion: 2 : 5 = C : 15.
2. Identify knowns: A = 2, B = 5, D = 15.
3. Use formula for C: C = (A × D) / B.
4. Calculate: C = (2 × 15) / 5 = 30 / 5 = 6.
You need 6 cups of sugar.
Example 2: Resizing an Image (Aspect Ratio)
You have a photo with width 1920 (A) and height 1080 (B). You want to resize the photo so its width is 800 (C) while maintaining the aspect ratio. What should the new height (D) be?
1. Set up the proportion: 1920 : 1080 = 800 : D.
2. Identify knowns: A = 1920, B = 1080, C = 800.
3. Use formula for D: D = (B × C) / A.
4. Calculate: D = (1080 × 800) / 1920 = 864,000 / 1920 = 450.
The new height should be 450 pixels.
Example 3: Currency Conversion
If $1 USD exchanges for 0.92 Euros (EUR), how many Euros will you get for $250 USD?
1. Set up the proportion: 1 (A) : 0.92 (B) = 250 (C) : D.
2. Identify knowns: A = 1, B = 0.92, C = 250.
3. Use formula for D: D = (B × C) / A.
4. Calculate: D = (0.92 × 250) / 1 = 230.
You will receive 230 Euros.
Frequently Asked Questions
What is a ratio?
A ratio is a comparison of two or more numbers showing their relative sizes. It indicates how many times one number contains another.
What does a ratio of 1:1 mean?
A ratio of 1:1 means that the two quantities being compared are equal in size or amount.
How do you simplify a ratio?
Divide both numbers in the ratio by their Greatest Common Divisor (GCD). For example, 10:15 simplifies to 2:3 by dividing both by 5.
What is a proportion?
A proportion is a mathematical statement that two ratios are equal (e.g. A:B = C:D).
How do you solve a proportion?
Use cross-multiplication. Multiply the diagonals and divide by the remaining number to find the unknown variable.
What is the Golden Ratio?
The Golden Ratio is a special mathematical constant approximately equal to 1.618. It is frequently found in nature, art, and architecture, and is considered visually aesthetic.
What is an aspect ratio?
An aspect ratio is the ratio of the width to the height of an image or screen. Common aspect ratios include 16:9 for widescreen video and 4:3 for older TVs.
Can ratios have decimals?
Yes, ratios can contain decimal numbers, but they are typically converted into whole numbers for simplicity (e.g., 1.5 : 2 is equivalent to 3 : 4).
What is a part-to-part ratio?
A part-to-part ratio compares two separate categories or groups (e.g., 3 boys to 4 girls).
What is a part-to-whole ratio?
A part-to-whole ratio compares one category to the total count (e.g., 3 boys to 7 total students).
How do you write a ratio as a percentage?
Convert the ratio into a fraction (part over whole), divide the numerator by the denominator, and multiply by 100.
What is a scale factor?
A scale factor is the ratio of the length of a side of a model or drawing to the corresponding length of the actual object.
Can a ratio have a zero in it?
A ratio can have a zero as a numerator, but a denominator of zero is undefined (you cannot compare something to zero parts).
How do you compare two ratios?
Convert both ratios into decimals or fractions with a common denominator. The ratio with the larger decimal or numerator is the larger ratio.
What is a unit rate?
A unit rate is a ratio where the second term (denominator) is equal to 1, such as miles per hour or price per pound.