
Accounting Gross Profit Margin Per-Unit Formula
Learn how to calculate gross profit per unit, gross profit margin, markup, revenue, and total gross profit from price, cost, and sales volume.
A per-unit gross profit calculation shows the amount left from each sale after direct costs are deducted. It helps separate product-level gross profitability from overhead, financing, and tax costs that are not included in gross profit.
- 100% Free
- No Sign-Up Required
- Private & Secure
- Mobile Friendly
Gross Profit per Unit
Where:
Subtract the direct cost of one unit from its selling price. The remainder is the gross profit generated by that unit before indirect business expenses.
Variables Explained
| Variable | What It Means | Unit |
|---|---|---|
| sellingPricePerUnit - Selling Price per Unit | Revenue received for one unit before sales taxes, unless taxes are included in the entered price. | currency |
| costPerUnit - Cost of Goods Sold per Unit | Direct cost attributable to one unit, such as purchase cost, direct materials, or direct labour. | currency |
| grossProfitPerUnit - Gross Profit per Unit | The amount remaining from a unit sale after direct unit cost is deducted. | currency |
| unitsSold - Units Sold | Number of units sold or expected to be sold. | number |
| grossProfitMargin - Gross Profit Margin | Gross profit as a percentage of selling price. | percent |
| markupPercentage - Markup Percentage | Gross profit as a percentage of direct cost. | percent |
Step-by-Step Calculation
Enter the selling price
Use the amount received for one unit, normally before sales taxes and after any discounts that are intended to be reflected in the calculation.
sellingPricePerUnit
Enter the direct cost per unit
Include costs directly linked to producing, purchasing, or delivering the unit under the chosen costing approach.
costPerUnit
Calculate gross profit per unit
This is the unit selling price less its direct cost.
grossProfitPerUnit = sellingPricePerUnit - costPerUnit
Calculate gross profit margin
Margin uses selling price as the denominator, so it shows the share of sales revenue remaining after direct costs.
grossProfitMargin = (grossProfitPerUnit / sellingPricePerUnit) * 100
Calculate markup on cost
Markup uses direct cost as the denominator. The max value prevents division by zero when a zero cost is entered.
markupPercentage = (grossProfitPerUnit / max(costPerUnit, 0.01)) * 100
Calculate total gross profit
Multiply gross profit per unit by the number of units sold. This result is before indirect expenses.
totalGrossProfit = grossProfitPerUnit * unitsSold
Example: A product priced at $50 with a $30 direct cost
Gross profit per unit
$50.00 - $30.00
$20.00 per unit
Gross profit margin
($20.00 / $50.00) * 100
40.00%
Markup on cost
($20.00 / $30.00) * 100
66.67%
Total revenue
$50.00 * 100
$5,000.00
Total gross profit
$20.00 * 100
$2,000.00
Final Result
The estimated gross profit is $20.00 per unit, the gross profit margin is 40.00%, and total gross profit for 100 units is $2,000.00.
Assumptions
- ✓The selling price and direct cost are measured on a consistent per-unit basis.
- ✓The selling price excludes sales taxes unless the entered amount includes them.
- ✓Cost per unit represents cost of goods sold or other direct costs rather than indirect operating expenses.
- ✓Every unit is assumed to have the same selling price and direct cost.
Limitations
- !Actual reported gross profit can differ because of inventory valuation, returns, allowances, shrinkage, or cost allocation methods.
- !The calculation does not include overhead, payroll not treated as direct labour, marketing, interest, or income tax.
- !A single average unit cost may not reflect different product variants, customer discounts, or changing supplier costs.
- !A positive gross profit does not necessarily mean the product or business has positive net profit.
Common Mistakes to Avoid
Using gross margin and markup as though they are the same percentage.
Including sales tax in price but excluding it from costs, or using inconsistent tax treatment.
Entering overhead such as rent or general administration as direct cost when calculating standard gross profit.
Using a list price instead of the actual average selling price after discounts and refunds.
Forgetting to update cost per unit when supplier prices, freight, or materials change.
Related Formulas
Frequently Asked Questions
What is the formula for gross profit per unit?
Gross profit per unit equals selling price per unit minus direct cost per unit.
How is gross profit margin calculated per unit?
Divide gross profit per unit by selling price per unit and multiply by 100.
Why is markup higher than gross margin?
Markup is based on cost, while gross margin is based on selling price. Because cost is lower than selling price for a profitable unit, the markup percentage is usually higher.
Can gross profit margin be negative?
Yes. A negative gross margin means the direct cost per unit is greater than the selling price per unit.
Does gross profit include overhead?
Normally no. Gross profit generally subtracts direct costs or cost of goods sold, while overhead is considered later when assessing operating or net profit.
Ready to calculate your result?
Use the calculator to get instant results with your own inputs.