Free Gross Margin Calculator
Gross margin measures how efficiently you turn revenue into profit before paying for anything else. It's the first line of any healthy P&L review.
Results
What the Gross Margin Calculator does
Gross margin is a whole-business (or whole-period) percentage: total revenue minus total cost of goods sold, divided by total revenue. Unlike the Profit Margin Calculator's single-item check, gross margin is calculated across all sales in a period and is the figure that appears on an income statement immediately below revenue.
Methodology and formula
Gross Margin % = (Total Revenue − Cost of Goods Sold) / Total Revenue x 100.
Worked example
- Inputs
- Monthly revenue 85,000; cost of goods sold 34,000.
- Result
- Gross profit 51,000; gross margin 60%.
For every dollar sold across the whole month, 60 cents is left after direct production costs to cover rent, marketing, salaries and eventual net profit. A gross margin this size is healthy for most product businesses but would be considered weak for a SaaS company benchmarked at 70–85%.
When to use this tool
Use this tool for a period-level (monthly or annual) view of production efficiency across your whole revenue base. Use the Profit Margin Calculator for a single item or deal, and the Net Profit Margin Calculator to go further and see what's left after operating expenses, interest and tax.
About the Gross Margin Calculator
The gross margin formula
Gross Margin = (Revenue − COGS) / Revenue × 100. COGS includes anything directly tied to producing what you sold: raw materials, direct labour, packaging, per-order shipping. It excludes rent, marketing and salaries not tied to production.
Gross margin vs profit margin vs net margin
Profit margin (as used elsewhere on this site) usually checks a single sale. Gross margin is the same calculation applied to your whole revenue and cost of goods sold for a period — a business metric, not a per-item one. Net profit margin takes gross margin and subtracts every other expense, interest and tax, so it is always lower.
Why gross margin matters more than revenue
A business doing $1M in revenue at 15% gross margin has $150K to cover every other expense. A business doing $500K at 60% has $300K. Gross margin is the ceiling on everything you can afford — rent, marketing, salaries, profit.
Improving gross margin
Three levers: raise prices (highest impact), renegotiate supplier costs, or shift mix toward higher-margin products. Cutting production waste has smaller but compounding effects.
Frequently asked questions
What counts as COGS?
Is gross margin the same as gross profit?
What's a healthy gross margin?
Related Pricing Tools
Other free tools in the pricing & profitability silo.
Net Profit Margin Calculator
See the full P&L stack: gross margin, operating margin and net margin from revenue, COGS, opex and tax.
Open toolProfit Margin Calculator
Enter your cost and selling price to instantly see gross profit and profit margin percentage.
Open toolProduct Pricing Calculator
Build a selling price from materials, labour, overhead and target margin — with a cost breakdown chart.
Open toolDiscount Calculator
Apply flat or percentage discounts to one price or a list of items. Optional tax. See savings and final price.
Open tool