Ratio Calculator
Choose what you want to calculate, enter your numbers, and see the formula worked out.
Simplify a ratio to lowest terms, solve a proportion for a missing value, compare two ratios, scale a ratio to a new target, or divide a total quantity into parts, all with exact math, diagrams, and step-by-step work.
Choose what you want to calculate, enter your numbers, and see the formula worked out.
A ratio is a way of comparing two or more quantities to show how large one is relative to another. It is written with a colon, such as A:B, or in words, such as "A to B." A ratio does not carry a unit of its own; it simply describes a relationship between numbers. If a fruit bowl contains 3 apples and 5 oranges, the ratio of apples to oranges is 3:5. That statement means for every 3 apples there are 5 oranges, no matter how large or small the bowl actually is.
Ratios can compare two quantities (A:B) or three or more quantities at once (A:B:C). A recipe that calls for 1 part oil, 2 parts vinegar, and 3 parts water uses a three-term ratio: 1:2:3. The order of the terms matters. The ratio 3:5 is not the same relationship as 5:3; the first describes 3 of something for every 5 of another thing, while the second reverses which quantity is larger.
Because a ratio only describes a relationship, the same ratio can apply to many different actual quantities. A ratio of 3:5 could describe 3 apples to 5 oranges, or 30 apples to 50 oranges, or 300 grams to 500 grams. All of those pairs share the exact same underlying relationship, which is why simplifying and scaling ratios are both such useful skills.
These four words often get used interchangeably, but they mean different things, and understanding the distinctions makes ratio problems much easier to set up correctly.
A ratio compares any two (or more) quantities, and those quantities can be a part compared to another part, or a part compared to a whole. Both 3:5 (a part-to-part comparison) and 3:8 (a part-to-whole comparison, since 3+5=8) are valid ratios describing the same fruit bowl.
A fraction always compares a part to a whole. Every fraction can be read as a part-to-whole ratio, but not every ratio can be written directly as a fraction without adjustment, because a part-to-part ratio is not a part-to-whole comparison. The fraction 3/8 (3 apples out of 8 total pieces of fruit) is the fractional form of the part-to-whole ratio 3:8, but it is not the same statement as the part-to-part ratio 3:5.
A rate is a special kind of ratio that compares two quantities measured in different units, such as 60 miles per hour, 8 dollars per pound, or 12 pages per hour. Because the units differ, a rate is almost always expressed with a "per" and simplified so the second term equals 1 (a unit rate), such as reducing 120 miles in 2 hours to 60 miles per hour.
A proportion is not a single ratio at all; it is a statement that two ratios are equal, such as 3:5 = 6:10. Proportions are the tool used to scale ratios up or down and to solve for an unknown quantity when two ratios must stay equivalent.
Simplifying a ratio means rewriting it in lowest terms, the same idea as reducing a fraction. To simplify A:B, find the greatest common divisor (GCD) of A and B, then divide every term of the ratio by that GCD. Consider 12:18. The GCD of 12 and 18 is 6, since 6 is the largest number that divides both evenly. Dividing each term by 6 gives 12÷6 = 2 and 18÷6 = 3, so 12:18 simplifies to 2:3. The relationship has not changed at all, only its representation; 2:3 is simply the smallest whole-number pair that expresses the exact same comparison.
The same method extends to ratios with three or more terms. For 1:2:2, the GCD of all three terms (1, 2, and 2) is already 1, so the ratio cannot be reduced any further and is already in lowest terms. For 20:40:40, the GCD of all three terms is 20, and dividing each term by 20 gives 1:2:2, the same simplified ratio.
When a ratio contains a decimal, such as 2.5:5, the calculator first scales every term by a power of 10 so all the terms become whole numbers, then reduces using the GCD as usual. Multiplying 2.5:5 by 2 gives the whole-number ratio 5:10, and the GCD of 5 and 10 is 5, so dividing each term by 5 gives the final simplified ratio 1:2.
One of the most common sources of confusion with ratios is mixing up a part-to-part comparison with a part-to-whole comparison. Suppose a classroom has 5 boys and 7 girls, for 12 students total. The part-to-part ratio of boys to girls is 5:7, comparing one group of students directly to the other group. The part-to-whole ratio of boys to all students is 5:12, comparing one group to the entire class. Both statements are true and both are ratios, but they answer different questions, and they cannot be used interchangeably.
A useful rule of thumb: if a ratio's terms would add up to represent "everything" being compared, it is easy to convert a part-to-part ratio into a part-to-whole fraction or percentage. For the 5:7 example, the whole is 5+7=12, so boys are 5/12 of the class (about 41.67%) and girls are 7/12 of the class (about 58.33%). This calculator's Simplify mode automatically shows this fraction and percentage breakdown for any two-term ratio.
A proportion states that two ratios are equal: A:B = C:D. When one of the four values is unknown, cross-multiplication finds it. The rule is A×D = B×C. Cross-multiplication works because a proportion A/B = C/D can be rewritten by multiplying both sides by B and by D, which cancels the denominators and leaves A×D = B×C.
Example: solve 3:4 = 9:x. Using cross-multiplication, 3×x = 4×9, so 3x = 36, and dividing both sides by 3 gives x = 12. Any of the four positions in a proportion can be the unknown; the same cross-multiplication rule, rearranged to isolate whichever letter is missing, always applies. If x sits in the first position, such as x:5 = 6:10, cross-multiplying gives 10x = 30, so x = 3.
For a deeper walkthrough with more worked examples of setting up and solving proportions, see this ratios and proportions lesson and examples from an independent educational resource.
To determine whether two ratios A:B and C:D are equivalent, cross-multiply the same way as solving a proportion, but compare the two products instead of solving for an unknown. If A×D equals B×C, the ratios are equivalent. If A×D is greater than B×C, the first ratio (A:B) represents a larger value than the second. If A×D is less than B×C, the second ratio (C:D) is larger.
Example: is 2:3 equivalent to 4:6? Cross-multiplying gives 2×6=12 and 3×4=12. Since both products equal 12, the ratios are equivalent (2:3 simplifies to the same lowest terms as 4:6). Now compare 3:5 and 2:3. Cross-multiplying gives 3×3=9 and 5×2=10. Since 9 is less than 10, the second ratio, 2:3, is larger. This matches the decimal check: 3:5 = 0.6, while 2:3 ≈ 0.667.
Scaling a ratio means multiplying every term by the exact same factor, which keeps the relationship between the terms identical while changing their actual size. If a paint mix uses a ratio of 2:5 (blue to white) and you need the blue portion to equal 10 units, first find the scale factor: 10÷2=5. Then multiply every term of the ratio by that same factor: 2×5=10 and 5×5=25, giving the scaled ratio 10:25. The relationship (2 parts blue for every 5 parts white) has not changed at all; only the actual quantities have grown.
Scaling is the reverse operation of simplifying. Simplifying divides every term by the same number to shrink a ratio to its smallest whole-number form; scaling multiplies every term by the same number to grow it to match a target quantity.
Dividing a quantity in a given ratio means splitting a total amount into parts that keep the exact proportions of the ratio. The method has three steps. First, add up all the parts of the ratio to find the total number of shares. Second, divide the total quantity by that sum to find the value of one share. Third, multiply the value of one share by each individual part of the ratio to get each person's or group's exact amount.
Example: divide $120 in the ratio 2:3. The parts add up to 2+3=5 total shares. One share is worth $120÷5=$24. The first part gets 2 shares, or 2×$24=$48. The second part gets 3 shares, or 3×$24=$72. As a check, $48+$72=$120, the full original amount.
This same three-step method extends directly to ratios with three parts. Dividing 100 in the ratio 1:2:2, the parts add up to 1+2+2=5 shares, one share is worth 100÷5=20, and the three parts are worth 1×20=20, 2×20=40, and 2×20=40.
Recipes: a recipe that calls for a 2:1 ratio of flour to sugar means 2 parts flour for every 1 part sugar, no matter how large the batch. If you want to make a bigger batch and use 3 cups of sugar, scale the ratio: the factor is 3÷1=3, so flour becomes 2×3=6 cups. Because both ingredients scale by the same factor, the balance of the recipe stays the same.
Maps and scale models: a map scale such as 1:100,000 is a ratio meaning 1 unit of distance on the map equals 100,000 of that same unit in the real world. A distance of 3 centimeters on such a map represents 3×100,000=300,000 centimeters, or 3,000 meters, in reality. Scale models, such as a 1:24 model car, use the exact same idea: every 1 unit on the model corresponds to 24 units on the real vehicle.
Aspect ratios: a screen or image's aspect ratio, such as 16:9 or 4:3, describes the ratio of its width to its height. A 16:9 screen that is 1920 pixels wide has a height found by solving the proportion 16:9 = 1920:x, which cross-multiplies to 16x=17280, so x=1080, the familiar 1920x1080 resolution.
Finance: ratios appear throughout personal and business finance. A debt-to-income ratio compares monthly debt payments to monthly income. An asset allocation of 70:30 (stocks to bonds) tells an investor exactly how a portfolio should be divided in the divide-a-quantity sense described above. If a $50,000 portfolio uses a 70:30 split, the shares are worth $50,000÷100=$500 each, so stocks receive 70×$500=$35,000 and bonds receive 30×$500=$15,000.
Concentrations and mixtures: a cleaning solution diluted at a ratio of 1:4 (concentrate to water) means for every 1 part concentrate, 4 parts water are added, for 5 total parts. Mixing 2 cups of concentrate calls for scaling the ratio by a factor of 2, requiring 4×2=8 cups of water.
| What You Need | Formula |
|---|---|
| Simplify a Ratio | A÷GCD(A,B) : B÷GCD(A,B) |
| Part-to-Whole Fraction | A/(A+B) and B/(A+B) |
| Part-to-Whole Percentage | [A/(A+B)]×100% |
| Solve a Proportion | A×D = B×C |
| Compare Two Ratios | A×D vs. B×C |
| Scale a Ratio | Factor = New Value ÷ Known Term |
| Divide a Quantity | Share = Total × (Part ÷ Sum of Parts) |
I need to simplify, compare, scale, or divide a quantity using a ratio, or solve a proportion for a missing value.
You are hereI need to add, subtract, multiply, or divide fractions, or convert a fraction to a decimal.
Open Calculator ›I need to find a percentage of a number, a percentage increase or decrease, or what percent one number is of another.
Open Calculator ›What is a ratio?
A comparison of two or more quantities that shows how many times one value contains or relates to another, written as A:B or A to B.
How do you simplify a ratio?
Find the greatest common divisor (GCD) of every term and divide each term by that GCD, the same way you reduce a fraction to lowest terms.
What is the difference between a ratio and a fraction?
A fraction always compares a part to a whole, while a ratio can compare a part to a part or a part to a whole. Every fraction can be read as a ratio, but not every ratio is a fraction.
What is the difference between a ratio and a rate?
A rate is a ratio that compares two quantities measured in different units, such as miles per hour, while a plain ratio typically compares quantities in the same unit.
What is a proportion?
A statement that two ratios are equal, written as A:B = C:D.
How do you solve a proportion?
Cross-multiply the two ratios (A times D equals B times C) and then divide to isolate the missing value.
How do you know if two ratios are equivalent?
Cross-multiply both ratios. If A times D equals B times C, the ratios are equivalent.
What does it mean to scale a ratio?
Scaling a ratio means multiplying every term by the same factor so the relationship between the terms stays exactly the same.
How do you divide a number in a given ratio?
Add the parts of the ratio to get the total number of shares, divide the total quantity by that sum, then multiply the result by each individual part.
What is a part-to-part ratio?
A ratio that compares one part of a group directly to another part, such as 5 boys to 7 girls.
What is a part-to-whole ratio?
A ratio that compares one part of a group to the entire group, such as 5 boys out of 12 students total.
Can a ratio have a decimal or fraction in it?
Yes, but it is usually rewritten with whole numbers by scaling every term by the same amount, such as turning 2.5:5 into 1:2.
Can a ratio have more than two terms?
Yes, a ratio can compare three or more quantities at once, such as 1:2:2, and is simplified the same way using the GCD of every term.
What does 3:4 mean?
The first quantity is 3 units for every 4 units of the second quantity.
How do you write a ratio as a percentage?
Divide each term by the sum of all the terms and multiply by 100.
Can a ratio term be zero or negative?
No, standard ratio terms must be positive numbers, since a ratio compares the relative sizes of quantities that exist.
What is cross-multiplication?
The technique of multiplying the numerator of one ratio by the denominator of the other to solve a proportion or compare two ratios.
How are ratios used in recipes?
A recipe ratio, such as 2 parts flour to 1 part sugar, can be scaled up or down to serve more or fewer people while keeping the same taste and texture.
How are ratios used in maps and scale models?
A map scale such as 1:100,000 is a ratio meaning 1 unit on the map equals 100,000 of the same unit in real life.
What is an aspect ratio?
The ratio of a screen or image's width to its height, such as 16:9.
What is the most common mistake when simplifying a ratio?
Dividing only one term by a number instead of dividing every term by the same greatest common divisor.
Is 2:3 the same ratio as 4:6?
Yes, 4:6 simplifies to 2:3, so the two ratios are equivalent.
How is this calculator different from the Fraction Calculator?
The Fraction Calculator adds, subtracts, multiplies, and divides fractions, while this Ratio Calculator focuses on simplifying, comparing, scaling, and dividing quantities using ratios and proportions.
All calculations on this page use exact fraction arithmetic rather than raw floating-point decimals: every entered value, including decimals, is first converted to an exact numerator-and-denominator pair, and every intermediate addition, multiplication, and division is carried out on those exact fractions before a decimal is produced for display. Simplifying a ratio scales any decimal terms to whole numbers using a common denominator, then reduces every term by the greatest common divisor (GCD) of all the terms at once, so a three-term ratio is always reduced using the GCD of all three values together, not pairs at a time. Solving a proportion and comparing two ratios both use cross-multiplication on the exact fractional form of each entered value, which avoids the small rounding errors that can appear when comparing raw decimals. Every ratio term is validated as a positive, finite, numeric value before any calculation runs; a blank, zero, negative, or non-numeric entry produces a clear validation message instead of an undefined or NaN result. Decimals are rounded only for on-screen display using the decimal-places control; the underlying math keeps exact values throughout.