Sub topic 8
Profit and Loss Percentage
This chapter assumes you are comfortable with fractions, decimals and ratios, can do quick mental multiplication and division, and can solve a one-variable linear equation. It also assumes you know the multiplier method from the earlier chapters. Here we apply it to profit and loss.
The core definition
Profit and loss are measured in rupees, kilograms or any other unit. Profit percentage and loss percentage are ratios. They tell you how large the gain or loss is compared with a base.
- Profit = SP − CP, when SP > CP.
- Loss = CP − SP, when CP > SP.
- Profit % = (Profit / CP) × 100.
- Loss % = (Loss / CP) × 100.
Here CP is cost price and SP is selling price. Unless a question says otherwise, profit and loss percentages are on cost price. This is the convention behind almost every CAT question. When a question deviates, it says so, for example "profit of 20% on the selling price".
Why the multiplier is the fastest tool
Selling price is cost price scaled by a multiplier:
- SP = CP × (1 + p/100) for a profit of p%.
- SP = CP × (1 − l/100) for a loss of l%.
This turns every problem into a one-line relation between two numbers and one multiplier.
| Statement | Multiplier on CP | Relation |
|---|---|---|
| Profit of 25% | 1.25 | SP = 1.25 × CP |
| Loss of 10% | 0.90 | SP = 0.9 × CP |
| Profit of 12.5% | 9/8 | SP : CP = 9 : 8 |
| Loss of 20% | 4/5 | SP : CP = 4 : 5 |
The ratio form is useful. A 12.5% profit means SP : CP = 9 : 8. If SP is 459, then CP is 459 × 8/9 = 408 without any decimals.
from fractions import Fraction
def sp_from_cp(cp, pct):
"""pct > 0 for profit, pct < 0 for loss."""
return Fraction(cp) * (1 + Fraction(pct) / 100)
def cp_from_sp(sp, pct):
return Fraction(sp) / (1 + Fraction(pct) / 100)
def profit_pct(cp, sp):
return (Fraction(sp) - Fraction(cp)) / Fraction(cp) * 100
print(sp_from_cp(800, 25)) # 1000
print(cp_from_sp(459, 12.5)) # 408
print(profit_pct(250, 200)) # -20A negative result from profit_pct means a loss. A result of -20 is a 20% loss.
Finding the cost price from the selling price
The most common slip is dividing when you should multiply, or the reverse. Remember the direction: the base is always CP, so you start from CP and multiply to reach SP. To go backwards you divide.
Suppose an article is sold for 1,320 at a 10% profit. CP × 1.1 = 1,320, so CP = 1,320 / 1.1 = 1,200. Taking 10% of 1,320 and subtracting would give 1,188, which is wrong because 10% applies to the cost price, not to the selling price.
A quick check is to compare the answer with the SP. For a profit, CP must be lower than SP. For a loss, CP must be higher than SP.
from fractions import Fraction
sp = Fraction(1320)
cp = sp / Fraction(11, 10)
print(cp) # 1200
print(sp - sp * Fraction(1, 10)) # 1188 <- the wrong shortcutProfit or loss on selling price
Occasionally a problem states the margin on SP instead of CP. Then the base changes and the multiplier changes with it.
If the profit is 20% of SP, then CP = 0.8 × SP, so SP = CP / 0.8 = 1.25 × CP. That is a 25% profit on cost. A 20% margin on SP is the same as a 25% profit on CP.
| Margin on SP | Equivalent profit on CP |
|---|---|
| 10% | 11.11% |
| 20% | 25% |
| 25% | 33.33% |
| 50% | 100% |
The general conversion is profit on CP = m / (100 − m) × 100, where m is the margin on SP.
from fractions import Fraction
def margin_on_sp_to_profit_on_cp(m):
m = Fraction(m)
return m / (100 - m) * 100
print(margin_on_sp_to_profit_on_cp(20)) # 25
print(margin_on_sp_to_profit_on_cp(50)) # 100Notice the pattern from the earlier chapter on choosing a base. The same rupee amount of profit gives a larger percentage when the base is smaller.
Working with fractions of the cost price
Many CAT questions are easier with a symbolic picture. Take CP as 100 and work with the percentage as a number of rupees. Where the CP is unknown, assume 100 to find a percentage. This works only for questions that ask for a percentage or a ratio, because those answers do not depend on the actual amount.
For a loss of 8% followed by a sale at a price 15% higher than the first selling price, assume CP = 100. First SP = 92, second SP = 92 × 1.15 = 105.8, so the final result is a 5.8% profit.
Questions that give a rupee figure, such as "the profit is 150", need the real CP. There you must scale: a profit of 5 on an assumed CP of 100 equals 150 in the real problem, so CP = 3,000.
Profit and loss in a diagram
The route through a typical problem has the same shape every time. Decide what is given, find CP or SP, and apply the multiplier.
Using the difference in two situations
A frequent pattern compares two selling prices for one article. For example: "If an article is sold for 540, there is a 10% loss. At what price would there be a 15% profit?"
- A 10% loss means 0.9 × CP = 540, so CP = 600.
- A 15% profit means SP = 1.15 × 600 = 690.
You can shortcut this with ratios. SP₁ : SP₂ = 0.9 : 1.15 = 18 : 23. So SP₂ = 540 × 23/18 = 690.
The shortcut relies on both prices being on the same CP. The ratio of two selling prices equals the ratio of their multipliers.
from fractions import Fraction
sp1 = Fraction(540)
m1, m2 = Fraction(9, 10), Fraction(115, 100)
print(sp1 * m2 / m1) # 690A second variant gives the difference. "Had it been sold for 60 more, the loss of 10% would have become a profit of 5%." The two multipliers differ by 0.15, and that corresponds to 60. So 0.15 × CP = 60 and CP = 400. The difference in percentage points, taken on the same CP, equals the difference in rupees.
Profit percentage on a total
When several articles are sold, the percentage on the total is the total profit divided by the total CP. It is not the average of the individual percentages unless the CPs are equal.
Example: one article costs 400 and is sold at a 10% profit. Another costs 600 and is sold at a 5% loss.
- Profit on the first: 40.
- Loss on the second: 30.
- Net profit: 10 on a total CP of 1,000, which is 1%.
The simple average of +10 and −5 is 2.5%, which is wrong because the base amounts differ. Weight each percentage by its CP.
from fractions import Fraction
items = [(400, 10), (600, -5)] # (cp, profit percent)
total_cp = sum(Fraction(cp) for cp, _ in items)
total_profit = sum(Fraction(cp) * Fraction(p, 100) for cp, p in items)
print(total_profit / total_cp * 100) # 1Common errors
- Using SP as the base for profit percentage when the question says nothing about it.
- Dividing by CP when you should multiply, which gives the CP in place of the SP.
- Taking the percentage of SP to find CP, as in the 1,188 mistake above.
- Averaging percentages across items with different costs.
- Treating a margin on SP as a profit on CP.
- Forgetting that a loss percentage can never exceed 100%, although a profit percentage can.
Exercises
Exercise
A shopkeeper sells a bag for 1,386 and makes a profit of 10% on the cost price. At what price should he have sold it to make a profit of 25% on the cost price?
Show answer
CP = 1,386 / 1.1 = 1,260. SP for a 25% profit = 1.25 × 1,260 = 1,575. Using ratios: 1,386 × 1.25/1.1 = 1,575.
Exercise
A trader earns a profit of 20% on the selling price of an article. What is his profit percentage on the cost price?
Show answer
Let SP = 100. Profit = 20, so CP = 80. Profit on CP = 20/80 × 100 = 25%.
Exercise
Selling an article for 720 gives a loss of 4%. If it were sold for 120 more, what would the profit or loss percentage be?
Show answer
0.96 × CP = 720, so CP = 750. New SP = 840. Profit = 90, and 90/750 × 100 = 12% profit.