CalculatorMasters

Accounting Gross Profit Margin Calculator Examples

See worked gross profit margin examples for product, service, low-margin, and loss-making sales scenarios.

These examples show how sales revenue and direct costs flow through to cost of goods sold, gross profit, and gross profit margin. Each uses the same basic calculation but a different operating situation.

1

Retail inventory example

Moderate inventory costs with a healthy gross margin.

Input Summary

Sales revenue

$80,000

Materials or inventory cost

$32,000

Direct labor cost

$8,000

Other direct costs

$4,000

Calculation Breakdown

  1. 1Cost of goods sold$32,000 + $8,000 + $4,000$44,000
  2. 2Gross profit$80,000 - $44,000$36,000
  3. 3Gross profit margin($36,000 / $80,000) * 10045.0%

Result Summary

Gross profit margin

45.0%

Accounting Gross Profit Margin Calculator

Cost of goods sold is $44,000, gross profit is $36,000, and gross profit margin is 45.0%.

2

Service business with subcontractors

Service revenue with direct labor and subcontractor costs.

Input Summary

Sales revenue

$50,000

Materials or inventory cost

$2,000

Direct labor cost

$18,000

Other direct costs

$10,000

Calculation Breakdown

  1. 1Cost of goods sold$2,000 + $18,000 + $10,000$30,000
  2. 2Gross profit$50,000 - $30,000$20,000
  3. 3Gross profit margin($20,000 / $50,000) * 10040.0%

Result Summary

Gross profit margin

40.0%

Accounting Gross Profit Margin Calculator

Cost of goods sold is $30,000, gross profit is $20,000, and gross profit margin is 40.0%.

3

Low-margin manufacturing order

High direct costs relative to revenue.

Input Summary

Sales revenue

$120,000

Materials or inventory cost

$78,000

Direct labor cost

$20,000

Other direct costs

$10,000

Calculation Breakdown

  1. 1Cost of goods sold$78,000 + $20,000 + $10,000$108,000
  2. 2Gross profit$120,000 - $108,000$12,000
  3. 3Gross profit margin($12,000 / $120,000) * 10010.0%

Result Summary

Gross profit margin

10.0%

Accounting Gross Profit Margin Calculator

Cost of goods sold is $108,000, gross profit is $12,000, and gross profit margin is 10.0%.

4

Negative gross margin example

Loss-making sales before overheads.

Input Summary

Sales revenue

$30,000

Materials or inventory cost

$14,000

Direct labor cost

$12,000

Other direct costs

$7,000

Calculation Breakdown

  1. 1Cost of goods sold$14,000 + $12,000 + $7,000$33,000
  2. 2Gross profit$30,000 - $33,000-$3,000
  3. 3Gross profit margin(-$3,000 / $30,000) * 100-10.0%

Result Summary

Gross profit margin

-10.0%

Accounting Gross Profit Margin Calculator

Cost of goods sold is $33,000, gross profit is -$3,000, and gross profit margin is -10.0%.

How to Read Your Results

Cost of goods sold is the combined amount of materials, direct labor, and other direct costs entered.

Gross profit is a currency amount, while gross profit margin is a percentage of sales revenue.

A 40% gross margin means $0.40 remains from each $1.00 of sales before indirect expenses.

Compare margins only when periods, revenue recognition, and cost classifications are reasonably consistent.

A negative margin means the entered direct costs are higher than the entered sales revenue.

Assumptions & Important Notes

  • All amounts use the same currency and accounting period.
  • The direct cost categories entered are complete and do not overlap.
  • General overheads, financing costs, and taxes are not included.
  • Examples are educational estimates, not financial or tax advice.

Related Examples

Frequently Asked Questions

Can I use the calculator for a service business?

Yes. Enter direct labor, subcontractors, job-specific supplies, and other costs that are directly tied to delivering the services.

Why might two businesses have different gross margins?

Their pricing, product or service mix, supplier costs, labor model, volume, and cost classifications may differ.

Should I compare monthly gross margins with annual gross margins?

You can, but comparisons are more meaningful when the same accounting treatment and seasonality considerations are applied.

Does a 40% gross margin mean the business makes a 40% net profit?

No. Gross margin excludes indirect operating expenses, interest, taxes, and other items that can reduce net profit.

Ready to calculate your own result?

Use the live calculator with your own inputs, timing, and preferences.

Try Accounting Gross Profit Margin Calculator