Profit Loss Calculator
Determine profit or loss and the percentage.
Formula
Profit/Loss = Selling – Cost
Example
Cost $50, Sell $75 → Profit $25 (50%).
Embed this calculator on your site
Add this free calculator to your own website with one line of code. The embedded version is responsive, ad-free, and includes a small attribution link back to CalcNest AI.
<iframe src="https://calcnestai.com/embed/profit-loss-calculator.html" width="100%" height="700" frameborder="0" style="border: 1px solid #e5e5e5; border-radius: 12px; max-width: 720px;" loading="lazy" title="Profit Loss Calculator — Free Tool by CalcNest AI"></iframe>
Understanding the Profit Loss Calculator
A profit and loss calculator does the simplest possible math in commerce - selling price minus cost price - but the number it produces, and especially the percentage, gets misread constantly. Whether you're flipping a single item, pricing inventory, or just checking whether a trade or a sale actually made money, the calculation matters less than what you measure the percentage against.
How it actually works
Enter the cost price and the selling price. The calculator subtracts cost from selling price to get the raw profit or loss, then divides that difference by the cost price to get a percentage, labeling the result Profit or Loss depending on the sign. Buy something for $40 and sell it for $55, and that's a $15 profit, which is 37.5% of the $40 cost - the calculator flags it clearly as a profit rather than making you do the sign-flipping arithmetic yourself.
| Cost price | Selling price | Profit | Profit % of cost |
|---|---|---|---|
| $20 | $25 | $5.00 | 25.0% |
| $20 | $30 | $10.00 | 50.0% |
| $50 | $65 | $15.00 | 30.0% |
| $50 | $80 | $30.00 | 60.0% |
The deeper context most people miss
The detail that causes the most confusion is that this calculator expresses profit percentage relative to cost price, not selling price - and those two percentages are always different numbers for the same transaction. A $10 profit on a $20 cost is 50% profit-on-cost, but that same $10 profit on a $30 selling price is only 33.3% profit-on-price (which is the same thing as gross margin). Both numbers are legitimate, but they answer different questions - 'how much did I make relative to what I spent' versus 'what share of the sale price is profit' - and mixing them up when comparing two different sales or products leads to genuinely wrong conclusions about which one performed better.
Why profit percentage on cost and gross margin are different numbers for the same sale
These two percentages are easy to conflate but describe different relationships. Profit-on-cost (what this calculator computes) answers 'for every dollar I spent, how much profit did I make' - it's the number that matters most when you're thinking about return on the capital you tied up buying inventory or an asset. Gross margin answers 'for every dollar a customer paid, how much of that is profit' - it's the number retailers and analysts typically use because it ties directly to revenue, which is the figure on the top of an income statement. The two will always differ except in the trivial case of zero profit, and the gap widens as the profit percentage grows: a 100% profit-on-cost (selling for double what you paid) is only a 50% gross margin, because the profit is half of the selling price even though it's a full 100% of the cost. Retail and accounting contexts almost always mean gross margin (profit as a percentage of the selling price) when they say 'margin,' while everyday conversation and this kind of calculator often mean profit-on-cost when they say 'profit percentage' - knowing which one you're looking at, and which one the person you're talking to means, avoids a lot of confused conversations about whether a deal was actually good.
A worked example: flipping an item bought at a discount
Say you buy a piece of furniture at an estate sale for $120 and resell it for $210 after cleaning it up. The profit is $210 - $120 = $90. As a percentage of cost, that's $90 / $120 = 75% profit-on-cost - you made three-quarters of your original outlay back as pure profit. As a percentage of the selling price (gross margin), it's $90 / $210 = 42.9% - a smaller-looking number describing the same transaction. Both are true and both are useful: the 75% figure tells you the return on the capital you tied up in that piece, useful for comparing against other investment opportunities for that same $120. The 42.9% figure tells you what share of the final sale price was profit versus cost, useful for comparing against other resale categories where you might track margin as a percentage of revenue. If you're deciding whether to specialize in furniture flips versus another resale category, comparing margins (percentage of selling price) across categories tends to be the more standard, apples-to-apples comparison; if you're deciding whether a specific flip was worth the capital tied up, profit-on-cost is the more direct answer.
Deciding whether a deal is actually good before committing money
Someone evaluating whether to buy inventory, a resale item, or an asset needs to run this math before committing capital, not after selling. If you can buy something for $200 and have reasonable confidence you can resell it for $260, that's a $60 profit, 30% profit-on-cost - is that good enough to tie up $200 for however long it takes to resell? The answer depends on what else that $200 could be doing and how long the capital is tied up: a 30% return realized in a week is an extraordinary rate of return annualized, while the same 30% realized over eight months is a much more modest one. This is the piece a bare profit-percentage calculation doesn't capture on its own - the percentage tells you the magnitude of the gain, but the time it takes to realize that gain determines whether it's actually a good use of your money compared to other things you could do with it.
Why gross profit and net profit are not the same thing this calculator measures
This calculator computes a straightforward gross profit or loss - selling price minus cost price, nothing else - which is genuinely useful for a quick single-item or single-trade check, but it's worth knowing what it doesn't include. A real business's actual profitability also has to account for costs beyond the direct cost of the item: shipping, marketplace fees, payment processing fees, storage, your own labor time, and for a business rather than a one-off flip, overhead like rent or software subscriptions. A $90 gross profit on furniture flip can shrink considerably once you subtract gas money, cleaning supplies, marketplace listing fees, and the hours spent cleaning and photographing it - the true 'net' profit after all of that might be $50 or less. For a single personal transaction, gross profit is often the number people actually care about; for anyone running this as a repeatable business, tracking net profit (after all associated costs) is the more honest and more useful number for deciding whether the activity is genuinely worth continuing.
Variations: multiple units, bulk purchases, and partial sales
This calculator handles the simplest case - one cost price, one selling price - but real transactions often involve variations. Buying in bulk at a per-unit cost and reselling units individually requires tracking cost and revenue per unit, then this same profit-percentage math applies cleanly per unit, or you can sum total cost and total revenue across all units for an aggregate profit calculation. Partial sales (selling some units at one price and remaining units at a discount to clear inventory) require a blended calculation - weight each batch's profit by how many units sold at that price, since a single overall profit percentage across a mixed set of sale prices isn't simply the average of the individual percentages, it's revenue-weighted.
Reading a profit percentage correctly
Always be clear, especially when comparing across multiple deals or products, whether a percentage is expressed relative to cost (profit-on-cost, what this calculator computes) or relative to the selling price (gross margin) - they're both legitimate but answer different questions and will never be the same number for a profitable transaction. For a one-off personal sale or flip, gross profit (cost minus selling price, no further deductions) is often the practical number that matters. For anything you're treating as a repeatable business, track net profit after all associated costs - fees, shipping, your time - since gross profit alone can make a genuinely marginal activity look more attractive than it is.
What people get wrong
- Confusing profit-on-cost with gross margin (profit-on-selling-price), which are always different percentages for the same sale.
- Evaluating a deal purely on profit percentage without considering how long the capital was tied up to realize that gain.
- Treating gross profit (cost minus selling price) as the full picture for a repeatable business, ignoring fees, shipping, and time costs.
- Comparing profit percentages across different products or deals without checking whether they're both measured against the same base (cost or price).
Where the math comes from
Profit or Loss = Selling Price - Cost Price. Percentage = |Profit or Loss| / Cost Price × 100, labeled Profit if selling price exceeds cost, Loss otherwise. This expresses the gain or loss as a percentage of the original cost (profit-on-cost), the most common everyday framing for a single buy-sell transaction.
Questions and answers
How do I price my services?
Three approaches: cost-plus (cost x markup), market-based (what competitors charge), and value-based (what customer saves or earns from your service). Value-based usually produces the highest prices but requires understanding customer ROI.
What is a healthy LTV/CAC ratio?
3:1 is a common minimum; 6:1+ is excellent. Below 3:1 typically means CAC needs to drop or LTV needs to grow (price increase, retention work, upsells). Payback period also matters - under 12 months is healthy.
How much should I keep in reserve?
3-6 months of expenses is the conservative norm for established businesses. Startups burning capital typically run 12-18 months of runway. Cash crunches kill profitable businesses; reserves are insurance.
Should I incorporate?
LLC/S-corp structures provide liability protection and (for S-corp) potential payroll tax savings above ~$60K profit. Consult a CPA or attorney; the right structure depends on your state and business situation.
How do I track this in real time?
Use accounting software (QuickBooks, Xero, Wave) connected to bank accounts. Update monthly at minimum. Cash flow projections (looking 13 weeks ahead) help spot problems before they become crises.
Is profit percentage calculated on cost or on selling price?
This calculator expresses it as a percentage of cost price - how much profit you made relative to what you originally spent. That's different from gross margin, which expresses profit as a percentage of the selling price. Both are valid, but they'll always give different numbers for the same transaction, so it matters which one you're using, especially when comparing across deals.
What's the difference between profit-on-cost and gross margin?
Profit-on-cost divides the profit by what you paid (cost price); gross margin divides the profit by what you sold it for (selling price). A $10 profit on a $20 cost is 50% profit-on-cost but only 33.3% gross margin, since the same $10 is a smaller share of the $30 total selling price. Retail and accounting contexts typically default to gross margin; everyday resale conversations often mean profit-on-cost.
Does this calculator account for fees, shipping, or other costs?
No - it's a simple gross profit calculation using only the cost price and selling price you enter. For a real business or repeatable resale activity, subtract marketplace fees, shipping, packaging, and your own time from the gross profit to get a true net profit, which is often meaningfully lower than the gross number.
Is a 50% profit percentage always a good deal?
It depends heavily on how long it took to realize that profit and what else you could have done with the capital tied up. A 50% return realized in a week is exceptional; the same 50% realized over 18 months is far more ordinary once compared to other investment options. Profit percentage alone doesn't capture the time dimension of the deal.
How do I calculate profit or loss on multiple units bought in bulk?
Calculate total cost (units × cost per unit) and total revenue (units × selling price per unit), then apply the same profit-or-loss and percentage formula to the totals. If units sold at different prices (some full-price, some discounted to clear inventory), use a revenue-weighted blend rather than simply averaging the individual profit percentages.
What if I sell something for less than I paid?
The calculator labels this a loss and reports the loss amount and percentage using the same formula, just with a negative difference - a $40 cost item sold for $30 is a $10 loss, or 25% of the cost price. Recognizing and quantifying a loss clearly is just as useful as tracking profit, especially for deciding whether to cut a losing position or hold onto inventory.
Sources & References
Authoritative references consulted in building this calculator and educational content. These are primary sources — check directly for the most current figures.
Related calculators
Payroll Tax · Burn Rate · Business Valuation · Amazon FBA Fee · Stripe Fees