Profit Margin Calculator

Use our free profit margin calculator to find out exactly how much money your business keeps from every dollar of revenue. Enter your revenue and costs below, and get instant results for gross profit margin, operating margin, and net profit margin — plus the markup percentage and actual dollar amounts.

This calculator works three ways: calculate your margins from revenue and costs, find the revenue you need to hit a target margin, or determine your maximum cost to achieve a specific profit margin.

Profit Margin Calculator
Calculate gross, net, and operating profit margins instantly
$
$
$
$
Your Results

How to Use This Profit Margin Calculator

This tool gives you three calculation modes, each designed for a different business question.

Calculate Margin is the most common mode. Enter your total revenue (sales) and your cost of goods sold (COGS). Optionally, add operating expenses and taxes to see your operating and net margins too. Hit calculate and you will see every margin broken down with exact dollar amounts.

Find Revenue Needed works in reverse. Enter the profit margin you want to achieve and your total costs. The calculator tells you exactly how much revenue you need to generate to hit that target. This is useful when setting sales goals or planning pricing strategies.

Find Cost Target is for when you know your revenue and want to figure out the maximum you can spend while maintaining a specific margin. Enter your revenue and desired margin, and the tool shows your cost ceiling.

A practical tip: Start with “Calculate Margin” using your last month’s actual numbers. This gives you a baseline. Then use “Find Revenue Needed” to set a realistic sales target for next month based on the margin you want.

The bottom line: knowing your actual profit margin is the first step to improving it. You cannot optimize what you do not measure.

rofit Margin Formulas Explained

Understanding the formulas behind the numbers helps you make better decisions. There are three types of profit margin, and each tells a different story about your business.

Gross Profit Margin measures how efficiently you produce or acquire what you sell. The formula is: Gross Profit Margin = ((Revenue − Cost of Goods Sold) ÷ Revenue) × 100. For example, if you sell $100,000 worth of products and they cost you $60,000 to produce, your gross margin is 40%. This means you keep $0.40 from every dollar before paying for rent, salaries, marketing, and other overhead.

Operating Profit Margin goes one step further by subtracting your operating expenses (rent, utilities, salaries, marketing). The formula is: Operating Margin = ((Revenue − COGS − Operating Expenses) ÷ Revenue) × 100. This shows how profitable your actual business operations are, regardless of how you finance them or how much you pay in taxes.

Net Profit Margin is the final number — what you actually keep after everything is paid. The formula is: Net Margin = ((Revenue − COGS − Operating Expenses − Taxes − Interest) ÷ Revenue) × 100. This is the number investors and lenders care about most.

Do not confuse margin with markup. Markup is calculated on cost, not revenue. A product that costs $60 and sells for $100 has a 40% margin but a 66.7% markup. Many business owners mix these up, which leads to underpricing. Our calculator shows both numbers so you always know the difference.

The key insight: a healthy business typically needs all three margins to be positive, and the gap between gross margin and net margin reveals how efficiently you manage overhead.

What Is a Good Profit Margin?

There is no single “good” profit margin because it varies dramatically by industry, business model, and stage of growth. However, here are general benchmarks to help you evaluate where you stand.

Retail businesses typically operate on gross margins of 25% to 50%, with net margins of 2% to 5%. The volume is high but the margins per item are thin. If your retail business has a net margin above 5%, you are outperforming most competitors.

Service businesses (consulting, agencies, freelancing) often see gross margins of 50% to 80% because there is no physical product cost. Net margins of 10% to 20% are common and considered healthy. The main cost is labor.

Software and SaaS companies enjoy some of the highest gross margins in business — typically 70% to 90%. However, net margins are often lower (or even negative) during growth phases due to heavy investment in development and customer acquisition.

Manufacturing businesses work with tighter gross margins of 20% to 35%, and net margins of 5% to 10%. The capital-intensive nature of manufacturing means costs are higher but revenue per customer is often larger.

Restaurants and food service have some of the tightest margins in any industry. Gross margins of 60% to 70% on food items sounds high, but after labor, rent, and overhead, net margins typically fall to 3% to 9%.

A practical benchmark: If your net profit margin is above 10%, your business is in a strong financial position regardless of industry. If it is below 5%, you should investigate where costs are eating into your revenue.

Remember: margins improve over time as you optimize. A startup with a 5% margin today can reach 15% within two years by reducing waste, renegotiating supplier costs, and increasing prices strategically.

How to Improve Your Profit Margin

Improving your profit margin comes down to two levers: increasing revenue or decreasing costs. Here are practical strategies that work for most businesses.

Raise prices strategically. Most small businesses underprice their products or services. A 5% price increase on a business with a 10% net margin effectively increases your profit by 50%. Test small price increases and monitor customer response — you may be surprised how little pushback you get.

Reduce cost of goods sold. Negotiate better rates with suppliers, buy in larger quantities for volume discounts, or find alternative suppliers. Even a 3% reduction in COGS can significantly improve gross margins when applied across your entire product line.

Cut unnecessary operating expenses. Audit every recurring expense. Cancel unused subscriptions, renegotiate your lease, switch to more efficient tools. The average small business wastes 10% to 15% of operating budget on expenses that no longer provide value.

Improve operational efficiency. Automate repetitive tasks, reduce waste in production, and streamline workflows. Every hour saved is an hour of labor cost avoided or an hour that can be redirected to revenue-generating activities.

Focus on high-margin products or services. Not everything you sell has the same margin. Identify your highest-margin offerings and allocate more marketing budget to promoting them. Consider phasing out consistently low-margin products that consume resources without adequate return.

The most overlooked strategy: track your margins monthly, not annually. Businesses that monitor margins monthly catch problems 11 months earlier than those who only check at year-end.

Profit Margin vs Markup: What Is the Difference?

This is one of the most common points of confusion in business math, and getting it wrong costs real money.

Profit margin is your profit expressed as a percentage of the selling price (revenue). If you sell a product for $100 and your cost is $60, your profit margin is 40% — you keep 40 cents of every dollar earned.

Markup is your profit expressed as a percentage of the cost. Using the same example, your markup is 66.7% — you added 66.7% on top of your $60 cost to arrive at the $100 price.

The same transaction, two very different percentages. This matters because if a client asks for a “30% margin” and you apply a 30% markup instead, you are undercharging. A 30% markup only gives you a 23% margin.

Quick conversion: To convert markup to margin: Margin = Markup ÷ (1 + Markup). To convert margin to markup: Markup = Margin ÷ (1 − Margin).

Our calculator above shows both margin and markup simultaneously so you never confuse the two.

Frequently Asked Questions

Q: How do I calculate profit margin?

A: Divide your profit by your revenue and multiply by 100. For gross profit margin, the formula is ((Revenue − Cost of Goods Sold) ÷ Revenue) × 100. For example, if your revenue is $80,000 and COGS is $50,000, your gross profit margin is 37.5%.

Q: What is the difference between gross margin and net margin?

A: Gross margin only accounts for the direct cost of producing your product or service (COGS). Net margin subtracts all expenses — operating costs, taxes, interest, and overhead. Gross margin tells you how efficiently you produce; net margin tells you how profitable your overall business is.

Q: Is a 20% profit margin good?

A: A 20% net profit margin is considered excellent in most industries. Many businesses operate successfully on 5% to 10% net margins. However, what counts as “good” depends on your specific industry — service businesses and software companies typically have higher margins than retail or manufacturing.

Q: What is the average profit margin for a small business?

A: According to industry research, the average net profit margin for small businesses ranges from 7% to 10%. However, this varies significantly by industry. Professional services average around 15% to 20%, while retail averages 2% to 5%.

Q: How can I quickly increase my profit margin?

A: The fastest way is a strategic price increase. A 5% to 10% price increase with minimal customer loss directly improves margins. The second fastest way is eliminating unnecessary expenses — audit every subscription, service, and overhead cost.

Q: Should I focus on gross margin or net margin?

A: Both matter, but for different reasons. Gross margin tells you if your core product is priced correctly relative to its production cost. Net margin tells you if your overall business model is sustainable. If gross margin is high but net margin is low, your overhead is the problem, not your pricing.

Scroll to Top