Gross profit calculator
Gross profit is what is left from sales after the cost of the goods you sold, before rent, salaries and other running costs. This calculator follows a trading account: sales less returns, against opening stock plus purchases and direct expenses, less closing stock.
The formula
Net sales = sales − sales returns.
Cost of goods sold = opening stock + purchases (less returns) + direct expenses − closing stock.
Gross profit = net sales − cost of goods sold. Gross profit margin = gross profit ÷ net sales × 100.
Worked example
| Sales | ₹25,00,000 |
| Less sales returns | ₹50,000 |
| Net sales | ₹24,50,000 |
|---|---|
| Opening stock | ₹3,00,000 |
| Add purchases | ₹16,00,000 |
| Add direct expenses | ₹1,20,000 |
| Less closing stock | ₹3,50,000 |
| Cost of goods sold | ₹16,70,000 |
| Gross profit | ₹7,80,000 |
A garment shop with these figures has a gross profit margin of 31.84% on sales, and a markup of 46.71% on the cost of what it sold.
Gross profit then pays for rent, salaries and other running costs; what remains is net profit. See accounting basics for how the entries behind these figures are passed.
More business calculators
- Business and accounting calculators
- Break-even calculator
- EBITDA calculator
- ROI calculator
- NPV calculator
- IRR calculator
- Payback period calculator
- Working capital calculator
- Current ratio calculator
- Quick ratio calculator
- Debt to equity ratio
- Inventory turnover calculator
- Debtor days calculator
- Depreciation calculator
- Cash flow forecast
- Accounting basics
Questions people ask
What are direct expenses?
Costs of buying or making the goods: freight and cartage inwards, loading, factory wages, power and fuel for production. Office rent, salaries of sales and office staff, and advertising are indirect expenses and go to the profit and loss account instead.
Should GST be included?
No, if you are registered and claim input tax credit. GST charged on sales and GST paid on purchases go to GST accounts, not to sales and purchases. If you cannot claim the credit, the GST on purchases is part of their cost.
Gross profit margin or markup?
Margin divides gross profit by sales; markup divides it by cost. The profit margin and markup calculators convert between them for a single item.
A tax professional can call you back. Asking is free.
Get helpMore calculators
Results are estimates for information only, not financial or tax advice. Rates, rules and limits change, so check with your bank, employer or a qualified adviser before you decide.