Skip to content

Profit Margin Calculator

Calculate gross profit, profit margin percentage, and markup for any product or service. Enter revenue and cost to evaluate profitability and set optimal pricing strategies for your business.

Loading calculator

Preparing Profit Margin Calculator...

Reviewed & Methodology

Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed by a credentialed financial professional. All calculations run privately in your browser - no data is stored or shared.

Last reviewed:

Reviewed by:

Written by:

How to Use the Profit Margin Calculator

  1. 1. Enter your revenue - type the total selling price or revenue from the product or service.
  2. 2. Enter your cost - input the total cost of goods sold (COGS) including materials, labor, and direct expenses.
  3. 3. View your gross profit - the calculator shows the dollar amount of profit (Revenue minus Cost).
  4. 4. Review margin and markup - see your profit margin percentage and markup percentage side by side.
  5. 5. Test pricing scenarios - adjust revenue or cost to find the price point that meets your target margin.

Profit Margin Calculator

This calculator computes gross profit, profit margin percentage, and markup percentage for any product or service. Enter your revenue and total cost to instantly see how much of each sale you keep as profit — and whether your pricing strategy is working. Whether you run a product business, a service firm, or a side hustle, knowing your margins is the foundation of every pricing and budgeting decision.

How Profit Margin Is Calculated

Profit margin measures how much of each dollar in revenue you keep after covering the cost of goods sold. The three core formulas are:

  • Gross Profit = Revenue - Cost
  • Profit Margin = (Gross Profit / Revenue) x 100
  • Markup = (Gross Profit / Cost) x 100

Margin and markup look similar but are not the same number. A 50% markup on a $60 cost gives a $90 selling price, but the profit margin on that sale is only 33.3% — because margin divides profit by revenue, not cost. Always be explicit about which figure you are using when discussing pricing with partners or investors.

Worked Examples

Scenario 1 — Retail product: A clothing retailer buys a jacket for $45 and sells it for $110. Gross profit = $65. Profit margin = 59.1%. Markup = 144.4%. This is a high-markup retail item typical of apparel brands.

Scenario 2 — Service business: A freelance designer charges $1,500 for a logo project. Direct costs (software licenses, stock images, subcontractor hours) total $300. Gross profit = $1,200. Profit margin = 80%. Service businesses naturally carry high margins because labor that is already paid as salary does not appear in COGS.

Scenario 3 — Food and beverage: A coffee shop charges $5.50 for a latte. Direct ingredient cost (milk, espresso, cup, lid, sleeve) runs $1.40. Gross profit = $4.10. Profit margin = 74.5%. However, once you subtract labor, rent, and utilities, the net profit margin for an average independent coffee shop falls to roughly 4-9%.

Reference Table

RevenueCostGross ProfitMarginMarkup
$50$35$1530.0%42.9%
$100$60$4040.0%66.7%
$250$175$7530.0%42.9%
$500$300$20040.0%66.7%
$750$450$30040.0%66.7%
$1,000$400$60060.0%150.0%
$2,500$1,750$75030.0%42.9%
$5,000$2,000$3,00060.0%150.0%
$10,000$7,500$2,50025.0%33.3%
$25,000$8,000$17,00068.0%212.5%

When to Use

  • Evaluating whether a new product is worth adding to your lineup before you commit to inventory
  • Setting list prices when you know your target margin and need to back-calculate the selling price
  • Comparing performance across multiple product lines to decide where to focus sales effort
  • Preparing for a loan or investor pitch that requires gross margin projections
  • Reviewing supplier quotes to see how a cost change shifts your existing margin

Common Mistakes

  1. Confusing margin and markup. A buyer who targets a “40% margin” but applies a 40% markup ends up with a 28.6% margin — 11 points short. Always confirm which metric a pricing formula uses.
  2. Forgetting indirect costs. Gross margin ignores rent, salaries, and marketing. A business with a 60% gross margin but heavy overhead can still run at a net loss. Run the numbers all the way down to net.
  3. Using total revenue instead of net revenue. If you offer discounts, returns, or allowances, your gross margin calculation should start from net revenue after those reductions, not the sticker price.
  4. Treating margin as static. Supplier price increases, shipping cost fluctuations, and currency changes can silently erode margin over time. Re-run this calculation whenever input costs change by more than 5%.

Current Context for 2026

Input cost inflation has moderated compared to 2022-2023 peaks, but raw material and logistics costs remain elevated above pre-2020 baselines for most industries. Small businesses that locked in supplier contracts in 2024-2025 are seeing relatively stable margins, while those buying on spot are still absorbing variability. For product businesses, a gross margin below 30% leaves very little room to cover operating expenses and still turn a profit at typical revenue levels. SaaS and software margins remain in the 65-80% gross range. Service businesses average 60-75% gross margins but often much lower net margins once payroll is counted.

Tips

  1. Track gross margin per SKU or service type monthly — a single underperforming product can drag your blended margin without being obvious in total revenue numbers
  2. If your margin is below your target, test a 5-10% price increase before cutting costs; in most markets a modest price rise loses fewer customers than expected
  3. Use markup to set prices, then verify the resulting margin — this two-step habit prevents the margin-vs-markup confusion that is extremely common in small business
  4. Review your top three direct cost inputs each quarter; negotiating even a 3% reduction on a high-volume input can add meaningful margin points
  5. For service businesses, scope creep silently reduces effective margin — track actual hours against estimates to find where profit leaks out
  6. When comparing your margins to industry averages, use gross margin benchmarks from your specific sector, not blended averages across all industries
  • Break-Even Calculator — find how many units you must sell to cover fixed costs at your current margin
  • ROI Calculator — measure the return on a specific investment or campaign relative to its cost
  • Commission Calculator — calculate sales rep payouts without guessing how commissions interact with your margin

Frequently Asked Questions

What is the difference between gross, net, and operating profit margin?
Gross profit margin measures revenue minus the direct cost of goods sold (COGS) divided by revenue, showing production profitability. Operating margin subtracts operating expenses like rent, salaries, and marketing from gross profit, revealing business efficiency. Net profit margin deducts all expenses including taxes and interest, showing the bottom-line percentage of revenue kept as profit. A business might have a 60% gross margin, 25% operating margin, and 15% net margin.
What is a healthy profit margin by industry?
Profit margins vary enormously by industry. Software and SaaS companies average 60-80% gross margins and 20-30% net margins. Retail grocery operates on thin 1-3% net margins but high volume. Manufacturing typically achieves 25-35% gross margins. Professional services firms average 15-25% net margins. Restaurants average 3-9% net margins. Compare your margins against industry-specific benchmarks rather than general averages to get a meaningful assessment.
How can I improve my profit margins?
There are two fundamental levers: increase revenue per unit or decrease costs per unit. Specific strategies include negotiating better supplier pricing, reducing waste in production, raising prices where the market allows, focusing on higher-margin products or services, automating repetitive tasks, and reducing overhead expenses. Even small improvements compound: reducing costs by 5% and raising prices by 5% can increase margin by 10 percentage points or more.
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price (revenue), while markup is profit as a percentage of the cost. They use the same dollar profit but different denominators. If you buy for $60 and sell for $100, the margin is 40% ($40/$100) but the markup is 66.7% ($40/$60). A 50% markup always equals a 33.3% margin. Use markup for setting prices and margin for evaluating overall profitability.
How does pricing strategy relate to profit margins?
Your pricing strategy directly determines your margin. Cost-plus pricing adds a fixed markup to costs, ensuring a minimum margin but potentially leaving money on the table. Value-based pricing sets prices based on perceived customer value, often achieving higher margins. Competitive pricing matches market rates, which may compress margins. Most successful businesses use a blended approach -- cost-plus as a floor, then adjust upward based on value delivered and competitive positioning.

Explore More Tax & Business Tools

Tax Calculator: Try our free tax calculator for instant results.

Sales Tax Calculator: Try our free sales tax calculator for instant results.

Salary Calculator: Try our free salary calculator for instant results.

Take Home Pay Calculator: Try our free take home pay calculator for instant results.

ROI Calculator: Try our free roi calculator for instant results.

Commission Calculator: Try our free commission calculator for instant results.

Calculators