You can have strong sales numbers and still be running a losing business. Revenue is vanity; profit is sanity. Understanding your profit margin is the single most important financial metric for any freelancer, e-commerce seller, or small business owner — and it's far simpler to calculate than most people think.
What Is Profit Margin?
Profit margin expresses profit as a percentage of revenue. It tells you: for every dollar you bring in, how many cents do you actually keep after covering costs?
There are two versions that matter most:
- Gross Profit Margin: Revenue minus the direct cost of producing your product or service (COGS — Cost of Goods Sold).
- Net Profit Margin: Revenue minus ALL expenses, including overhead, taxes, salaries, marketing, and more.
The Formula
For gross profit margin, the formula is straightforward:
- Profit = Selling Price − Cost
- Margin (%) = (Profit ÷ Selling Price) × 100
Example: You sell a product for $80. Your cost to produce or source it is $50.
- Profit = $80 − $50 = $30
- Margin = ($30 ÷ $80) × 100 = 37.5%
This means you keep 37.5 cents of every dollar you make. Whether that's good depends entirely on your industry — but knowing the number is non-negotiable.
What Is a Good Profit Margin?
Benchmarks vary significantly by industry:
- Software / SaaS: 60–80% gross margin (low variable costs)
- Freelance services: 50–70% (your cost is mostly your time)
- E-commerce / retail: 20–50% (product costs, shipping, returns)
- Restaurants: 3–9% net margin (high overhead, thin margins)
- Digital products: 70–90% (near-zero reproduction cost)
The key is knowing your margin and comparing it to your category — not to some abstract ideal.
The Most Common Pricing Mistakes
1. Pricing based on gut feel, not math
Many new sellers choose prices that "feel right" without calculating the actual margin. This leads to racing to the bottom in competitive markets, unknowingly selling at a loss after fees and returns, and being unable to scale because there's no money to reinvest.
2. Forgetting platform fees in cost calculations
If you sell on Etsy, Amazon, or Fiverr, those platform fees are part of your true cost. A $100 Fiverr gig that nets you $80 after fees has a very different margin than you think if your actual delivery cost was $60. Use our Fiverr fee calculator to include fees in your true cost basis.
3. Ignoring payment processing fees
PayPal and Stripe take 2.9% + $0.30 per transaction. On a $50 sale, that's $1.75 — 3.5% of your revenue gone before you even look at costs. Factor this into your pricing using our PayPal calculator and Stripe calculator.
4. Confusing margin with markup
A 50% markup is NOT a 50% margin:
- Markup: $10 cost, add 50% → sell for $15 → markup = 50%
- Margin: $5 profit ÷ $15 selling price = 33.3% margin
Always calculate margin on the selling price, not the cost.
How to Use Margin to Price Your Products
Start with your desired margin and work backwards. If you want a 40% margin and your cost is $60:
- Selling Price = Cost ÷ (1 − Margin)
- Selling Price = $60 ÷ (1 − 0.40) = $60 ÷ 0.60 = $100
This approach ensures you never price too low, even as costs fluctuate.
Calculate Your Margin Right Now
Stop guessing. Use our free Profit Margin Calculator to enter your cost and selling price and instantly see your profit and margin percentage. No spreadsheet, no formula memorization needed.
Frequently Asked Questions
What is a good profit margin for a small business?
It depends heavily on your industry. Retail businesses typically run 2–10% net margins. Service businesses and freelancers can aim for 20–40% net margin. SaaS and software businesses can reach 60–80%. The most important benchmark is your own trend line — a rising margin means your business is getting more efficient, even if the absolute number is modest.
What's the difference between gross and net profit margin?
Gross profit margin subtracts only direct costs (materials, platform fees, direct labor) from revenue. Net profit margin subtracts everything — including overhead, rent, software subscriptions, taxes, and your own salary. For freelancers, gross margin and net margin are often close together since most costs are direct. Track both to understand where your money actually goes.
How do I calculate profit margin in Excel?
The formula is straightforward: =(Revenue - Cost) / Revenue * 100. For example, if a cell A1 has your revenue and B1 has your total costs, the formula =(A1-B1)/A1*100 gives you your profit margin percentage. Or use Feexio's free Profit Margin Calculator to get instant results without a spreadsheet.
Calculate your profit margin instantly
⚡ Profit Margin Calculator — Free on FeexioNo sign-up required. Instant results.
Disclaimer: This content is for informational purposes only and does not constitute financial advice. Fee percentages are verified periodically — see "Last verified" dates for currency. Always consult official platform documentation or a licensed financial advisor before making binding financial decisions. Full disclaimer →
Victor A. Calvo S. is a software engineer and digital entrepreneur who built Feexio to give freelancers, sellers, and small businesses instant clarity on fees, margins, and rates. He is also the creator of InstantLinkHub and SwiftConvertHub. Learn more →