GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
AptitudeQuantitative aptitude · Arithmetic

Profit and Loss

Cost, selling and marked price, discounts and successive discounts, and the standard trader puzzles, all handled by knowing which price each percentage is taken on.

5 min read 45 questions
Practice questions
CPSP

On this page

1/9
  1. 011. The prices in a sale
  2. 022. Formulas
  3. 033. Profit and loss per cent
  4. 044. Marked price and discount
  5. 055. Standard question types
  6. 066. Shortcuts
  7. 077. Common traps
  8. 088. Revision sheet
  9. 09Practice
Back to top

1. The prices in a sale

Every question in this chapter is about a few prices attached to one article. The cost price (CP) is what the seller paid, including transport, repairs and any other expense of getting the article ready. The selling price (SP) is what the buyer actually pays. The marked price (MP), also called list price or MRP, is the price printed on the tag. A discount is a cut from the marked price.

Cost price₹800mark-up 25%Marked price₹1,000discount 10%Selling price₹900
Mark-up is counted on the cost; discount is counted on the marked price. Profit here = ₹900 − ₹800 = ₹100, which is 12.5% of the cost.

If SP is more than CP the seller makes a profit (gain); if less, a loss. Tests like this topic because it checks one skill repeatedly: knowing which price each percentage is taken on.

2. Formulas

QuantityFormula
ProfitSP − CP
LossCP − SP
Profit % (or loss %)profit (or loss) ÷ CP × 100
SP at a profit of p%CP × (100 + p)/100
SP at a loss of p%CP × (100 − p)/100
CP from SP at a profit of p%SP × 100/(100 + p)
DiscountMP − SP
Discount %discount ÷ MP × 100
SP after a discount of d%MP × (100 − d)/100
Two discounts a% and b%single discount = a + b − ab/100
Mark-up m%, discount d%net % = m − d − md/100

Profit %, loss % and mark-up % use the cost price as 100%. Discount % uses the marked price as 100%.

3. Profit and loss per cent

Think in multiplying factors. A 15% profit means SP = 1.15 × CP; a 12% loss means SP = 0.88 × CP. Going forward you multiply; going back you divide.

Worked example. A fan is sold for ₹1,380 at a profit of 15%. Then ₹1,380 is 115% of the cost, so CP = 1,380 ÷ 1.15 = ₹1,200. Taking 15% off ₹1,380 gives ₹1,173, which is wrong: 15% of the selling price is more than 15% of the cost.

Changing the selling price. If an article sold at a 10% loss should have been sold at a 20% gain, the new SP is the old SP × 120/90. And if raising the SP by ₹D moves the result from a 10% loss to a 20% gain, then ₹D is 30% of the cost, so CP = D × 100/30.

4. Marked price and discount

A shopkeeper who wants room to offer discounts first marks the price up. In the picture above, cost ₹800 is marked up 25% to ₹1,000, and a 10% discount brings the bill to ₹900: a profit of 12.5%, not 25 − 10 = 15%, because the 10% is taken on the larger marked price.

MRP ₹5,00020% OFF+ extra 10% OFF at billingYou pay ₹3,600
Successive discounts: the second discount is taken on the already reduced price.

Successive discounts never add. 20% off followed by 10% off leaves 0.8 × 0.9 = 0.72 of the price, a single discount of 28%, not 30%. On ₹5,000 the buyer pays ₹3,600, where a flat 30% would have meant ₹3,500.

Target profit after discount. To earn 20% after giving 20% off, let CP = 100. The SP must be 120 and it is 80% of the MP, so MP = 120 ÷ 0.8 = 150: mark up by 50%.

5. Standard question types

Cost of x articles = selling price of y articles

If the cost of 20 pens equals the selling price of 16 pens, the same money buys 20 and is recovered by selling only 16; the other 4 are profit. Profit % = (20 − 16)/16 × 100 = 25%. If y is bigger than x it is a loss of (y − x)/y × 100.

Cost price of 20 pensSelling price of 16 pens
The two bars are the same amount of money. Each selling-price piece is wider: a pen sells for more than it costs.

Two articles sold at the same price, one at x% gain and one at x% loss

Two phones are sold at ₹4,800 each, one at 20% profit and one at 20% loss. Costs are 4,800 ÷ 1.2 = ₹4,000 and 4,800 ÷ 0.8 = ₹6,000: total cost ₹10,000 against sales of ₹9,600. There is always a loss of x²/100 per cent (here 4%).

False weights

A dealer "sells at cost" but gives 800 g for every kilogram charged. He collects the price of 1000 g for goods that cost him 800 g worth: gain = 200/800 × 100 = 25%. The base is the true weight he gives, not 1000.

Customer pays for1000 gCustomer gets800 g
Gain % = (weight charged − weight given) ÷ weight given × 100.

Goods changing hands

If A sells to B at 20% profit and B sells to C at 25% profit, C pays 1.2 × 1.25 = 1.5 times A's cost. To find A's cost from C's price, divide by each factor in turn.

6. Shortcuts

  • Use 100 as the cost when no rupee value is given; the final number minus 100 is the profit or loss per cent.
  • Fractions. 25% profit means SP = 5/4 of CP, so CP = 4/5 of SP. 12.5% loss means SP = 7/8 of CP.
  • New SP from old SP: multiply by (100 ± new %)/(100 ± old %). No need to find the cost.
  • A gap in selling price equals a gap in per cent: if two selling prices differ by ₹D and the results differ by k percentage points of cost, CP = D × 100/k.
  • Mark-up m%, discount d%: net = m − d − md/100. With m = d the result is always a loss.
  • Parts of stock: weight each percentage by its share of the cost, then add.

7. Common traps

  • Calculating profit per cent on the selling price instead of the cost price.
  • Finding the cost by taking the profit per cent off the selling price.
  • Adding successive discounts, or subtracting discount % from mark-up %.
  • Forgetting overheads (transport, repairs) or wastage: goods thrown away were still paid for.
  • Assuming equal gain and loss percentages cancel when the selling prices are equal.
  • Using 1000 g as the base in false-weight questions.

8. Revision sheet

  • Profit % = (SP − CP)/CP × 100; loss % = (CP − SP)/CP × 100.
  • SP = CP × (100 ± p)/100; CP = SP × 100/(100 ± p).
  • Discount % = (MP − SP)/MP × 100; SP = MP × (100 − d)/100.
  • Successive discounts a%, b% = a + b − ab/100.
  • Mark-up m%, discount d% → net m − d − md/100 per cent.
  • CP of x = SP of y → profit (x − y)/y × 100 (negative means loss).
  • Same SP, x% gain and x% loss → loss of x²/100 %.
  • False weight w g for 1 kg at cost price → gain (1000 − w)/w × 100.
  • Chain of sales: multiply the factors forward, divide to go back.

Practice

45 questions in 3 sets. Every answer comes with its explanation, and each question you get right earns XP.

  • Easy · 15
  • Medium · 15
  • Hard · 15
Start practising
PreviousPercentagesNextSimple and Compound Interest
Log inStart free