How to Calculate Profit and Loss
Profit and loss calculation is one of the most useful financial skills for individuals, students, business owners, freelancers, investors, and anyone who buys and sells products or services. The basic idea is simple: compare the amount received from a sale with the amount originally spent to acquire or produce what was sold.
When the selling price is higher than the cost price, there is a profit. When the selling price is lower than the cost price, there is a loss. Although these concepts are straightforward, real-world calculations can become more complicated when discounts, taxes, operating expenses, commissions, shipping costs, overhead, or multiple products are involved.
This complete guide explains how to calculate profit and loss using simple formulas, percentage calculations, practical examples, discounts, expenses, and real-world applications. Understanding these calculations can help you price products, evaluate business performance, compare deals, and make better financial decisions.
1. What Is Profit?
Profit is the positive difference between the selling price and the relevant cost. In a basic buying-and-selling transaction, profit occurs when the selling price is greater than the cost price.
For example, suppose a person buys a product for $50 and sells it for $70. The difference is $20, so the profit is $20.
The basic formula is:
Profit = Selling Price − Cost Price
This formula works when the cost being considered represents the full cost associated with the item or transaction.
2. What Is Loss?
Loss occurs when the selling price is lower than the cost price. For example, if a product costs $80 and is sold for $65, the difference is $15.
The basic formula is:
Loss = Cost Price − Selling Price
A loss is normally expressed as a positive amount when discussing the size of the loss, even though the financial result itself is negative.
3. What Is Cost Price?
Cost price, often abbreviated as CP, is the amount spent to acquire or produce an item. In simple textbook problems, this may be the purchase price paid to a supplier.
In real business situations, however, the actual cost can include additional expenses. Packaging, transportation, import charges, production materials, platform fees, and other directly attributable expenses may need to be included when calculating the true cost.
For example, if a product costs $100 to purchase and $10 to transport before it can be sold, the effective cost may be $110 rather than simply $100.
4. What Is Selling Price?
Selling price, often abbreviated as SP, is the amount received or charged when a product or service is sold. If an item is sold for $150, its selling price is $150 before considering whether taxes or other amounts are included in that figure.
Businesses should clearly distinguish between the listed selling price, the discounted selling price, and the actual revenue retained after transaction-related charges.
5. Basic Profit Formula
The simplest profit formula is:
Profit = SP − CP
If SP is greater than CP, the result is a profit.
Example: A shop buys a bag for $40 and sells it for $55.
Profit = $55 − $40 = $15.
The shop earns a $15 profit before considering other business expenses that may apply.
6. Basic Loss Formula
The basic loss formula is:
Loss = CP − SP
If CP is greater than SP, the result is a loss.
Example: A seller buys a device accessory for $60 but sells it for $48.
Loss = $60 − $48 = $12.
The transaction therefore produces a $12 loss based on the stated cost and selling price.
7. How to Calculate Profit Percentage
Profit percentage shows the profit relative to the cost price in the standard profit-and-loss calculation.
The formula is:
Profit Percentage = (Profit ÷ Cost Price) × 100
Suppose an item costs $80 and is sold for $100. The profit is $20.
Profit Percentage = ($20 ÷ $80) × 100 = 25%.
The profit is therefore 25% of the cost price.
8. How to Calculate Loss Percentage
Loss percentage is normally calculated using the cost price as the base.
The formula is:
Loss Percentage = (Loss ÷ Cost Price) × 100
Suppose an item costs $200 and is sold for $170. The loss is $30.
Loss Percentage = ($30 ÷ $200) × 100 = 15%.
The loss is therefore 15% of the cost price.
9. Profit and Loss Percentage in One Example
Consider a product purchased for $500 and sold for $650.
Profit = $650 − $500 = $150.
Profit Percentage = ($150 ÷ $500) × 100 = 30%.
If the same product were sold for $425 instead, the loss would be $75.
Loss Percentage = ($75 ÷ $500) × 100 = 15%.
This example demonstrates why the cost price is important when converting profit or loss into a percentage.
10. How to Find Selling Price From Cost and Profit
If the cost price and profit amount are known, the selling price can be calculated by adding the profit to the cost.
Selling Price = Cost Price + Profit
For example, if the cost is $300 and the desired profit is $75:
Selling Price = $300 + $75 = $375.
If the desired profit is expressed as a percentage, the calculation can be adjusted accordingly.
11. How to Find Selling Price From a Profit Percentage
When the desired profit percentage is known, use:
Selling Price = Cost Price × (1 + Profit Percentage ÷ 100)
Suppose the cost price is $400 and the desired profit is 20%.
Selling Price = $400 × 1.20 = $480.
The expected profit is $80, which represents 20% of the $400 cost.
12. How to Find Cost Price From Selling Price and Profit
If the selling price and profit amount are known, subtract the profit from the selling price.
Cost Price = Selling Price − Profit
For example, if an item sells for $900 and the profit is $150:
Cost Price = $900 − $150 = $750.
13. How to Find Cost Price From Selling Price and Loss
If the selling price and loss amount are known, add the loss to the selling price.
Cost Price = Selling Price + Loss
If an item is sold for $320 at a loss of $80:
Cost Price = $320 + $80 = $400.
14. How to Calculate Selling Price After a Discount
A discount reduces the marked or listed price before the final selling price is determined.
The formula is:
Selling Price = Marked Price − Discount
If a product is marked at $1,000 and the seller offers a 15% discount, the discount is $150.
Final selling price = $1,000 − $150 = $850.
Profit or loss should then be calculated by comparing the final selling price with the appropriate cost.
15. How to Calculate Discount Percentage
Discount percentage is calculated using the marked price as the base.
Discount Percentage = (Discount ÷ Marked Price) × 100
If the marked price is $500 and the discount is $50, the discount percentage is 10%.
Do not confuse discount percentage with profit percentage. They use different reference amounts and describe different parts of a transaction.
16. Marked Price, Cost Price, and Selling Price
Some transactions involve three important prices. The cost price is what the seller spends. The marked price is the price displayed or originally listed. The selling price is the final price at which the customer purchases the item.
A seller might purchase an item for $600, mark it at $900, and sell it for $810 after a discount. The profit is based on the relevant cost and actual selling price, not simply the difference between the marked price and cost.
17. Profit After Operating Expenses
A transaction-level profit is not always the same as a business's final profit. A business may have rent, salaries, utilities, advertising costs, software subscriptions, transportation expenses, insurance, payment-processing fees, and other operating expenses.
For a simplified business calculation:
Net Profit = Total Revenue − Total Costs and Expenses
This broader calculation provides a better picture of actual business performance than looking only at the purchase and sale price of individual products.
18. Gross Profit vs Net Profit
Gross profit generally measures revenue minus the direct cost of goods or services sold. Net profit goes further by considering other applicable operating expenses, taxes, interest, and other costs according to the accounting framework being used.
A business can have a positive gross profit while still reporting a net loss if operating expenses are high. This distinction is important when evaluating the health of a business.
19. Simple Business Profit Example
Suppose a small business generates $10,000 in sales during a month. The direct cost of the products sold is $6,000. Gross profit is therefore $4,000.
If the business then spends $2,500 on rent, wages, utilities, advertising, software, and other operating costs, its simplified operating profit becomes $1,500 before any additional applicable items.
This demonstrates why total revenue alone does not show whether a business is truly profitable.
20. Profit and Loss for Multiple Products
When a business sells multiple products, calculate revenue and cost for each product or for the entire relevant group.
For example, Product A could produce a $20 profit while Product B produces a $10 loss. The combined result is a $10 profit before other expenses.
Businesses should avoid judging performance from a single product when several products contribute to overall revenue and costs.
21. Weighted Profit and Loss
If products have different quantities and prices, calculate the total cost and total selling revenue rather than simply averaging individual percentages.
For example, selling ten low-cost items and one high-value item can make a simple average of their profit percentages misleading. Total financial results provide a more reliable picture.
22. Profit Margin vs Profit Percentage
Profit margin and profit percentage are related but are not always calculated using the same base.
In a common business context:
Profit Margin = (Profit ÷ Revenue) × 100
Traditional profit percentage in basic cost-price problems is:
Profit Percentage = (Profit ÷ Cost Price) × 100
For example, if cost is $80 and selling price is $100, profit is $20. Profit percentage on cost is 25%, while profit margin on revenue is 20%.
23. Why Profit Margin Matters
Profit margin helps businesses understand how much of their revenue remains as profit after the relevant costs are considered. A business with large sales can still have a small margin if costs are high.
Comparing margins over time can help identify pricing problems, rising costs, inefficient operations, or changes in product mix.
24. Profit and Loss in Retail
Retail businesses frequently calculate profit by comparing acquisition costs with final selling prices. However, retail profitability can also be affected by discounts, returns, damaged goods, payment fees, shipping, storage, employee costs, and promotional spending.
A product that appears profitable at the shelf level may generate a much smaller contribution after all related expenses are considered.
25. Profit and Loss in Online Selling
Online sellers should include marketplace commissions, payment-processing fees, shipping, packaging, advertising, returns, and other selling costs when estimating actual profitability.
For example, if an item sells for $100 but the platform and payment fees total $12 and shipping costs $8, the amount remaining before the product cost is $80. If the product cost is $60, the simplified contribution is $20 rather than the apparent $40 difference between $100 and $60.
26. Profit and Loss for Freelancers
Freelancers can apply the same principles to service income. Revenue may come from project fees, while costs can include software, equipment, internet, subcontractors, advertising, payment fees, and other business expenses.
A freelancer who receives $2,000 for a project but spends $500 on directly related costs has a $1,500 contribution before broader overhead and applicable taxes.
27. Profit and Loss for Reselling
Resellers should calculate the complete acquisition cost rather than looking only at the supplier's listed price. Shipping, marketplace fees, packaging, and other transaction costs can reduce the actual profit.
Keeping these costs in a spreadsheet makes it easier to determine whether a product is genuinely worth reselling.
28. Profit and Loss in Investing
Investors also encounter profit and loss calculations. If an asset is purchased for $1,000 and later sold for $1,200, the basic gain is $200 before applicable transaction costs, taxes, or other adjustments.
If the asset is sold for $900, the basic loss is $100. Investment returns can require more detailed calculations because timing, dividends, interest, fees, currency changes, and taxes may affect the final result.
29. How to Calculate Percentage Gain
A basic percentage gain can be calculated as:
Percentage Gain = (Gain ÷ Original Cost) × 100
If an investment rises from $2,000 to $2,400, the gain is $400.
Percentage gain = ($400 ÷ $2,000) × 100 = 20%.
This basic calculation does not account for additional cash flows or fees.
30. How to Calculate Percentage Loss
For a simple transaction:
Percentage Loss = (Loss ÷ Original Cost) × 100
If something purchased for $2,500 is sold for $2,000, the loss is $500.
Percentage loss = ($500 ÷ $2,500) × 100 = 20%.
31. Profit and Loss With Taxes
Taxes can make real-world profit calculations more complicated. A displayed selling price may include a sales tax or value-added tax that the seller collects on behalf of the government rather than treating the entire amount as business revenue.
Businesses should distinguish between revenue, taxes collected, recoverable taxes, and actual costs according to the rules that apply in their jurisdiction.
32. Profit and Loss With Shipping Costs
Shipping can either be paid by the customer or absorbed by the seller. If the seller pays $15 to ship a product, that amount may reduce the transaction's effective profit.
Always decide whether shipping is part of the product's cost, a separate operating expense, or an amount recovered from the customer. Consistent treatment makes comparisons more meaningful.
33. Profit and Loss With Returns
Product returns can reduce revenue and may create additional costs. Refunds, return shipping, restocking, damaged inventory, and payment reversals can all affect the final result.
For this reason, businesses should measure profitability using actual completed transactions rather than assuming every sale remains final.
34. Break-Even Point
The break-even point is the level of sales at which total revenue equals total costs, resulting in neither profit nor loss.
In a simplified unit-based calculation:
Break-Even Units = Fixed Costs ÷ Contribution Per Unit
Contribution per unit is commonly calculated as selling price per unit minus variable cost per unit.
35. Simple Break-Even Example
Suppose fixed monthly costs are $3,000 and each product sells for $50 with a variable cost of $30. Contribution per unit is $20.
Break-Even Units = $3,000 ÷ $20 = 150 units.
The business needs to sell 150 units to cover the simplified fixed and variable costs under these assumptions.
36. Why Break-Even Analysis Is Useful
Break-even analysis helps businesses understand how many units they need to sell before generating a profit. It can also help with pricing decisions, sales targets, capacity planning, and evaluating new products.
It should be treated as a planning model rather than a guarantee because real costs and sales volumes can change.
37. Common Profit and Loss Calculation Mistakes
One common mistake is confusing selling price with cost price. Another is calculating profit percentage using selling price when the question specifically asks for traditional profit percentage based on cost price.
Other mistakes include ignoring discounts, forgetting transaction fees, excluding shipping costs, mixing tax-inclusive and tax-exclusive amounts, and treating revenue as profit.
38. How to Check a Profit Calculation
After calculating profit, perform a simple reverse check. Add the profit to the cost price and verify that the result equals the selling price.
For a loss, subtract the loss from the cost price and verify that the result equals the selling price.
For example, if cost is $500 and profit is $125, the selling price should be $625. This quick check can identify arithmetic errors.
39. Using a Calculator or Spreadsheet
A calculator is sufficient for simple transactions, while a spreadsheet can be more useful for businesses with many products. A spreadsheet can contain columns for product name, quantity, cost per unit, total cost, selling price, revenue, fees, expenses, profit, and margin.
Using formulas consistently reduces repetitive arithmetic and makes it easier to compare performance across products and periods.
40. A Practical Profit and Loss Worksheet
A simple worksheet can begin with total revenue. Subtract the direct cost of goods or services to calculate gross profit. Then subtract relevant operating expenses to estimate operating profit. Additional items such as interest and taxes can be considered according to the purpose of the analysis.
This approach gives a clearer picture than simply asking whether an individual item was sold above its purchase price.
41. Real-World Example: Small Grocery Business
Imagine a small grocery business purchases inventory for $8,000 during a month and sells the relevant inventory for $11,000. The basic gross profit is $3,000.
If the business has $1,800 in rent, wages, electricity, transportation, packaging, and other operating expenses, the simplified remaining profit is $1,200 before additional applicable costs.
The example shows why business owners should track both product-level profitability and overall operating expenses.
42. Real-World Example: Buying and Selling Electronics
A reseller purchases a laptop accessory for $45 and sells it for $70. The apparent product profit is $25.
If marketplace and payment fees total $7 and packaging and shipping cost $5, the amount remaining after these costs is $13 before other overhead.
This is why a product's advertised markup does not automatically equal its final business profit.
43. Real-World Example: Discounted Product
A store purchases an item for $120 and marks it at $180. During a promotion, the item receives a 20% discount.
The discount is $36, so the final selling price is $144. The basic profit is therefore $24 before additional costs.
The original $60 difference between marked price and cost does not represent the actual profit after the discount.
44. How Pricing Affects Profit
Pricing directly affects the relationship between revenue, sales volume, and profit. Raising the price can increase profit per unit but may reduce demand. Lowering the price can increase sales volume but reduce the amount earned per unit.
Good pricing decisions consider costs, customer demand, competitors, perceived value, business goals, and the level of profit required to operate sustainably.
45. How Sales Volume Affects Total Profit
A low-margin product can still generate significant total profit if it sells in large quantities. Conversely, a high-margin product may produce limited total profit if very few customers purchase it.
Businesses should therefore consider both margin per unit and total contribution rather than relying on a single percentage.
46. Why Revenue Is Not the Same as Profit
Revenue represents money generated from sales, while profit represents what remains after relevant costs and expenses are deducted. A business can report high revenue while earning very little profit if expenses are also high.
This distinction is fundamental when evaluating financial performance.
47. How to Calculate Monthly Profit
To estimate monthly profit, collect the month's revenue and all relevant costs and expenses. Subtract the total costs from total revenue.
Monthly Profit = Monthly Revenue − Monthly Total Costs
For meaningful comparisons, use consistent accounting periods and treatment of expenses.
48. How to Calculate Annual Profit
Annual profit can be calculated by comparing annual revenue with the applicable annual costs and expenses.
Monthly results can be added together, but businesses should also account for annual expenses, inventory changes, adjustments, and other items that may not occur evenly each month.
49. Profit and Loss Statements
A profit and loss statement, often called a P&L statement or income statement, summarizes revenue and expenses over a specified period. It provides a structured view of financial performance.
The exact format depends on the business and accounting framework, but the central concept remains the same: determine revenue and subtract the costs and expenses applicable to the period.
50. How to Improve Profit
Improving profit does not always require raising prices. A business can improve profitability by reducing waste, negotiating supplier costs, improving inventory management, increasing sales volume, reducing unnecessary expenses, improving conversion rates, or focusing on products with stronger contribution margins.
The best approach depends on why current profit is low.
51. Conclusion
Calculating profit and loss begins with a simple comparison between cost and selling price. Profit occurs when the relevant selling amount exceeds the relevant cost, while loss occurs when cost exceeds selling price. Profit and loss percentages provide another way to understand the size of the result relative to the cost.
In real-world situations, however, the calculation should go beyond the basic purchase and selling prices. Discounts, shipping, commissions, taxes, returns, advertising, salaries, rent, utilities, and other expenses can significantly change the final result.
The most useful habit is to separate revenue, direct costs, operating expenses, and final profit. Whether you are a student solving a mathematics problem, a shop owner evaluating a product, a freelancer reviewing a project, or an individual comparing an investment, a clear profit-and-loss calculation can help you make better financial decisions.