Retail Operations

Retail Gross Margin Calculator with Formula and Worked Examples

Work out gross profit and gross margin for a store, a department or a period. Sales of 125,000 with a cost of goods sold of 76,250 leave 48,750 of gross profit, a margin of 39%.

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 Retail Gross Margin Calculator

Enter net sales after returns and discounts, and the cost of the goods sold over the same period.

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

Margin by department

A store-wide margin hides big differences: food may run on thin margins while clothing and accessories carry much higher ones. Calculate margin per department to see where profit really comes from and where promotions are costing too much.

Shrinkage shows up here

Theft, damage and admin errors reduce stock without a sale, which raises the cost of goods sold. A margin that falls while prices and costs are stable often points to rising shrinkage.

The formula

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

Examples

  • With the default values
    Gross profit: 48,750
    Gross margin: 39%
  • With revenue set to 250000
    Gross profit: 173,750
    Gross margin: 69.5%

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

Gross margin here is before staff, rent and other store costs. Use the same stock valuation method in every period or margins will not be comparable.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a share of the sale price; markup is profit as a share of cost. A 39% margin is about a 64% markup.

Should staff discounts be taken off sales?

Yes. Use the money actually received, after all discounts.

How often should I check margin?

Weekly by department is common in retail, with a fuller check after each stock count.