This calculator solves the three kinds of sums in the NCERT chapter Comparing Quantities (Class 7 and Class 8 Maths): percentages, profit and loss, and discount with GST. Choose a tab, enter the numbers from your question and it shows the answer with every step written out, so you can check your homework and see where a mistake crept in.
How the calculator works
1. Percentage basics
Per cent means "out of 100", so 15% is the same as 15/100.
- x% of y = (x ÷ 100) × y
- x as a percentage of y = (x ÷ y) × 100
- Percentage increase or decrease = (Amount of change ÷ Old value) × 100
The change is always compared with the old (original) value. If a price goes up from Rs 400 to Rs 500, the increase is Rs 100 and the percentage increase is 100 ÷ 400 × 100 = 25%.
2. Profit and loss
The cost price (CP) is what the seller pays, including overhead expenses such as transport or repairs. The selling price (SP) is what the buyer pays.
- Profit = SP − CP (when SP is more than CP) and Loss = CP − SP (when CP is more than SP)
- Profit % = (Profit ÷ CP) × 100 and Loss % = (Loss ÷ CP) × 100
- SP = CP × (100 + Profit %) ÷ 100 or SP = CP × (100 − Loss %) ÷ 100
- CP = SP × 100 ÷ (100 + Profit %) or CP = SP × 100 ÷ (100 − Loss %)
Profit and loss percentages are always worked out on the cost price, unless the question clearly says otherwise.
3. Discount, successive discounts and GST
A discount is a reduction on the marked price (MP), the price printed on the tag.
- Discount = MP − SP and Discount % = (Discount ÷ MP) × 100
- SP = MP × (100 − Discount %) ÷ 100
- For two discounts a% and b% given one after the other: Final SP = MP × (100 − a)/100 × (100 − b)/100
- Single equivalent discount = 100 − 100 × (100 − a)/100 × (100 − b)/100, which for two discounts is the same as a + b − (a × b ÷ 100)
GST (Goods and Services Tax), called sales tax in older books, is charged on the selling price and added to the bill: Bill amount = SP + (GST % of SP). The calculator does not assume any rate. Enter the rate given in your question, because actual GST rates depend on the item and are set by the government.
Worked example
Question: A shopkeeper buys a jacket for Rs 1,500 and marks it at Rs 2,500. During a sale he gives two successive discounts of 20% and 10%. GST at 12% is charged on the price after discount. Find (a) the selling price, (b) the single discount equal to the two discounts, (c) his profit per cent and (d) the amount the customer pays.
| Step | Working | Result |
|---|---|---|
| First discount 20% | 2,500 × 20 ÷ 100 = 500; 2,500 − 500 | Rs 2,000 |
| Second discount 10% | 2,000 × 10 ÷ 100 = 200; 2,000 − 200 | Rs 1,800 |
| Equivalent discount | 100 − 100 × 0.8 × 0.9 = 100 − 72 | 28% |
| Profit | SP − CP = 1,800 − 1,500 = 300; 300 ÷ 1,500 × 100 | Rs 300 = 20% |
| Customer pays | GST = 1,800 × 12 ÷ 100 = 216; 1,800 + 216 | Rs 2,016 |
So the selling price is Rs 1,800, the two discounts are equal to a single discount of 28% (not 30%), the shopkeeper makes a profit of 20%, and the customer pays Rs 2,016. The GST of Rs 216 goes to the government, so it is not part of the shopkeeper's profit. The calculator gives these answers with the values already filled in: the Discount and GST tab shows the Rs 1,800, 28% and Rs 2,016, and the Profit and loss tab with CP Rs 1,500 and SP Rs 1,800 shows the 20% profit.
Common mistakes
- Working out profit or loss % on the selling price. It is always on the cost price.
- Adding successive discounts. Discounts of 20% and 10% are not 30%; the second discount is on the reduced price, so the single equivalent discount is 28%.
- Working out discount % on the selling price instead of the marked price.
- Forgetting overhead expenses (transport, repair, packing). They are added to the cost price before finding profit or loss.
- Finding CP from SP by taking the profit % of SP. If SP is Rs 1,200 at 20% profit, CP is 1,200 × 100 ÷ 120 = Rs 1,000, not 1,200 − 240 = Rs 960.