Mixtures and Alligation — Ratios, Replacement and Cost Price Mixing

The alligation cross, mixing two mixtures, adding water, repeated replacement and the 'dishonest milkman' profit questions — with the one diagram that solves most of them.

ShortcutFreeQuantitative Aptitude › Mixtures and Alligation⏱ 3 min readUpdated 17 Nov 2026

Alligation is a shortcut for weighted averages. When two things with different values are mixed, the mean lands between them, and the ratio of quantities is the inverse of the distances to the mean.

Where it appears

  • IBPS / SBI PO prelims and mains: 1–2 questions every year.
  • SSC CGL / CHSL: 0–1 question, often disguised as a profit question.

The alligation rule

If a cheaper item worth c is mixed with a dearer item worth d to get a mean value m:

Cheaper : Dearer = (d − m) : (m − c)

The "value" can be price per kg, concentration %, speed, marks — anything averaged by quantity.

Standard results

SituationResult
Mix c and d to get m(d − m) : (m − c)
From x litres, remove y and replace with water, n timesPure left = x(1 − y/x)n
Milk sold at cost price after adding water, profit P%Water : milk = P : 100
Equal quantities of two mixturesAverage the fractions of each component

Worked examples

Example 1 — price mixing

Q. In what ratio must rice at ₹40/kg be mixed with rice at ₹55/kg to get a mixture worth ₹45/kg?

Solution. (55 − 45) : (45 − 40) = 10 : 5 = 2 : 1.

Example 2 — adding water

Q. 64 litres of a mixture has milk and water in the ratio 5 : 3. How much water must be added to make the ratio 5 : 4?

Solution. Milk = 40 L, water = 24 L. For 5 : 4, water must be 32 L, so add 8 litres.

Example 3 — repeated replacement

Q. A 40-litre container is full of milk. 4 litres are taken out and replaced with water. This is done twice in all. How much milk is left?

Solution. 40 × (1 − 4/40)² = 40 × 0.81 = 32.4 litres.

Example 4 — concentrations

Q. In what ratio must a 30% acid solution be mixed with a 50% acid solution to get 35%?

Solution. (50 − 35) : (35 − 30) = 15 : 5 = 3 : 1.

Example 5 — the milkman

Q. A milkman mixes water with milk and sells the mixture at the cost price of milk, making a 20% profit. What is the ratio of water to milk?

Solution. Water is pure profit: water : milk = 20 : 100 = 1 : 5.

Example 6 — two mixtures

Q. Equal quantities of two mixtures with milk : water of 3 : 2 and 1 : 4 are combined. Find the new ratio.

Solution. Milk fractions 3/5 and 1/5 average to 2/5, so milk : water = 2 : 3.

Short tricks

  • Draw the cross: c and d on top, m in the middle, differences diagonally below.
  • Replacement always uses the fraction left, (1 − y/x), raised to the number of operations.
  • If one ingredient is free (water), its value is 0 in the alligation.

Common mistakes

  • Writing the ratio the wrong way round — the cheaper item's share is the distance from the dearer value.
  • Using the alligation rule when quantities, not values, are averaged.
  • In replacement questions, subtracting the same amount of milk each time.

Practice questions

  1. Tea at ₹60/kg and ₹80/kg is mixed to get ₹70/kg. Find the ratio.
  2. From 50 L of pure milk, 5 L is replaced with water three times. How much milk is left?
  3. In 64 L of a 3 : 1 milk–water mixture, how much water must be added to make it 2 : 1?
  4. Sugar at ₹10/kg and ₹18/kg is mixed to sell at ₹15/kg without profit or loss. Ratio?
  5. A 25% and a 60% alcohol solution are mixed to get 50%. Ratio?

Answers

  1. 1 : 1.
  2. 36.45 L. 50 × 0.9³.
  3. 8 L. Milk 48, water 16; for 2 : 1, water must be 24.
  4. 3 : 5. (18 − 15) : (15 − 10).
  5. 2 : 5. (60 − 50) : (50 − 25) = 10 : 25.