Free • No login required

Gross Margin Calculator

Calculate the gross margin of your retail products to ensure you're pricing for profit.

$
$

Fill in the fields above and click Calculate to see your results.

How to use

Enter your net sales revenue (total sales after returns and discounts) and your cost of goods sold — the direct cost of the products you sold, including purchase price, inbound shipping, and import duties. The calculator instantly shows your gross margin percentage and gross profit in absolute terms.

Use gross margin to judge whether your pricing covers product costs with enough left over for rent, salaries, and marketing. Track it monthly: a falling margin usually means supplier prices crept up or you are discounting too aggressively. If you sell multiple product lines, run each category separately — a blended number can hide one line that quietly loses money.

How it's calculated

Gross Margin %

((revenue - cogs) / revenue) * 100

Gross Profit

revenue - cogs

Examples

Apparel boutique

  • Cost of Goods Sold (COGS):100,000,000
  • Net Sales Revenue:200,000,000

Result

  • Gross Profit:100,000,000
  • Gross Margin %:50

A boutique selling 200M₫ of clothing that cost 100M₫ to source keeps a 50% gross margin — right at the healthy benchmark for apparel. Half of every sale is available to cover rent, staff, and profit.

Mini-mart (grocery)

  • Cost of Goods Sold (COGS):240,000,000
  • Net Sales Revenue:300,000,000

Result

  • Gross Profit:60,000,000
  • Gross Margin %:20

A mini-mart with 300M₫ revenue and 240M₫ COGS earns a 20% margin — typical for grocery, which relies on volume rather than per-item profit. At this margin, controlling shrinkage and spoilage matters more than raising prices.

Industry Benchmarks

Metric Typical Range
Absolute gross profit should at least cover fixed operating costs (rent, payroll, utilities) with 10–15% of revenue left as operating buffer. —
General retail averages ~45%, but ranges widely: grocery 20–25%, apparel 45–55%, electronics 10–15%, cosmetics 55–65%. 45 %

Data source: CalcVault editorial; NYU Stern Margin by Sector (2025); VN retail industry reports

Frequently Asked Questions

What is a good gross margin for retail?

A healthy gross margin for retail is typically between 30% and 50%, but it depends heavily on the category. Grocery stores operate around 20–25%, apparel and accessories often reach 50%+, while electronics can be as thin as 10–15%. Compare against your own category, not retail overall.

What is the difference between gross margin and markup?

Gross margin is profit as a percentage of the selling price, while markup is profit as a percentage of cost. A product bought for 100,000₫ and sold for 150,000₫ has a 50% markup but only a 33.3% gross margin. Confusing the two is one of the most common retail pricing mistakes.

Should COGS include shipping and import fees?

Yes. Cost of goods sold should include every direct cost of getting the product ready to sell: the purchase price, inbound freight, customs duties, and non-refundable taxes. Leaving these out inflates your margin and can make an unprofitable product look healthy.

How often should I review my gross margin?

Monthly at minimum, and weekly for high-volume or promotion-heavy stores. Margins drift when supplier prices change, exchange rates move, or discounts pile up. A monthly review catches these shifts before they wipe out a whole quarter's profit.
CalcVault Editorial Team

CalcVault Editorial Team

Verified Content Team

The CalcVault Editorial Team is a group of finance, health, and mathematics specialists dedicated to producing accurate, bilingual calculator content for Vietnamese and global small business owners. Every formula on CalcVault undergoes rigorous source verification against authoritative bodies including the IRS, CFPB, CDC, WHO, and NIST before publication. Our process includes independent peer review, structured fact-checking, and scheduled content audits to ensure every calculator remains up-to-date with the latest regulatory and scientific standards. We are committed to editorial independence from our advertising partners.

Areas of Expertise

Personal FinanceVietnam Tax & PayrollHealth Metrics & BMIApplied MathematicsBusiness LendingSMB Financial Planning

Related Calculators

Related Calculators