How to Calculate Profit Margin Percentage: Formulas & Examples

Every business owner needs to understand profit margins. Whether you sell physical products online, run a local retail store, or offer client services, your profit margin determines how much actual money stays in your bank account after covering expenses.

Profit margin measures the percentage of revenue that turns into net profit. If your business earns $100 in sales and incurs $70 in costs, your net profit is $30, giving you a 30 percent profit margin.

Calculate profit margin, markup, and gross revenue instantly. Switch between cost, revenue, and target margin modes.

Open Margin Calculator

The Profit Margin Formula

Calculating profit margin percentage requires two basic financial numbers: total sales revenue and total costs (cost of goods sold or operating expenses).

Profit Margin (%) = [(Total Revenue - Total Cost) / Total Revenue] x 100

Alternatively, since profit equals revenue minus cost, the simplified formula is:

Profit Margin (%) = (Net Profit / Total Revenue) x 100

Step-by-Step Margin Calculation Example

Let us walk through a practical retail pricing scenario:

  1. Determine your product cost: You purchase a wholesale item for $40.
  2. Set your selling price: You list the item in your store for $100.
  3. Calculate gross profit: $100 revenue minus $40 wholesale cost equals $60 gross profit.
  4. Apply the margin formula: Divide $60 profit by $100 revenue ($60 / $100 = 0.60).
  5. Convert to percentage: Multiply 0.60 by 100 to get a 60% profit margin.

Gross Profit Margin vs Net Profit Margin

Businesses track two primary types of profit margins:

Metric Formula What It Measures
Gross Margin [(Revenue - COGS) / Revenue] x 100 Efficiency of direct production or wholesale cost.
Net Margin [(Revenue - Total Expenses) / Revenue] x 100 Overall profitability after rent, marketing, taxes, and overhead.

What Is a Good Profit Margin?

A good profit margin varies significantly by industry. According to financial benchmark data:

To analyze your product prices and compare markup against profit margin, try our free Margin Calculator and Percentage Calculator.

Published by the QuixCalc Team. Financial calculations aligned with standard accounting guidelines. Last updated: August 2026.

Featured & Listed On
Fazier badge
Featured on Twelve Tools
Featured on Findly.tools
TinyLaunch Badge
QuixCalc β€” Featured on Smol Launch
Featured on TheDevToolsDir
NoLogin Verified