Profit Margin Calculator
Calculate gross profit, gross margin, operating profit, and operating margin from revenue, cost of goods sold, and operating expenses on the income statement.
Direct costs of producing what you sold: raw materials, direct labor, packaging, payment processing.
Overhead: rent, non-production salaries, software, marketing, insurance. Does not scale directly with production.
Gross margin is a pricing and production-efficiency metric. Operating margin captures whether the business scales enough to cover its fixed cost base. Net margin (not computed here; that requires interest, taxes, and non-operating items) goes one level further.
About this tool
Profit margin is the ratio most commonly quoted to describe how a business is doing financially, yet it is frequently confused with markup, with gross profit, or with unit economics. This tool builds the standard income statement two levels deep so you can see gross and operating margins from a single set of inputs: revenue, cost of goods sold, and operating expenses.
Gross margin tells you what fraction of revenue survives the direct cost of producing what you sold. It is a pricing and production-efficiency metric. Operating margin tells you what fraction of revenue survives both direct cost and overhead. It is the better overall health indicator because it captures whether the business scales enough to cover its fixed cost base. Net margin (not computed here; requires interest, taxes, and other non-operating items) goes one level deeper to the bottom line.
Typical margin ranges vary widely by industry. What matters is not the absolute number but the trend against your own history and the comparable for your industry. See the break-even analysis tool for the contribution-margin view of the same underlying economics.
How it works
Gross profit = revenue - COGS. Cost of goods sold is the direct cost of producing what you sold: raw materials, direct labor, packaging, payment processing. Excludes rent, admin salaries, marketing, and other overhead.
Gross margin % = gross_profit / revenue × 100. Expressed as a percentage of revenue, this is the single best metric for whether your pricing covers your direct cost of doing business.
Operating profit = gross_profit - operating_expenses. Operating expenses (opex) are all the overhead costs that do not vary directly with production volume: rent, salaries of non-production staff, software subscriptions, marketing, insurance.
Operating margin % = operating_profit / revenue × 100. This is often called "operating income margin" or EBIT margin in financial statements. Formal net margin goes one level further by subtracting interest and taxes; most small businesses focus on operating margin because interest and tax are a function of financing structure rather than business performance.
Examples
Strong result. 60% gross margin is typical for SaaS, consulting, or specialty retail; 25% operating margin comes from opex tightly controlled relative to gross profit. The business is profitable across both the unit-economics line and the overhead line.
Mid-market retail or full-service restaurant profile. 36% gross margin is typical for these categories; 6% operating margin means for every dollar of revenue, six cents survives as operating income. Thin but viable at scale.
High 70% gross margin but opex exceeds gross profit. The business has a great unit-level product but is overbuilt on overhead. Either grow revenue to cover opex or cut opex to match current revenue. Common profile for early-stage SaaS pre-scale.
When to use
Use this at month-end or quarter-end to check whether gross and operating margins are tracking to plan, when evaluating whether to add a fixed cost (new hire, new office), or when comparing your business to published benchmarks for your industry. For project-level profitability on a per-engagement basis, use the project profitability calculator instead. For the break-even-volume perspective on the same underlying costs, see the break-even analysis tool.
Related concepts
Frequently asked questions
What is the difference between gross and operating margin?
Gross margin is revenue minus the direct cost of what you sold. It measures unit economics. Operating margin is gross margin minus the overhead of running the business (rent, administrative salaries, marketing). It measures whether the whole operation is profitable after scale costs.
How is margin different from markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of cost. The same dollar of profit is a smaller percentage when expressed as margin than as markup. A 50% markup on a $10 item sells for $15, giving a 33% margin. Use the markup vs margin tool to convert between them.
Should I use net margin instead?
Net margin subtracts interest, taxes, and one-time items from operating profit. For small businesses where the owner controls capital structure and tax elections, net margin is often less informative than operating margin for making business decisions. Use operating margin for operations, net margin for GAAP financial reporting.
Sources
- SBA Small Business Administration, Manage your finances
(primary, accessed Apr 16, 2026)
Federal small-business agency reference for basic financial reporting including income statement structure.
Related tools
Break-Even Analysis Calculator
Calculate break-even units and revenue for a business using fixed costs, price per unit, and variable cost per unit. Standard managerial accounting formula.
Markup vs Margin Calculator
Convert between markup (% of cost) and margin (% of price), and compute selling price from either. Fixes the single most common small-business pricing mistake.
Inventory Turnover Calculator
Calculate inventory turnover ratio and days sales of inventory from annual COGS and beginning/ending inventory values. Standard retail and wholesale metric.