How to Use This Profit & Loss Calculator
Our Profit & Loss Calculator is designed for simplicity and speed. Whether you are a student solving textbook problems, a small business owner tracking margins, or a stock trader evaluating returns, this tool delivers instant, accurate results without any sign-up or software installation.
- Enter the Cost Price (CP): This is the amount you paid to purchase or manufacture the item. It could be the wholesale cost, production cost, or acquisition price.
- Enter the Selling Price (SP): This is the amount at which you sold or intend to sell the item to the customer.
- View Your Results: The calculator instantly displays profit or loss amount, profit/loss percentage, markup percentage, and profit margin percentage.
The calculations happen in real time as you type. You can experiment with different selling prices to find the optimal pricing strategy that meets your target profit margin. All computations follow standard mathematical formulas used in accounting and finance worldwide.
What is Profit and Loss?
In commerce and finance, profit and loss describe the financial outcome of a transaction. When you sell a product or service for more than it cost you, you earn a profit. When you sell it for less than what you paid, you incur a loss. These fundamental concepts form the basis of all business accounting.
Key Definitions
- Cost Price (CP): The original price paid to acquire or produce goods. This includes purchase cost, transportation, handling, and any other expenses incurred before the item is ready for sale.
- Selling Price (SP): The price at which goods are sold to the buyer. This is the amount the customer pays for the product or service.
- Profit: When SP > CP, the difference (SP − CP) is profit. It represents the financial gain from the transaction.
- Loss: When CP > SP, the difference (CP − SP) is loss. It represents the financial deficit from the transaction.
Understanding profit and loss is essential for pricing decisions, budget planning, investment evaluation, and overall financial health assessment of any business or personal finance activity.
Profit & Loss Formulas
Mastering these formulas allows you to solve any profit and loss problem quickly:
| Formula | Expression |
|---|---|
| Profit | SP − CP |
| Loss | CP − SP |
| Profit Percentage | (Profit / CP) × 100 |
| Loss Percentage | (Loss / CP) × 100 |
| SP from Profit % | CP × (1 + Profit% / 100) |
| CP from SP & Profit % | SP / (1 + Profit% / 100) |
| Marked Price | SP / (1 − Discount% / 100) |
| Discount | Marked Price − SP |
| Discount % | (Discount / Marked Price) × 100 |
These formulas are interrelated. If you know any two values among CP, SP, and profit/loss percentage, you can derive the third. Our calculator handles all these computations automatically — just provide the inputs and get instant results.
Profit & Loss Table — Worked Examples
The following table illustrates various scenarios of profit and loss with calculated percentages:
| Item | CP (₹) | SP (₹) | Profit/Loss (₹) | Percentage |
|---|---|---|---|---|
| Mobile Phone | 15,000 | 18,500 | +3,500 (Profit) | 23.33% |
| Laptop | 45,000 | 42,000 | −3,000 (Loss) | 6.67% |
| Book | 200 | 350 | +150 (Profit) | 75.00% |
| Used Car | 3,50,000 | 3,20,000 | −30,000 (Loss) | 8.57% |
| Handmade Craft | 500 | 1,200 | +700 (Profit) | 140.00% |
These examples demonstrate how the same formula applies across different price ranges and product categories. The percentage gives you a normalized measure to compare profitability regardless of the absolute amounts involved.
Types of Profit
In business and accounting, profit is categorized into several types depending on what expenses are deducted:
Gross Profit
Gross Profit = Revenue − Cost of Goods Sold (COGS). This measures the profit earned directly from selling products before accounting for overhead costs like rent, salaries, and utilities. A high gross profit indicates efficient production or sourcing. For example, if a retailer buys goods for ₹60,000 and sells them for ₹1,00,000, the gross profit is ₹40,000.
Net Profit
Net Profit = Revenue − All Expenses (COGS + Operating Expenses + Taxes + Interest). Also called the "bottom line," net profit represents the true profitability of a business after every single expense is accounted for. Investors and stakeholders primarily focus on net profit to assess business health.
Operating Profit
Operating Profit = Gross Profit − Operating Expenses. It excludes non-operating income and expenses like interest and taxes. This metric shows how efficiently a business runs its core operations without the influence of financing decisions or tax strategies.
Markup vs Margin
Though often confused, markup and margin are different metrics. Markup is calculated on cost price: (Profit / CP) × 100. Margin is calculated on selling price: (Profit / SP) × 100. For the same transaction, markup percentage is always higher than margin percentage. A 50% markup on a ₹100 item gives SP = ₹150, but the margin is only 33.33% (₹50 / ₹150 × 100).
Real-World Examples
Buying and Selling Products
A shopkeeper buys 100 units of a product at ₹50 each (total CP = ₹5,000). He sells 80 units at ₹75 each (revenue = ₹6,000) and the remaining 20 units at a clearance price of ₹40 each (revenue = ₹800). Total revenue = ₹6,800. Profit = ₹6,800 − ₹5,000 = ₹1,800. Profit percentage = (1,800 / 5,000) × 100 = 36%. This demonstrates how mixed pricing strategies still yield overall profit.
Stock Trading
An investor purchases 50 shares of a company at ₹320 per share (total investment = ₹16,000). After three months, the price rises to ₹385 per share. If sold, the total returns = 50 × ₹385 = ₹19,250. Profit = ₹19,250 − ₹16,000 = ₹3,250. Profit percentage = (3,250 / 16,000) × 100 = 20.31%. However, the investor must also account for brokerage fees and capital gains tax to determine actual net profit.
Business Revenue Analysis
A SaaS company generates monthly revenue of ₹10,00,000. Its COGS (server costs, third-party APIs) is ₹2,50,000, and operating expenses (salaries, rent, marketing) are ₹5,00,000. Gross Profit = ₹10,00,000 − ₹2,50,000 = ₹7,50,000 (75% gross margin). Operating Profit = ₹7,50,000 − ₹5,00,000 = ₹2,50,000 (25% operating margin). After taxes (30%), Net Profit = ₹1,75,000. Understanding these layers helps businesses identify where to optimize costs.
Profit Margin vs Markup — The Key Difference
Many business owners, students, and even professionals confuse profit margin with markup. While both express profitability as a percentage, they use different denominators, which leads to significantly different numbers for the same transaction.
| Metric | Formula | Denominator | Example (CP=₹80, SP=₹100) |
|---|---|---|---|
| Markup | (Profit / CP) × 100 | Cost Price | (20/80) × 100 = 25% |
| Margin | (Profit / SP) × 100 | Selling Price | (20/100) × 100 = 20% |
Key insight: A 50% markup does NOT mean 50% margin. If you mark up an item by 50% on a ₹100 cost (SP = ₹150), your margin is only 33.33% (₹50/₹150). Conversely, to achieve a 50% margin, you need a 100% markup (double the cost price). This distinction is critical when setting prices — retailers often target a specific margin, and miscalculating by using markup instead can lead to underpricing.
Quick conversion: Margin = Markup / (1 + Markup). Markup = Margin / (1 − Margin). For example, a 25% markup equals a 20% margin: 0.25 / 1.25 = 0.20. Use our calculator to verify these conversions instantly.
Frequently Asked Questions
1. What is the difference between profit and revenue?
Revenue is the total money received from selling goods or services — it's the "top line." Profit is revenue minus all costs and expenses. A company can have high revenue but low (or negative) profit if expenses are too high. Always look at profit, not just revenue, to assess financial health.
2. How do I calculate profit margin?
Profit Margin (%) = (Net Profit / Revenue) × 100. For a single item: Margin = ((SP − CP) / SP) × 100. If you buy at ₹400 and sell at ₹500, margin = (100/500) × 100 = 20%. This tells you that 20% of your selling price is profit.
3. What is a break-even point?
The break-even point (BEP) is where total revenue equals total costs — no profit, no loss. BEP (units) = Fixed Costs / (SP per unit − Variable Cost per unit). If fixed costs are ₹1,00,000, SP is ₹500, and variable cost is ₹300, BEP = 1,00,000 / (500 − 300) = 500 units. You need to sell 500 units before you start making profit.
4. How is profit percentage different from profit margin?
Profit percentage is calculated on cost price: (Profit/CP) × 100. Profit margin is calculated on selling price: (Profit/SP) × 100. They measure the same profit but relative to different bases. Profit percentage is more common in competitive exams, while profit margin is preferred in business and finance.
5. Can I calculate loss percentage with this tool?
Yes. Simply enter a selling price lower than the cost price. The calculator automatically detects a loss scenario and displays the loss amount and loss percentage. Loss % = ((CP − SP) / CP) × 100.
6. What is a good profit margin for a business?
It varies by industry. Retail businesses typically operate on 2-5% net margins. Software companies can achieve 20-40%+ net margins. Service businesses often see 10-20%. The key is to benchmark against your specific industry rather than applying a universal standard.
7. How does discount affect profit?
A discount reduces selling price, directly reducing profit. If an item has CP = ₹100, marked price = ₹180, and you give 20% discount, SP = ₹180 × 0.80 = ₹144. Profit = ₹144 − ₹100 = ₹44 (44% profit). Without discount, profit would be ₹80 (80%). Always calculate whether the discounted SP still exceeds CP before offering discounts.
8. How do I find cost price if I know SP and profit%?
CP = SP / (1 + Profit%/100). For example, if SP = ₹600 and profit is 20%, then CP = 600 / 1.20 = ₹500. For loss scenarios: CP = SP / (1 − Loss%/100). If SP = ₹450 and loss is 10%, then CP = 450 / 0.90 = ₹500.
Related Tools
Explore more free calculators from WoHoTech to solve everyday math and finance problems:
- Percentage Calculator— Find percentages, percentage change, and percentage of a number.
- Discount Calculator— Calculate discount amount and final price after discount.
- GST Calculator— Compute GST inclusive and exclusive prices with CGST/SGST breakdown.
- ROI Calculator— Measure return on investment for any asset or project.
- EMI Calculator— Calculate monthly EMI for home loans, car loans, and personal loans.
- Sales Tax Calculator— Determine sales tax amount and total price for any purchase.
About This Calculator
The WoHoTech Profit & Loss Calculator is a free, open-access tool built for students, entrepreneurs, traders, and anyone who needs quick profit and loss calculations. It runs entirely in your browser — no data is sent to any server, ensuring complete privacy. Calculations are performed using IEEE 754 double-precision arithmetic for accuracy up to 15 significant digits.
Last updated: June 2026. Built with precision by the WoHoTech team. If you found this tool helpful, share it with friends and colleagues who could benefit from quick profit and loss calculations.