← Articles

Understanding Profit Margins

Introduction

Profit margin is the percentage of revenue that stays as profit after costs. It’s one of the most useful numbers for pricing, planning, and comparing performance. This guide explains what it is and how to use it.

Whether you’re a freelancer or a small business owner, margin tells you how much of each dollar you earn actually stays with you. Revenue alone can be misleading—you can have high revenue and still lose money if costs and expenses are too high. Margin combines revenue and profit into one percentage so you can see at a glance if your pricing and cost structure are sustainable.

We'll define gross and net margin, explain why they matter for pricing and planning, show how to calculate them, and cover common mistakes and practical ways to track and improve margin. Use a profit margin calculator alongside the formulas below to run your own numbers.

What It Is

Profit margin is revenue minus costs and expenses, expressed as a percentage of revenue. Gross margin uses only direct costs (e.g. cost of goods or delivery). Net margin uses all expenses—overhead, taxes, interest. So for every $100 in revenue, a 20% net margin means $20 profit and $80 in costs and expenses.

Gross margin answers: “After I pay the direct cost to deliver this product or service, what percentage of revenue is left?” It’s useful for comparing the profitability of different offerings or projects on a level playing field before overhead. Net margin answers: “After all expenses—direct costs, overhead, taxes, interest—what percentage of revenue is profit?” It’s the number most people mean when they say “profit margin” and the one lenders and investors typically care about. Don’t confuse margin with markup: markup is (price − cost) ÷ cost; margin is (price − cost) ÷ price. A 50% markup is not a 50% margin.

Why It Matters

Revenue alone doesn’t tell you if you’re profitable. Margin does. It helps you price correctly, compare projects or periods, and set targets (e.g. “we need 15% net margin”). Lenders and partners often look at margins to assess health.

When you know your margin, you can see whether a price increase will move the needle, whether a cost cut is worth it, and whether a new client or project is profitable after all costs. Margin also lets you compare performance across time (is this month better than last?) and across segments (which client or product has the best margin?). Without margin, you might celebrate revenue growth while profit shrinks because costs grew faster. With margin, you spot that problem early and adjust pricing or costs before it becomes a crisis.

How to Calculate It

Gross profit = Revenue − Direct costs. Gross margin % = (Gross profit ÷ Revenue) × 100. Net profit = Revenue − All expenses. Net margin % = (Net profit ÷ Revenue) × 100. Use a profit margin calculator to plug in your numbers and see both.

Direct costs (COGS) are the costs that vary with what you sell—materials, subcontractors, tools per project. All expenses include those plus fixed and variable overhead: rent, software, marketing, insurance, and (conceptually) taxes and interest. Be consistent: if you’re calculating margin for one project, use that project’s revenue and its share of direct and (if you allocate) overhead costs. If you’re calculating for the whole business for a month, use total revenue and total expenses for that month. Recalculate when you change prices or costs so your decisions are based on current numbers.

Example: gross margin = (Revenue − Direct costs) ÷ Revenue; net margin = (Revenue − All expenses) ÷ Revenue.
RevenueDirect costsGross profitGross marginOther expensesNet profitNet margin
10,0003,0007,00070%2,0005,00050%

Real-Life Example

A freelancer has $10,000 revenue, $3,000 direct costs, and $2,000 other expenses. Gross profit = $7,000, gross margin = 70%. Net profit = $5,000, net margin = 50%. So 50 cents of every dollar is profit after everything. If they want a 60% net margin, they need to raise prices or cut costs.

A consultant has $15,000 in monthly revenue. Direct costs (subcontractors, project-specific tools) are $4,500; other expenses (insurance, marketing, home office, tax set-aside) are $3,000. Gross profit = $10,500, gross margin = 70%. Net profit = $7,500, net margin = 50%. She tracks margin by client and finds that one client has a 35% net margin because of high travel and revision load. She renegotiates the scope or rate for that client and focuses on winning more work from clients where her margin is 50% or higher.

Common Mistakes

Mixing up margin and markup (markup is (price − cost) ÷ cost; margin is (price − cost) ÷ price). Using only gross margin and ignoring overhead. Inconsistent definitions so comparisons are wrong. Not recalculating when prices or costs change.

Other mistakes: including one-off income or expenses in margin without noting it (so you don’t compare apples to apples); comparing your margin to a different industry’s benchmark without context; and forgetting that margin is a percentage so a small change in revenue or cost can move it a lot. Also avoid using margin for decisions without looking at absolute profit—a 20% margin on $100,000 revenue is $20,000 profit, while 20% on $30,000 is only $6,000; sometimes growing revenue at a slightly lower margin is better than keeping a high margin on small revenue.

Practical Tips

Calculate gross and net margin regularly (e.g. per project or monthly). Separate direct costs from overhead so both margins are accurate. Set a target margin and adjust pricing or costs to hit it. Use a profit margin calculator to test scenarios.

Run the numbers at least monthly and after each large project. Break down margin by client, product, or service so you see where you make the most profit. If a segment has a low or negative margin, decide whether to fix it (raise price, cut cost, reduce scope) or stop serving it. Use the calculator to model a price increase or cost cut before you commit. When you present margin to a partner or lender, use the same definitions and time period so there’s no confusion.

FAQs

It varies by industry. Service businesses often aim for mid-teens to 25% net margin. Compare to your own history and sector benchmarks. What’s “good” is what allows you to sustain the business, invest in growth, and withstand slow periods.
Gross uses only direct costs (COGS). Net includes all expenses—overhead, taxes, interest. Net is usually lower and shows true profitability. Use gross to compare offerings; use net to assess the overall business and to talk to lenders or partners.
Yes. If costs and expenses exceed revenue, profit and margin are negative. That means the business is losing money and needs higher revenue or lower costs. Negative margin is a signal to act, not to ignore.
At least monthly for the whole business. After each large project, calculate that project’s margin so you learn from actuals. Quarterly or annual margin is useful for trends and for sharing with partners or lenders.
You can work backward from a target margin: if you want a 30% net margin and your cost per unit is $70, then price = cost ÷ (1 − 0.30) = $100. Use a profit margin calculator to check that the resulting price gives you the margin you want after all expenses.

Conclusion

Margin puts revenue and profit in one number. Track it, define it consistently, and use it to price and plan.

Use a profit margin calculator to plug in your revenue, direct costs, and other expenses and see gross and net margin. Calculate margin regularly—per project, per month, or per client—and compare over time. Set a target net margin for your business and adjust pricing or costs to hit it. Avoid confusing margin with markup and keep definitions consistent so your comparisons are meaningful. With margin as a habit, you’ll make better pricing and cost decisions and spot problems before they hurt your bottom line.