# Markup vs. margin: formulas and pricing example

> A 40% markup on a $6,000 cost does not produce a 40% margin. Here is the full conversion.


With a net cost of $6,000, adding a 40% markup gives a price of $8,400. The unit gross profit is $2,400, or 28.57% of the price. A 40% markup and a 40% margin therefore require different prices. If the target is a 40% gross margin, the net price needs to be $10,000.

## Two percentages, two denominators

Markup divides the difference between price and cost by cost: **(price − cost) ÷ cost × 100**. Gross margin on sales divides that same difference by price: **(price − cost) ÷ price × 100**. University of Maine Cooperative Extension illustrates the distinction with an item costing $1 and selling for $1.50: 50% markup and 33.3% margin. It also cautions that a markup on cost may not cover operating expenses. [Basic Pricing Strategies](https://extension.umaine.edu/publications/3000e/)

Here is the full calculation for the $6,000 item:

- 40% markup: $6,000 × 1.40 = $8,400 net price.
- Gross profit: $8,400 − $6,000 = $2,400.
- Margin on price: $2,400 ÷ $8,400 = 28.57%.
- For a 40% target margin: price = $6,000 ÷ (1 − 0.40) = $10,000. Gross profit is $4,000 and the equivalent markup is $4,000 ÷ $6,000 = 66.67%.

These figures use the same unit cost and net price, before sales tax, discounts, or other costs. The calculation cannot tell you whether customers will accept the price or whether it covers every business expense.

**Markup and margin calculator**

Compare markup on cost with margin on price and estimate a target price.

Initial example:

- Cost: 6,000

- Selling price: 8,400

- Target margin (%): 40

Markup = (price − cost) ÷ cost × 100. Margin = (price − cost) ÷ price × 100. Target price = cost ÷ (1 − target margin (%) / 100).

- Markup on cost: 40 %

- Margin on price: 28.5714 %

- Theoretical target price: 10,000 in your currency

- Minimum price rounded to cents: 10,000 in your currency

The minimum cent price meets the target margin under this formula; other charges may apply.

Use one currency. The theoretical target price is approximate; the minimum price rounds up to the next cent to meet the target. Excludes VAT and other charges.

## Which base should set the price?

If a policy says “add 40% to cost,” calculate markup. If the goal is “keep 40 cents from each dollar of sales after the item cost,” calculate gross margin and solve for price. Virginia Tech explains that markup can contribute toward overhead and profit, so define which costs belong in the cost base and then check whether the price covers the remaining expenses. [Fundamentals of Business: Pricing](https://pressbooks.lib.vt.edu/fundamentalsofbusiness4e/chapter/chapter-15-pricing-strategy/)

In accounting, “gross margin” usually means gross profit divided by sales; in pricing conversations, “margin” is sometimes used loosely. State the formula every time. No target percentage fits every business: check it against full costs, discounts, competitors, and what customers are willing to pay.

## Plan your next post in HeyMark.

Keep the idea, review the draft with your team, and see how it performed in the accounts you connected.

[Start free](https://app.heymark.ai) · [See how it works](https://heymark.ai/en/#product)

## Developer and agent resources

- [HeyMark MCP documentation](https://heymark.ai/en/mcp/)
- [llms.txt](https://heymark.ai/llms.txt)
- [Full site content for language models](https://heymark.ai/llms-full.txt)
- MCP protocol endpoint: `POST https://mcp.heymark.ai`
- OAuth protected-resource metadata: [/.well-known/oauth-protected-resource](https://mcp.heymark.ai/.well-known/oauth-protected-resource)
- MCP server card: [/server-card](https://mcp.heymark.ai/server-card)
