Profit and Loss Calculator: Exam Formulas Plus True Net Margin
The schoolbook profit and loss calculations students need, and the seller reality most tools ignore: your real net margin after GST, platform fees, and payment charges.
Commercial Arithmetic Engine: Student and Seller Calculations
Pick a mode, enter the values, and read the result with the working.Why Are There Two Different Profit Questions?
A student solving a maths problem and a shopkeeper checking a sale ask the same words but need different answers. The student wants the textbook result: if the cost price is 100 rupees and the selling price is 120, what is the profit percentage? The answer is 20 percent, calculated on the cost price, the way every Indian exam expects.
The shopkeeper wants something the textbook rarely mentions: after the marketplace takes its cut, the payment gateway takes its slice, and the GST is set aside, what is actually left? These are both profit and loss questions, but they live in different worlds, and most calculators serve only one.
This tool serves both. For students and anyone doing commercial arithmetic, it computes profit or loss and the percentage on cost price exactly as exams require, and it works in reverse, finding the selling price for a target profit or the cost price behind a known selling price.
For sellers and businesses, it computes margin and markup, clears up the confusion between them, and reveals the true net margin once GST and platform and payment fees are stripped away.
The same page answers the schoolbook question and the real business one. Rather than forcing a student to one site and a seller to another, it recognises that the underlying arithmetic is shared and only the framing differs, so a single tool can serve a class ten problem and a marketplace pricing decision equally well.
Every result is in rupees and framed for the way profit and loss actually come up in India, whether you are preparing for a competitive exam, pricing a product, or working out whether your online store is genuinely making money.
How Are Profit and Loss Calculated?
The core arithmetic is simple, and knowing it lets you check any result the calculator gives.
Profit, loss, and their percentages
Profit is the selling price minus the cost price when the selling price is higher; loss is the cost price minus the selling price when it is lower. The percentage, in the Indian convention used by exams, is always taken on the cost price.
So a cost of 100 and a sale of 120 gives a profit of 20, which is 20 divided by 100 times a hundred, a 20 percent profit.
A cost of 200 and a sale of 160 gives a loss of 40, which is 40 over 200, a 20 percent loss. The calculator’s basic mode does exactly this and shows both the amount and the percentage.
Working backward to cost or selling price
Often you know one price and a target percentage and need the other. To find the selling price for a desired profit, increase the cost price by that percentage: a 500 rupee cost at 15 percent profit sells for 575.
To find the cost price behind a selling price and a known profit, divide rather than subtract: a 600 rupee sale that included a 20 percent profit came from a cost of 500, because 600 divided by 1.2 is 500.
The reverse mode handles both directions, which is invaluable for pricing and for exam problems that give you the answer and ask for the starting figure.
Why the base matters
The single most important thing to know about profit and loss percentages is which price they are measured against. In the Indian exam convention, profit and loss percentages are always on the cost price.
In business, margin is measured on the selling price and markup on the cost price, and confusing them causes real pricing errors. The calculator is explicit about the base in every mode, so you always know whether a percentage is of cost or of price.
Margin Versus Markup: The Costly Confusion
For anyone selling a product, no distinction matters more, and none is more often muddled, than the one between margin and markup.
Both measure the same profit, but against different bases. Markup is the profit as a percentage of the cost price, the amount you add on top of what you paid. Margin is the profit as a percentage of the selling price, the share of each sale’s revenue that is profit.
Because the selling price is larger than the cost, the margin is always a smaller percentage than the markup for the same profit. An item bought for 100 and sold for 125 has a profit of 25, which is a 25 percent markup but only a 20 percent margin.
The confusion costs money. A seller who wants a 40 percent margin but applies a 40 percent markup ends up with only a 28.6 percent margin, pricing every product too low and quietly eroding profit across the whole range.
To achieve a 50 percent margin you need a 100 percent markup, doubling your cost, not a 50 percent one. The business mode of the calculator shows both figures side by side for any cost and price, so you can see immediately what margin a given markup actually delivers and never make this mistake.
| Margin | Equivalent markup | On a Rs 100 cost, sell at |
|---|---|---|
| 10% | 11.1% | Rs 111.11 |
| 20% | 25% | Rs 125 |
| 25% | 33.3% | Rs 133.33 |
| 33.3% | 50% | Rs 150 |
| 40% | 66.7% | Rs 166.67 |
| 50% | 100% | Rs 200 |
The True Net Margin After GST and Fees
This is the calculation most tools skip and most sellers most need, because a healthy-looking gross margin can shrink to almost nothing once the real costs of selling online are taken out.
Consider a product that cost 800 rupees and sells for 1,180 rupees including 18 percent GST. On the surface the margin looks comfortable. But the GST portion, 180 rupees, is not your revenue; you collect it and pass it to the government, so your actual revenue is 1,000 rupees.
That gives a gross margin of 20 percent, still fine. Now the marketplace takes its fee, say 15 percent of the sale, which is 177 rupees, and the payment gateway takes 2 percent, about 24 rupees. Once all of that is removed, the net profit on this sale is essentially zero, a razor-thin margin that the gross figure completely hid.
This is the reality of selling on Indian marketplaces, where fees that each sound small combine to consume most of the gross margin.
The net mode of the calculator makes this visible: enter your cost, your GST-inclusive selling price, the GST rate, and the platform and payment fees, and it strips each one out to show your genuine net profit and net margin.
For any online seller, this is the number that decides whether a product is worth selling at all, and seeing it plainly can be the difference between a profitable store and a busy one that makes nothing.
Profit and Loss: Indian Exams and Daily Trade
Profit and loss is one of the most tested topics in Indian competitive exams and school mathematics, and it is also the daily reality of every trader, so mastering it serves both the student and the shopkeeper.
The exam patterns
Competitive exams from banking to railways to school boards test profit and loss through a set of recurring patterns. There are direct questions giving cost and selling price and asking for the percentage, reverse questions giving a percentage and one price and asking for the other, and layered questions involving successive transactions, discounts on marked prices, or dishonest dealers who alter weights.
The core skill in all of them is knowing that profit and loss percentages are on the cost price and being able to work confidently in both directions, which the basic and reverse modes of the calculator let you practise and check.
The marked price and discount
A common exam and real-world complication is the marked price, the price on the tag before any discount. A shopkeeper marks goods above cost, then offers a discount off the marked price, and the actual profit depends on the interplay of markup and discount.
Marking up 40 percent and then giving a 10 percent discount does not leave a 30 percent profit, because the discount applies to the marked price, not the cost. Working these out correctly requires the same careful attention to which base each percentage uses, the theme that runs through all profit and loss.
The trader’s daily use
For a working trader, profit and loss is not a puzzle but a constant calculation: what did this cost, what can I sell it for, what does that leave after everything. The exam skills translate directly, but the real world adds the complications of tax, fees, and overheads that the textbook ignores.
This is why the calculator spans both, giving the clean percentages an exam wants and the messy net figure a business needs, so that the arithmetic a student learns becomes the arithmetic a trader uses.
How to Understand Your Costs Fully
An accurate profit and loss figure depends entirely on capturing all your costs, and the most common source of error is a cost that was quietly left out.
The obvious cost is what you paid for the product itself, the cost of goods. But the true cost of a sale usually includes more. For a maker, there are materials, packaging, and the labour that went into it. For a reseller, there is the wholesale price plus any transport to get the stock.
For an online seller, every sale carries the marketplace fee, the payment charge, and often the shipping, whether paid by you or absorbed into a free-delivery price. Each of these is a real cost of that sale, and leaving any of them out inflates your apparent profit.
Beyond the per-sale costs sit the overheads: rent, salaries, software subscriptions, utilities. These do not attach to a single sale but must be covered by the total profit across all sales.
A per-unit profit calculation, like the one this tool provides, tells you the contribution each sale makes, and you then need enough sales at that contribution to cover the overheads and leave a real profit.
Confusing per-unit profit with overall profit is a frequent trap, where a business celebrates a healthy margin on each item while the total fails to cover the fixed costs.
The discipline that separates a clear-eyed business from a hopeful one is counting every cost honestly. It is tempting to omit the small fees and the awkward overheads to make a product look better, but the market does not forgive optimistic accounting.
Enter your fullest, most honest cost into the calculator, include every fee in the net mode, and the profit figure you get will be one you can actually rely on to make decisions.
How to Use Profit and Loss to Set Prices
The most powerful use of profit and loss is not to check a sale after the fact but to set a price before it, and the calculator’s modes let you approach pricing from several directions.
Pricing from a target margin
The cleanest way to price is to decide the margin you need and work back to the selling price. If your business needs a 30 percent margin to be sustainable after overheads, you set the price so that profit is 30 percent of it, which means dividing your cost by 0.7.
This grounds your price in what the business actually requires rather than in a guess or a copied competitor figure. The business mode lets you check that any candidate price delivers the margin you need, and adjust until it does.
Pricing against the market
Sometimes the market sets the ceiling: customers will only pay so much, and you must fit your costs and margin under that price. Here you work the other way, starting from the achievable selling price and using the calculator to see what margin it leaves at your cost.
If the margin is too thin, you know you must reduce costs, add value to justify a higher price, or reconsider the product. This reality check, done before committing, saves the pain of discovering an unviable margin after you have built up stock.
Pricing for online channels
Selling online demands a further step, because the marketplace and payment fees sit between your price and your profit. The price that gives a healthy margin in a direct sale may give almost nothing after a marketplace takes its cut, so you must price for the channel.
The net mode is built for exactly this, letting you set a price and immediately see the net margin after all the platform’s charges. Sellers who price using only their gross margin, forgetting the fees, are the ones who find their online business busy but unprofitable.
Pricing across a range
Few businesses sell a single product, and a sensible pricing strategy varies the margin across a range. Staple items that draw customers might carry a thin margin, while premium or impulse items carry a fat one, and the blend across all sales delivers the overall profitability the business needs.
Calculating the margin on each product with the tool lets you design this blend deliberately, rather than applying one markup to everything and hoping the average works out. The discipline of knowing each item’s true margin is what makes a considered pricing strategy possible.
Common Profit and Loss Mistakes: What to Avoid
A few errors recur so reliably in profit and loss that avoiding them puts you ahead of most, whether in an exam hall or a shop.
The first is applying a percentage to the wrong base. Profit and loss percentages are on cost, margin is on selling price, markup is on cost, and mixing these produces wrong answers every time. Whenever you meet a percentage, pin down its base before you use it.
The second is reversing a percentage by subtraction. To recover a cost price from a selling price and a profit percentage, you divide, and the instinct to subtract the percentage gives a figure that is close but wrong, wrong enough to cost marks or money. The reverse mode enforces the correct division.
The third is treating gross margin as real profit. A healthy gross margin feels like success, but until you subtract tax, fees, and overheads you do not know your net, and the net can be a fraction of the gross or even negative. Judge profitability on net, calculated with every cost included.
The fourth is forgetting that GST is not revenue. Counting the tax you collect as part of your income inflates every profit figure and can turn a loss-making product into an apparently profitable one on paper. Always work from the GST-exclusive price when judging your own margin.
Avoiding these four, watching the base, dividing to reverse, judging on net, and excluding GST, covers the great majority of profit and loss errors.
The calculator is built to make each of these correct by default, showing the base of every percentage, dividing properly in reverse, computing net after all costs, and stripping GST in the net mode, so that using it steers you away from the very mistakes that catch most people out.
Worked Examples: Three Real Situations
Profit and loss serves a student, a shopkeeper, and an online seller in three different ways, and seeing all three worked out shows how the same tool adapts. Each figure below is calculated exactly as the calculator does it.
Profit and loss looks different for a student, a shopkeeper, and an online seller. Each is calculated exactly as the tool does.
Ananya’s problem gives her a selling price of 660 rupees and tells her the shopkeeper made a 10 percent profit, asking for the original cost price. The instinct to subtract 10 percent of 660 is wrong, because the 10 percent was of the cost, not the selling price.
The correct method divides: 660 divided by 1.1 gives a cost price of 600 rupees. Checking it, a 10 percent profit on 600 is 60, and 600 plus 60 is 660, which matches. The reverse mode does this division for her and confirms the 600 rupee cost, teaching the method that trips up so many students who subtract when they should divide.
Suresh buys a product for 200 rupees and wants a 25 percent margin on it.
He is about to add 25 percent to his cost, which would give a selling price of 250, but the business mode shows him this is a mistake. A 25 percent markup on 200 gives 250, but the margin on that is only 20 percent, not the 25 he wanted, because the profit of 50 is a fifth of the 250 selling price.
To actually get a 25 percent margin he needs a 33.3 percent markup, selling at about 266 rupees. Seeing the margin and markup side by side saves him from underpricing every item in his shop by confusing the two.
Neha sells a handmade item on a marketplace for 1,180 rupees including 18 percent GST, having spent 800 rupees to make it. On paper her margin looks healthy. But the net mode tells the real story. Her actual revenue, after setting aside the 180 rupees of GST, is 1,000 rupees, a 20 percent gross margin.
Then the marketplace’s 15 percent fee takes 177 rupees, and the 2 percent payment charge takes another 24. Her net profit is almost nothing, a net margin near zero. This calculation shows her the product is not viable at this price, prompting her to raise the price, cut costs, or find a cheaper channel before she scales up a loss-making item.
Six Tips for Profit and Loss
A handful of habits separate people who get profit and loss right from those who slip on it. These six, built on the mistakes that recur most, keep your answers correct in the exam and profitable in the shop.
Quick Reference: Profit and Loss Formulas
Every formula the calculator uses, gathered for reference. Keep it handy to verify a result or work a calculation by hand.
| Profit | Selling price minus cost price |
| Loss | Cost price minus selling price |
| Profit or loss percentage | (Profit or loss / cost price) x 100 |
| Selling price for a profit | Cost x (1 + profit percentage/100) |
| Cost price from selling price | Selling price / (1 + profit percentage/100) |
| Margin | (Profit / selling price) x 100 |
| Markup | (Profit / cost price) x 100 |
| Selling price for a target margin | Cost / (1 minus margin/100) |
| Revenue ex-GST | Selling price / (1 + GST/100) |
| Net profit | Revenue minus cost minus all fees |
Profit and Loss Frequently Asked Questions
How do I calculate profit percentage?
Subtract the cost price from the selling price to get the profit, then divide by the cost price and multiply by a hundred. For a cost of 100 rupees and a sale of 120, the profit is 20, and 20 divided by 100 times a hundred is a 20 percent profit.
In the Indian convention used by exams and everyday business, the profit percentage is always calculated on the cost price, not the selling price. The calculator’s basic mode does this and shows both the profit amount and the percentage.
How do I calculate loss percentage?
When the selling price is below the cost price, subtract the selling price from the cost to get the loss, then divide by the cost price and multiply by a hundred. For a cost of 200 rupees and a sale of 160, the loss is 40, and 40 divided by 200 times a hundred is a 20 percent loss.
Like profit percentage, loss percentage is measured on the cost price in the standard convention. The calculator automatically shows a loss rather than a profit when the selling price is lower.
How do I find the cost price from the selling price and profit percentage?
Divide the selling price by one plus the profit percentage as a decimal. If an item sold for 660 rupees at a 10 percent profit, the cost price was 660 divided by 1.1, which is 600.
The common mistake is to subtract 10 percent of 660, which gives the wrong answer, because the 10 percent was of the cost, not the selling price. The reverse mode does this division for you, which is essential for pricing and for exam questions that give the result and ask for the starting figure.
What is the difference between margin and markup?
Both measure the same profit but against different bases. Markup is profit as a percentage of the cost price, the amount added on top of what you paid. Margin is profit as a percentage of the selling price, the share of each sale that is profit.
Because the selling price is larger than the cost, the margin is always a smaller percentage than the markup for the same profit. An item bought for 100 and sold for 125 has a 25 percent markup but only a 20 percent margin.
Why does a 50 percent markup give only a 33 percent margin?
Because markup and margin divide the same profit by different numbers. A 50 percent markup on a 100 rupee cost gives a selling price of 150, so the profit is 50. As a markup, that 50 is half the 100 cost, 50 percent.
As a margin, the same 50 is a third of the 150 selling price, 33.3 percent. The larger base, the selling price, makes the margin percentage smaller. To achieve a 50 percent margin you need a 100 percent markup, doubling your cost.
How do I set a price for a target margin?
Divide your cost by one minus the target margin as a decimal. For a 200 rupee cost and a 25 percent target margin, the selling price is 200 divided by 0.75, which is about 266 rupees.
The mistake to avoid is simply adding the margin percentage to the cost as a markup, which gives a lower margin than intended. The business mode shows the margin and markup for any price, so you can verify that your price delivers the margin you actually want.
Why is my real profit lower than my margin suggests?
Because the gross margin only accounts for the cost of the product, not the other costs of selling it. Marketplace commission, payment gateway fees, shipping, and GST all reduce what actually reaches you.
A 20 percent gross margin can become nearly zero net once a 15 percent platform fee and a 2 percent payment charge are removed. The net mode of the calculator strips all of these out to show your true net profit and net margin, which is the figure that really matters.
Should GST be included in my profit calculation?
No, the GST you charge is not your revenue. You collect it from the customer and pass it to the government, so it should not count as profit. If you include the GST-inclusive price as your revenue, your margin looks better than it really is.
The correct approach uses the GST-exclusive price as your revenue, which the net mode calculates by stripping the GST from your selling price first. Only then do you see your genuine margin on the money that actually stays in your business.
How do marketplace fees affect my profit?
Marketplace fees are charged as a percentage of your sale price and can be substantial, often ten to twenty percent or more depending on the platform and category. Combined with payment gateway charges of one to three percent, they can consume a large share of a gross margin.
Because these fees each sound small individually, sellers often underestimate their combined effect. The net mode lets you enter your platform and payment fees and shows exactly how much they reduce your profit, so you can price accordingly.
What is a good profit margin for a small business?
It varies widely by industry. Retail and reselling often run on thin margins of a few percent to fifteen percent, while services and software can have much higher margins of fifty percent or more because their costs are lower.
There is no single good number; what matters is that your net margin, after all costs, is positive and sustainable, and that it covers your time and overhead. Use the net mode to find your real margin, and compare it against typical figures for your specific line of business.
Can I calculate profit on a quantity of items?
The calculator works on a per-unit basis, showing the profit, margin, and net on a single item. To find the total profit on a quantity, multiply the per-unit profit by the number of items.
This per-unit approach is usually more useful for pricing decisions, since it tells you the profitability of each sale, and multiplying up to a total is straightforward. For the net mode especially, knowing the net profit per item tells you immediately whether selling more will help or simply multiply a loss.
What is the difference between gross and net profit?
Gross profit is your selling price minus only the cost of the product itself, the cost of goods. Net profit takes out everything else a sale costs you: taxes passed through, marketplace fees, payment charges, shipping, and a share of overheads like rent.
Gross profit is the headline figure and is easy to calculate; net profit is the money that actually reaches you and is what determines whether a business is truly profitable. A healthy gross profit can still leave a thin or negative net once all costs are counted.
How do I know if I am making a loss on a sale?
You are making a loss on a sale if your selling price, after removing GST and all fees, is less than your cost.
The basic mode shows a loss whenever the selling price is below the cost price, but for an online sale the more important check is the net mode, which can reveal a loss even when the headline price looks higher than the cost, because fees have eaten the difference.
If the net result is negative, the sale loses money, and selling more of it only deepens the loss.
Is profit percentage always calculated on cost price?
In the standard Indian convention used by exams and everyday trade, yes, profit and loss percentages are calculated on the cost price. This is why the basic mode uses the cost price as the base. In formal business accounting, however, margin is measured on the selling price, which is a different figure.
The two conventions coexist, so it is important to know which is being used. The calculator uses cost price for its profit and loss percentages and clearly labels margin as being on the selling price in the business mode.
How can I improve my net margin?
There are three levers. Raise your selling price, which increases the gross margin, if the market allows it. Reduce your cost, through cheaper materials or better sourcing. Or cut the fees, by choosing a lower-commission channel, negotiating rates, or selling directly to avoid marketplace charges.
The net mode lets you test each change and see its effect on your net margin.
For many small sellers, moving even part of their sales to a direct channel with no marketplace fee is the single most powerful improvement to net profit. A sale made directly, through a personal website or in person, keeps the whole gross margin that a marketplace would have shared, so even a modest shift of volume to direct channels can lift the overall net margin markedly.
How accurate is this calculator?
The arithmetic is exact for every mode, computing precisely from the values you enter. The net mode is only as complete as the fees you provide, so include every charge that applies to your sale, marketplace commission, payment processing, and any others, for a true picture.
Some costs like shipping or returns vary per order and can be added to your cost input if you want to account for them. Used with complete inputs, the calculator gives an accurate view of your real profitability.
Related Calculators: More Free Tools
If this profit and loss tool helped, these related calculators from CalcWise cover the pricing, tax, and everyday business maths that sit alongside it.
Disclaimer and Editorial Transparency
This profit and loss calculator uses standard commercial arithmetic and is for education and business planning, not accounting or tax advice. Profit and loss percentages follow the Indian convention of being calculated on the cost price. The net mode treats GST as a pass-through, stripped from the selling price in line with rules from the Central Board of Indirect Taxes and Customs, and subtracts the platform and payment fees you enter. Actual profitability may involve further costs such as shipping, returns, and overheads not modelled here. For significant business decisions, consult a qualified accountant. CalcWise.Finance does not store the values you enter and this tool carries no advertising.