BCBusiness Calculators

Profit Margin Calculator

Enter revenue and costs to see your gross, operating, and net margin in real time — plus a waterfall chart showing how dollars flow from top line to bottom line.

Gross Profit
$60,000.00
Gross Margin
60.00%
Operating Profit
$35,000.00
Operating Margin
35.00%
Net Profit
$29,750.00
Net Margin
29.75%
Profit waterfall

How to calculate profit margin

Profit margin is the percentage of revenue you keep as profit after subtracting costs. Three margins matter for any small business. Gross margin is revenue minus cost of goods sold (COGS) divided by revenue. Operating margin subtracts operating expenses like rent, salaries, and marketing. Net margin is what is left after taxes. Each tells a different story, and if you only track one, you are flying with one eye closed.

The calculator above walks through all three. You enter revenue, COGS, operating expenses, and your effective tax rate. It shows the dollar amounts and the percentage margins, and the bar chart visualizes how revenue is whittled down at each step. Plug in your real numbers from last quarter and you will immediately see which cost layer is eating the most margin.

Gross margin vs net margin — the difference that matters

Gross margin tells you whether your product economics work. If you sell a coffee for $5 and the beans, cup, and lid cost $1.50, your gross margin is 70%. That is great. If it is 20%, you cannot scale — every new sale earns you almost nothing to cover rent, wages, marketing, or profit.

Net margin tells you whether the whole business works. You might have a 70% gross margin coffee shop that still loses money because rent, payroll, utilities, and debt service exceed gross profit. Net margin is the final report card. Healthy small businesses typically run a net margin of 5–15%. Software and professional services can hit 20–30%+. Grocery and restaurants often run at 2–6%, which is why volume matters.

Industry benchmarks for profit margin

Margin benchmarks vary wildly by industry, so comparing a landscaping company to a SaaS startup is useless. Here are rough ranges to sanity-check your numbers.

  • SaaS and software: 70–85% gross margin, 10–25% net margin at scale.
  • Professional services / agencies: 40–60% gross, 10–20% net.
  • Ecommerce (physical products): 30–50% gross, 5–15% net.
  • Restaurants: 60–70% gross on food, 3–9% net.
  • Construction and trades: 20–30% gross, 4–10% net.
  • Retail: 25–45% gross, 2–6% net.

If your margin is well below the range for your industry, you have a pricing or cost problem. If it is above, make sure you are pricing competitively enough to keep market share.

Five ways to improve profit margin

Once you know your margins, the question is how to improve them. Margin improvement compounds — a two-point lift on 15% net margin is a 13% boost to net income. These are the levers that actually move the needle.

  1. Raise prices. Most small businesses are afraid of this and underprice by 10–30%. A 5% price increase often flows almost entirely to the bottom line because costs stay fixed.
  2. Reduce COGS. Renegotiate with suppliers, buy in larger lot sizes, or switch to lower-cost equivalents that preserve perceived quality.
  3. Cut operating expenses. Audit every recurring subscription, tool, and service annually. Most businesses find 5–15% of opex is pure waste.
  4. Mix-shift to higher-margin products. Feature and push the items with 70% margin instead of the 30% margin loss leaders.
  5. Fire low-margin customers. The 20% of customers generating the most support burden often produce the lowest margin.

Common mistakes when calculating profit margin

Accounting shortcuts can make margin look better or worse than reality. Watch for these traps.

  • Ignoring owner compensation. If you do not pay yourself a market salary, your net margin is inflated.
  • Lumping COGS and opex together. This masks whether the problem is pricing or overhead.
  • Using cash accounting for margin. Margin should be calculated on accrual basis so deferred revenue and unpaid bills do not distort it.
  • Forgetting credit card and payment fees. A 2.9% processing fee eats 3 points of margin on every transaction.
  • Excluding shipping and fulfillment. For ecommerce, these are real COGS, not marketing expenses.

Gross margin formula and a worked example

The gross margin formula is simple: (Revenue − COGS) / Revenue × 100. If you did $200,000 in revenue and $80,000 in COGS, gross profit is $120,000 and gross margin is 60%. The calculator above layers operating expenses and tax on top so you can see how that 60% becomes the net margin you actually take home.

Say that same business has $70,000 in operating expenses and a 20% tax rate. Operating profit is $50,000 (25% operating margin). Taxes are $10,000. Net profit is $40,000 (20% net margin). That is a healthy small business. If operating expenses creep to $110,000, you are losing money — and the margin calculator will flash that instantly so you can react.

When to recalculate your margins

Run the profit margin calculation monthly at minimum. Most small business owners look at revenue every week but margin only at tax time — which is too late. If costs drift up 3% month over month without price adjustments, in a year you have lost a third of your net margin. The five minutes it takes to run the numbers each month is the highest-ROI task in your business.

Pair this with the break-even calculator to know how many units you need to sell each month, and the pricing calculator when you are ready to lift prices.

More free business tools

Need a dashboard that tracks all of these metrics for you? Powered by Digital Dashboard Hub →