Skip to content

Profit Margin Calculator

Calculate gross, operating, and net profit margins from revenue and costs. Essential for business analysis.

Profit Margin Calculator tool

Loading...

Example

Input: Revenue $100,000, COGS $70,000, operating expenses $10,000, interest and taxes $5,000

Result: Gross Margin 30.00%, Operating Margin 20.00%, Net Margin 15.00% (Net Profit $15,000.00)

Gross profit 30,000 / 100,000 = 30%; operating profit 20,000 / 100,000 = 20%; net profit 15,000 / 100,000 = 15%.

  1. Enter the revenue (total sales) amount.
  2. Enter the cost of goods sold (COGS) or total expenses.
  3. View the gross profit margin percentage and dollar amount.
  4. Compare gross margin, operating margin, and net margin if additional costs are entered.
  5. Click the copy button to copy any margin result.

Gross, Operating and Net Profit Margin

Profit margin is the share of revenue you keep as profit. With $100,000 in sales and $70,000 in cost of goods sold, the gross margin is 30%. After $10,000 of operating costs, the operating margin is 20%. After $5,000 of interest and taxes, the net margin is 15%.

Enter revenue and cost of goods sold (COGS), which is the direct cost of what you sold. The tool shows the gross margin, the gross profit and the markup on cost. Add operating expenses or interest and taxes, and it also shows the operating and net margins with their dollar profits. Leave those fields at 0 if you only need the gross figure.

Each margin answers a different question. Gross margin shows whether your products or services are priced well above their direct cost. Operating margin shows whether the business covers rent, wages, marketing and other running costs. Net margin is the bottom line after everything. Margins mean most when compared: with your own past results, or with businesses of a similar type. What counts as healthy varies widely between industries. A grocery store and a software company can both be well run with very different margins.

A margin is not the same as markup. A 30% gross margin comes from a 42.9% markup on cost. The Markup vs Margin Calculator explains the link. To find how many sales cover your costs, try the Break-Even Calculator.

Formula / How It Works

Gross Margin = ((Revenue - COGS) / Revenue) x 100. Operating Margin = ((Revenue - COGS - Operating Expenses) / Revenue) x 100. Net Margin = (Net Income / Revenue) x 100.

Frequently Asked Questions

Divide profit by revenue and multiply by 100. For gross margin, profit is revenue minus cost of goods sold. With $100,000 revenue and $70,000 COGS, gross margin is 30,000 / 100,000 x 100 = 30%. Use operating or net profit instead for those margins.
Gross margin only subtracts the direct cost of the goods or services sold. Net margin subtracts everything: COGS, operating expenses, interest and taxes. Net margin is always lower and shows what the business actually keeps from each dollar of sales.
It depends on the industry. Businesses with low costs per sale, such as software, often have high gross margins, while grocery and retail margins tend to be thin. Compare with similar businesses and with your own past results. An accountant can help you set a sensible target.
Markup is gross profit divided by cost, while gross margin is gross profit divided by revenue. Showing both helps when you set prices from cost but report in margins. In the example of $100,000 revenue and $70,000 COGS, the gross margin is 30% and the markup is 42.86%.

Related Tools

Markup vs Margin Calculator

Enter cost and selling price to see markup and margin percentages side by side, plus the profit per unit.

Finance and Business

ROI Calculator

Calculate return on investment with percentage gain or loss, annualized ROI, and total profit for any investment.

Finance and Business

Break-Even Calculator

Calculate the break-even point for your business. Find how many units or revenue needed to cover all costs.

Finance and Business

Discount Calculator

Calculate the final price after a percentage discount. See savings amount, discounted price, and stacked discounts.

Finance and Business

Compound Interest Calculator

Calculate compound interest with visual chart showing growth over time. Supports various compounding frequencies.

Finance and Business

Invoice Generator

Create simple, professional invoices with line items, tax, and notes. Download as a PDF or print directly.

Finance and Business