Free small business tool
Free Profit Margin Calculator
Calculate profit, gross profit margin, and markup from cost and selling price, then understand what each result means.
- No account required
- Runs locally in your browser
- Educational result
Free in-browser calculator
Calculate profit margin and markup
Enter the direct cost and selling price for one product, service, or unit.
Your entries stay in your browser. Financial values are not stored or sent to Small Tool Guides or Google Analytics.
Your result
Calculation summary
- Profit
- —
- Profit Margin
- —
- Markup
- —
Educational calculation only. Verify inputs, definitions, timing, taxes, and other material costs before making an important business decision.
How this calculator works
Understand the method, assumptions, and limits
Review the formula, define each input consistently, and treat the result as an educational starting point rather than financial advice.
What is profit margin?
Profit margin expresses the portion of a selling price left after subtracting the cost entered in the calculator. If an item costs $40 and sells for $75, the $35 difference is profit on that included cost. Dividing $35 by the $75 selling price produces a 46.67% margin.
This is a simplified unit-level gross profit calculation. It does not automatically include rent, payroll, payment processing, shipping, returns, marketing, taxes, or other operating expenses. “Cost” must therefore be defined consistently before the percentage is useful.
How profit margin is calculated
Profit = Selling Price − Cost
Profit Margin (%) = Profit ÷ Selling Price × 100
Markup (%) = Profit ÷ Cost × 100
The denominator explains the difference. Margin asks how much of the customer’s price remains after the entered cost. Markup asks how much was added relative to that cost.
| Term | Meaning in this calculator | Example |
|---|---|---|
| Cost | The direct amount assigned to the item or service | $40.00 |
| Price | The amount charged to the customer | $75.00 |
| Profit | Price minus the entered cost | $35.00 |
| Margin | Profit as a percentage of price | 46.67% |
| Markup | Profit as a percentage of cost | 87.50% |
Profit margin vs. markup
Margin and markup describe the same dollar difference from different starting points. They are not interchangeable percentages. Adding a 30% markup to a $100 cost creates a $130 price and $30 profit. The markup is 30%, but the margin is $30 ÷ $130, or about 23.08%.
This is why a pricing instruction such as “add 40%” is incomplete. It must say whether 40% refers to markup on cost or target margin on price. Penn State Extension’s institutional explanation of markup and gross profit margin illustrates the same denominator difference.
Why small businesses confuse them
Cost-plus pricing naturally begins with cost, so markup feels intuitive. Financial reports and pricing targets may instead describe margin as a share of revenue. A team can use the same word—“profit”—while one person divides by cost and another divides by price. Writing the formula beside the target prevents that ambiguity.
Example calculation
Hypothetical example: A product has $40 in included direct cost and a $75 selling price.
Profit: $75 − $40 = $35
Margin: $35 ÷ $75 × 100 = 46.67%
Markup: $35 ÷ $40 × 100 = 87.50%
The result means each $75 sale leaves $35 after the specific $40 cost entered. It does not mean the business keeps $35 after every expense.
How to use the result
- Check price changes: compare the current price with a proposed price while holding the same cost assumption.
- Expose cost changes: see how supplier, labor, packaging, or fulfillment changes affect the unit result.
- Compare products consistently: use the same cost definition for every item before comparing margins.
- Prepare a broader forecast: combine unit economics with realistic volume, fixed expenses, returns, and taxes.
If the next decision is how many units must sell to cover fixed expenses, use the Break-Even Calculator.
Common pricing mistakes
- Using markup and margin as if they were the same percentage.
- Leaving payment fees, packaging, shipping subsidies, discounts, or expected returns outside “cost” without acknowledging the omission.
- Using a gross unit margin as though it were company net profit.
- Assuming the same margin target belongs to every product, channel, or customer arrangement.
- Ignoring volume, capacity, cash timing, taxes, and fixed costs when evaluating a price.
Limitations
This calculator does not determine a “good” margin, recommend a price, calculate tax, or apply an accounting standard. Appropriate cost classification and pricing depend on the business, product, channel, customer promise, competition, capacity, and financial objectives.
Keep records that support the income and expenses used in business decisions. The IRS explains the role of records in monitoring a business and preparing financial statements in its small-business recordkeeping guidance.
Frequently Asked Questions
Is profit margin the same as markup?
No. Profit margin divides profit by selling price, while markup divides profit by cost. The same sale therefore produces different margin and markup percentages.
What happens when the selling price is lower than cost?
The calculator shows a negative profit, margin, and markup. That indicates a gross loss on the cost included, before other business expenses.
Why is markup unavailable when cost is zero?
Markup uses cost as its denominator. Dividing by zero is undefined, so the calculator labels markup unavailable instead of showing Infinity.
Does this calculate net profit margin for my whole business?
No. It compares one entered cost with one selling price. A complete net margin calculation requires all applicable revenue, operating expenses, taxes, financing costs, timing, and accounting treatment.