Sub topic 7
Cost price, selling price, profit and loss
This chapter assumes you are comfortable with fractions, decimals and ratios, can do basic arithmetic mentally, and can solve a linear equation in one variable. It also assumes you know that a percentage is a fraction of a base, and that the base must be identified before you compute anything. Here we set up the vocabulary and the absolute (rupee) relationships. The next chapter converts them into percentages.
The four quantities
Every profit-and-loss question is built from a few quantities. Learn the names exactly, because CAT questions use them without defining them.
- Cost price (CP) is what the seller paid to acquire or make the article.
- Selling price (SP) is what the seller receives from the buyer.
- Profit is SP minus CP, when SP is greater than CP.
- Loss is CP minus SP, when CP is greater than SP.
Profit and loss are never both present in a single transaction. Exactly one of them is nonzero, or both are zero when the seller breaks even.
| Situation | Relationship | Result |
|---|---|---|
| SP > CP | Profit = SP − CP | Gain |
| SP < CP | Loss = CP − SP | Loss |
| SP = CP | No difference | Break-even |
Rearranged, the same relationships give the formulas you will use constantly:
- SP = CP + Profit
- SP = CP − Loss
- CP = SP − Profit
- CP = SP + Loss
These look trivial, but most errors in this topic come from putting a number in the wrong slot. Before you compute, write down which of the four quantities each given number represents.
The relationship as a picture
CP is the reference point. SP is either above it (profit) or below it (loss), and the gap is the profit or loss.
Worked examples with absolute amounts
Percentages come later. For now, practise the structure with plain amounts.
Example 1. A shopkeeper buys a chair for 1,800 and sells it for 2,150. Profit = 2,150 − 1,800 = 350.
Example 2. A trader sells a table for 4,600 and makes a loss of 400. Here the given number is the SP and the loss. CP = SP + Loss = 4,600 + 400 = 5,000.
Example 3. A retailer sells an item for 780 and makes a profit of 120. CP = SP − Profit = 780 − 120 = 660.
Notice that Examples 2 and 3 use opposite signs. If you are unsure, ask which direction the money moved relative to CP. A loss means the seller received less than they paid, so CP must be larger than SP.
Costs that belong in CP
Many questions add extra expenses. The rule is simple: anything the seller spends to get the article ready for sale is part of the cost price.
- Transport, loading and octroi paid on purchase are added to CP.
- Repair or overhaul costs paid before sale are added to CP.
- Commission or brokerage paid by the seller on the sale is usually treated as a deduction from the receipts, so check the wording.
Example 4. A person buys a second-hand scooter for 24,000, spends 3,000 on repairs and 1,000 on transport, and sells it for 31,000.
Effective CP = 24,000 + 3,000 + 1,000 = 28,000. Profit = 31,000 − 28,000 = 3,000.
A common mistake is to compute 31,000 − 24,000 = 7,000 and treat all of it as profit. The repairs and transport are real costs.
Total and per-unit quantities
Questions often mix a per-item price with a number of items. Keep the same logic, but compute each quantity at the same level, either total or per unit.
Example 5. A shopkeeper buys 40 pens for 600 in total and sells all of them at 18 each.
- Total CP = 600, so CP per pen = 600 ÷ 40 = 15.
- Total SP = 40 × 18 = 720.
- Total profit = 720 − 600 = 120, which is 3 per pen.
Both views agree. The total view and the per-unit view differ only by a factor of 40. Mixing them, such as subtracting 15 from 720, is a frequent slip under time pressure.
Checking with code
A small function keeps the signs straight and returns the sign of the result as well as its size. Using Fraction avoids rounding errors, which matters once the chapters move on to percentages.
from fractions import Fraction
def profit_or_loss(cp, sp, extra_costs=0):
total_cp = Fraction(cp) + Fraction(extra_costs)
diff = Fraction(sp) - total_cp
if diff > 0:
return "profit", diff
if diff < 0:
return "loss", -diff
return "break-even", Fraction(0)
print(profit_or_loss(24000, 31000, extra_costs=3000 + 1000)) # ('profit', Fraction(3000, 1))
print(profit_or_loss(5000, 4600)) # ('loss', Fraction(400, 1))
print(profit_or_loss(15 * 40, 18 * 40)) # ('profit', Fraction(120, 1))The three calls reproduce Examples 4, 2 and 5. The function takes CP and SP as inputs, so for Example 3 you would first solve for CP by hand, since CP is the unknown there.
Working backwards from profit or loss
Some questions give SP and the amount of profit or loss, and ask for CP. Others give CP and the amount, and ask for SP. The four formulas above cover both cases. The skill is choosing the right one.
- List what is given and what is asked.
- Decide whether the transaction is a profit or a loss from the wording.
- Pick the formula that isolates the unknown.
- Substitute and sanity-check the direction: profit means SP is above CP, loss means SP is below.
Example 6. A man sells a watch for 2,340 and loses 260. Loss means CP > SP, so CP = 2,340 + 260 = 2,600. Check: 2,600 is above 2,340, which is consistent with a loss.
Two transactions combined
When an article is bought and sold more than once, track each stage separately. The buyer in one transaction is the seller in the next, and the SP of the first transaction becomes the CP of the second.
Example 7. A sells an article to B at a profit of 200, and B sells it to C at a loss of 50. A bought it for 1,000. The first sale price is 1,000 + 200 = 1,200, which is B's cost. B's sale price is 1,200 − 50 = 1,150, which is what C pays. A's profit and B's loss are measured against different bases and do not cancel by simple arithmetic on percentages, which is a point the later chapters on percentage profit make precise.
Common errors
| Error | Why it fails | Fix |
|---|---|---|
| Ignoring repair or transport costs | CP is understated, so profit is overstated | Add all pre-sale costs to CP |
| Using SP − CP for a loss and reporting a negative as a positive | The sign hides which direction the money moved | Name the result as profit or loss first |
| Mixing total and per-unit values | Quantities differ by the number of items | Convert everything to one level before subtracting |
| Treating the first SP as the second CP incorrectly | The reseller's CP is what they paid, not the original CP | Chain the transactions in order |
Summary of the method
- Identify which given number is CP, SP, profit or loss.
- Build the full CP, including pre-sale expenses.
- Work at one level, total or per unit.
- Choose the formula that isolates the unknown and check its direction.
Exercise
Meera buys 25 notebooks for 1,000 in total and pays 150 for delivery. She sells 25 notebooks at 48 each. Does she make a profit or a loss, and how much in total and per notebook?
Show answer
Total CP = 1,000 + 150 = 1,150. Total SP = 25 × 48 = 1,200. SP is greater than CP, so she makes a profit of 1,200 − 1,150 = 50 in total, which is 50 ÷ 25 = 2 per notebook.
Exercise
A dealer sells a machine for 18,500 and incurs a loss of 1,500. He had spent 500 on repairs before selling. What was the original purchase price of the machine?
Show answer
Loss means total CP = SP + Loss = 18,500 + 1,500 = 20,000. Total CP includes the 500 repair cost, so the purchase price = 20,000 − 500 = 19,500.