- Home
- Interview Questions
- Aptitude
- How do you use the rule of alligation to find the ratio for …
Try answering first
In a real interview nobody shows you the answer. Think it through (or type it), then reveal the answers and rate yourself.
1 Answer
Short answer: Write the cheaper price, the dearer price and the mean (target) price, then take the differences crosswise. Quantity of cheaper : quantity of dearer = (dearer price − mean price) : (mean price − cheaper price).
Detailed explanation
Alligation is a shortcut for weighted averages. You mix two ingredients with different values, such as price per kg, concentration or speed. The mixture's value, the mean, always lies between the two. The rule tells you the ratio in which to mix them.
Why it works: say you mix a units at price c (cheaper) with b units at price d (dearer), and the mean price is m. Total cost must stay the same, so:
a*c + b*d = (a + b)*m
a*(m - c) = b*(d - m)
a / b = (d - m) / (m - c)The cheaper item's share depends on how far the dearer price is from the mean, and the other way round. This crossing over is why the method is drawn as a cross.
Standard layout used in exams:
Cheaper (c) Dearer (d)
\ /
Mean (m)
/ \
(d - m) (m - c)
Ratio Cheaper : Dearer = (d - m) : (m - c)Where it applies:
- Prices per unit of two grades of rice, tea, sugar or oil.
- Concentrations, such as percentage of milk, acid or alcohol in solutions.
- Average marks of two sections, average salaries of two groups, or average speeds when time is the common base.
- Profit or loss percentages when two parts of a stock are sold at different rates.
The key condition: the values must be per unit of the same quantity you are finding the ratio of. Price per kg gives a ratio of kg. Percentage by volume gives a ratio of volumes.
Example
Question: In what ratio must a grocer mix rice costing Rs 40/kg with rice costing Rs 55/kg so that selling the mixture at Rs 54/kg gives a 20% profit?
Step 1: Find the mean cost price. The selling price includes profit, so remove it first.
Cost price of mixture = 54 / 1.20 = Rs 45 per kgStep 2: Apply alligation.
40 55
\ /
45
/ \
55 - 45 = 10 45 - 40 = 5
Cheaper : Dearer = 10 : 5 = 2 : 1Step 3: Verify. 2 kg at Rs 40 = Rs 80, and 1 kg at Rs 55 = Rs 55. Total Rs 135 for 3 kg gives Rs 45/kg. Selling at Rs 54 is 20% above Rs 45. Correct.
If the question adds "how much Rs 55 rice is needed with 30 kg of Rs 40 rice?", use the ratio: 2 parts = 30 kg, so 1 part = 15 kg.
Common mistakes
- Using the selling price as the mean. If profit or loss is given, convert to cost price first. Using Rs 54 directly gives a wrong ratio of 1:14.
- Swapping the differences. The difference written under the dearer item belongs to the cheaper item. Candidates often write (m − c) : (d − m) for cheaper : dearer, which reverses the answer.
- Mixing bases. If one concentration is by weight and another by volume, or the averages are per different units, the rule gives nonsense. Convert to a common base first.
- Applying it when the mean lies outside the range. If the target is not between the two values, no mixture is possible. That should be your answer, not a negative ratio.
Follow-up questions
- How would you mix three varieties of different prices to get a given mean price?
- A part of a stock is sold at 10% profit and the rest at 5% loss, with 4% overall profit. In what ratio were the parts sold?
- Can alligation be used to find average speed? When does it need time, not distance, as the base?
Interview tip: Always say the one-line verification out loud (total cost before equals total cost after). It shows the interviewer you understand the weighted-average logic, not just the cross diagram.
Reviewed by the Interview Questions editorial team · Last updated
How well did you know this?
Rate yourself to track progress, build your streak and get “didn't know” questions in your revision list.
Your Answer
More easy Aptitude questions
- If the price of a commodity rises by 25%, by what percent must consumption fall to keep expenditure unchanged? · 1 ans
- How do you solve 'pointing to a photograph' blood relation questions without getting confused? · 1 ans
- How do you solve coding-decoding questions where letters shift by fixed or varying positions? · 1 ans
Related Questions
- How do you calculate successive percentage changes and work backwards to find the original value? · Aptitude · 1 ans
- If the price of a commodity rises by 25%, by what percent must consumption fall to keep expenditure unchanged? · Aptitude · 1 ans
- How do you calculate the liquid left after repeatedly removing some and replacing it with water? · Aptitude · 1 ans
- How do you solve coding-decoding questions where letters shift by fixed or varying positions? · Aptitude · 1 ans
- How do you decode sentence-based codes where several words share common code words? · Aptitude · 1 ans
- How do you pick the best synonym when two or more options seem correct? · Aptitude · 1 ans
- How do you solve 'pointing to a photograph' blood relation questions without getting confused? · Aptitude · 1 ans
- How do you solve coded blood relation questions where symbols stand for family relations? · Aptitude · 1 ans
🙋 Was this asked in your interview?
Which company? (optional — adds this question to the company's page)