Profit Margin Calculator

Use our free online Profit Margin Calculator to find gross profit margin on any product or service. Instant results, no signup, runs in your browser.

Profit Margin Is the Number That Tells You If Your Business Is Actually Working

Revenue is vanity, profit is sanity—it's one of the oldest clichés in business finance for a reason. A company can process millions in transactions while quietly losing money on every single sale. The difference between a sustainable operation and a busy one that eventually runs out of cash often comes down to whether the owners track and manage their profit margins with real discipline. Our free profit margin calculator makes this foundational metric immediately accessible. Enter your cost and your revenue, and the tool returns your gross profit margin percentage—the share of each revenue dollar that represents profit after costs are covered.

This calculation sits at the center of every meaningful pricing conversation, every financial model, and every business health assessment. Whether you're setting prices on a new product, reviewing profitability across your existing catalog, preparing financials for a lender or investor, or simply trying to understand why the business feels busier than it is profitable, margin percentage is the number you need. Getting it right consistently—not just at year-end—is one of the clearest separators between businesses that scale and businesses that stagnate despite genuine activity.

The Profit Margin Formula and What It Actually Measures

Gross profit margin is calculated as: Margin % = [(Revenue − Cost) ÷ Revenue] × 100. The numerator—Revenue minus Cost—gives you gross profit in dollar terms. Dividing that by Revenue normalizes it to a percentage, making it comparable across products with different price points, business lines with different scales, and companies across different industries.

A product that costs $50 to produce and sells for $80 generates $30 in gross profit and a 37.5% gross profit margin. Raise the price to $90 while holding cost constant: margin becomes ($90 − $50) ÷ $90 × 100 = 44.4%. Lower the price to $65 and it drops to 23.1%. The sensitivity of margin to price changes is one of the most important dynamics in product economics—and running these scenarios through a calculator before committing to a pricing decision takes thirty seconds.

One important clarification: the cost input should represent direct costs of producing or delivering the product or service—what accountants call Cost of Goods Sold (COGS). This typically includes materials, direct labor, and direct production or delivery expenses. It does not include overhead expenses like rent, salaries for non-production staff, marketing, or utilities. Those operating expenses are subtracted further down the income statement to arrive at operating margin and ultimately net profit margin. Gross margin is the right starting metric for product-level pricing analysis.

Industry Gross Margin Benchmarks: What's Normal in Your Sector

Margin expectations vary enormously across industries, and comparing your margin to a benchmark from a completely different sector produces false signals. What looks like a dangerously thin margin in one business model is a perfectly healthy result in another. Understanding the realistic range for your specific industry provides the context needed to evaluate whether your current numbers represent a problem, an opportunity, or exactly where you'd expect to be.

Software and SaaS

Software businesses achieve the highest gross margins of virtually any industry—typically 70% to 85% or above—because once a product is built, the marginal cost of delivering it to an additional customer approaches zero. Server costs, customer support, and payment processing are the primary variable expenses, and at scale these are modest relative to subscription revenue. This is why software businesses command premium valuations: each additional revenue dollar generates nearly a full dollar of gross profit.

Professional Services

Consulting, legal, accounting, and design services typically achieve gross margins of 40% to 70%, depending on how tightly the business defines COGS (usually direct labor costs). The primary variable cost is the time of the people delivering the service. Utilization rate—the percentage of total available hours that are billable—is the operational lever that most directly drives margin outcomes in service businesses.

Retail and E-Commerce

Product-based retail operates at significantly lower gross margins than software or services. Traditional retail margins range from 20% to 50% depending on category. Apparel retail often runs 40% to 60%; grocery retail operates at 20% to 30% gross margin on products but with high volume. E-commerce merchants face additional cost pressure from shipping, packaging, and return handling that can erode margins meaningfully if not factored explicitly into pricing.

Restaurants and Food Service

The food and beverage industry typically prices menu items to achieve a 60% to 75% gross margin on food cost (ingredients represent 25% to 40% of menu price). However, the restaurant industry's high operating cost structure—labor, rent, equipment maintenance—means net profit margins frequently fall to single digits. This wide gap between gross and net margin illustrates why tracking gross margin alone tells only part of the profitability story.

How Pricing Decisions Drive Margin: The Sensitivity Is Larger Than It Seems

One of the most valuable exercises a business owner can do with a margin calculator is modeling how a small change in price affects margin percentage. Because cost is fixed in the short term, every additional dollar of price goes directly to gross profit—creating a leverage effect where price changes produce proportionally larger margin changes.

If your cost is $60 and your current price is $80, your margin is 25%. Raising the price by $5 to $85 changes margin to ($85 − $60) ÷ $85 × 100 = 29.4%—a 4.4 percentage point improvement from a modest $5 price increase. Dropping the price by $5 to $75 takes margin down to 20%—a 5 percentage point decline. If you sell 500 units per month, that $5 price reduction costs $2,500 in monthly gross profit. At any meaningful volume, the margin impact of pricing decisions accumulates quickly into very significant revenue differences.

Most businesses trying to improve profitability instinctively focus on cutting costs. Reducing cost absolutely improves margin—but it's also operationally difficult, often requires volume commitments or process changes, and has limits. A well-executed, modest price increase in a business where customers are genuinely receiving strong value is often the highest-leverage margin improvement available, requiring no operational change whatsoever. The margin calculator lets you model both directions so you can pursue whatever combination makes the most sense for your specific situation.

Margin vs. Markup: Why Confusing Them Is Expensive

Confusing profit margin with markup is one of the most common and financially consequential arithmetic errors in small business pricing. It causes business owners to systematically underprice their products while believing they're hitting their target margin—and at meaningful sales volumes, this error is genuinely expensive.

The distinction: margin is profit divided by selling price; markup is profit divided by cost. If your cost is $50 and you apply a 50% markup, your selling price is $75 and your margin is 33.3%—not 50%. If you want a 50% margin, you need to price at Cost ÷ (1 − Margin) = $50 ÷ 0.50 = $100. Applying a 50% markup when you intended a 50% margin leaves you 16.7 percentage points short of your target on every transaction. Always verify which metric a pricing target refers to before applying it, and use both the margin calculator and markup calculator together to ensure your pricing lands where you intend it.

Free to Use, Private by Design

All calculations run locally in your browser. No revenue figures, cost data, or business pricing information you enter is transmitted to any server or stored anywhere. The tool is completely free with no account required. Run as many margin scenarios as your pricing work demands—across products, across periods, or across business lines—without any limitation or privacy concern.

Frequently Asked Questions

Is the Profit Margin Calculator free to use?
Yes, completely free with no usage limits and no registration required.
Does the Profit Margin Calculator store my data?
No. All processing happens in your browser. Nothing is stored on any server.
Does it work on mobile?
Yes. Fully responsive and works on all modern browsers and devices.
What is the difference between profit margin and markup?
Profit margin is calculated as profit divided by revenue (selling price), while markup is profit divided by cost. A 50% markup does not produce a 50% margin—it produces a 33.3% margin. Always clarify which metric you are using when discussing pricing targets.