Profit Margin Calculator
Calculate gross profit, net profit, profit margins and markup from revenue, cost of goods sold and operating expenses.
Read the GuideBefore you calculate
Net profit here subtracts entered operating expenses from gross profit. Include interest and taxes in expenses if you want an after-tax estimate.
Gross vs. Net Profit Margin
Gross profit margin measures the percentage of revenue remaining after subtracting the Cost of Goods Sold (COGS). Net profit margin goes further by also deducting operating expenses such as rent, salaries, and marketing. Markup is a related metric that expresses profit as a percentage of cost rather than revenue.
Gross Profit = Revenue − COGS | Gross Margin % = Gross Profit / Revenue × 100 | Net Profit = Gross Profit − Operating Expenses | Net Margin % = Net Profit / Revenue × 100 | Markup % = (Revenue − COGS) / COGS × 100Example Scenarios
SaaS Business with High Gross Margin
A software company with $500,000 revenue and $50,000 in server/support costs (COGS) has a 90% gross margin. After $300,000 in R&D and sales expenses (operating), the net margin is 30%. High gross margins give SaaS companies flexibility to invest in growth.
Retail Business with Thin Margins
A grocery store with $1M revenue, $750K COGS, and $200K operating expenses earns a 25% gross margin and just 5% net margin. Small changes in COGS pricing (supplier negotiations) or operating efficiency have outsized impact on profitability.
Methodology & Assumptions
Gross profit = revenue − COGS. Gross margin % = grossProfit / revenue × 100. Net profit = grossProfit − operatingExpenses. Net margin % = netProfit / revenue × 100. Markup = (revenue − COGS) / COGS × 100 (undefined when COGS = 0).
Sources & calculation notes
Maintained by MoneyCalc. Results are estimates based on the inputs and assumptions shown, not personalized financial advice or a lender quote. Default rates are examples unless a specific tax year or official table is identified.
References explain the underlying concepts or rules. They do not endorse or independently certify this implementation.
Calculations run in your browser. Some tools retain settings on this device. Displayed rounding can produce small differences from a statement or contract.