Inventory Management

Inventory Gross Margin Calculator with Formula and Worked Examples

Work out gross profit and margin on stock sold. Sales of 74,000 with a cost of goods sold of 51,800 give 22,200 of gross profit, a 30% margin.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the Inventory Gross Margin Calculator

Enter net sales and the cost of the goods sold in the same period.

Read more: How to Use the Inventory Gross Margin Calculator: Steps and a Worked Example

Write-offs and shrinkage

Damaged, expired and lost stock adds to cost of goods sold. A margin that falls with stable prices often points to growing write-offs.

Margin and stock turn together

A product with a low margin that sells quickly can earn more over a year than a high margin product that sits on the shelf. Multiply margin by stock turns to compare items.

The formula

Gross profit = revenue − direct costs; gross margin = gross profit ÷ revenue × 100.

Examples

  • With the default values
    Gross profit: 22,200
    Gross margin: 30%
  • With revenue set to 148000
    Gross profit: 96,200
    Gross margin: 65%

Prepare your inputs

Use revenue and its matching direct costs for the same period. Keep currency and treatment of refunds consistent.

Understand the result

The percentage is profit as a share of revenue, not markup on cost. A positive gross margin can still accompany an operating loss after overhead.

About this version

This page uses a shared calculation method. Industry and country labels provide a browsing context; they do not change the formula or imply specialist or local regulatory validation. Currency labels do not perform currency conversion.

Limitations and assumptions

Before warehouse, staff and overhead costs. Stock write-offs should be included in cost of goods sold for a true figure.

Frequently asked questions

How is cost of goods sold calculated?

Opening stock plus purchases minus closing stock, valued at cost.

Margin or markup?

Margin is profit divided by sales. A 30% margin is about a 43% markup.

How often should I check it?

Monthly, and after each stock count.