Connect via MCP →

Enter Calculation

Formula

Formula: Selling Price from Cost and Gross Margin Calculator
Show calculation steps (1)
  1. Gross Profit and Mark Up

    Gross Profit and Mark Up: Selling Price from Cost and Gross Margin Calculator

    Gross profit in currency and mark-up percent on cost.

Advertisement

Results

< style> .main-result { background:#e8f5e9; border:2px solid #4CAF50; border-radius:6px; padding:1.5rem; margin-bottom:1rem; text-align:center; } .main-result-label { font-size:1.1rem; color:#2E7D32; margin-bottom:0.5rem; } .main-result-value { font-size:2.4rem; font-weight:800; color:#1B5E20; line-height:1.1; } .main-result-unit { font-size:1rem; color:#388E3C; margin-top:0.25rem; } .result-table { width:100%; border-collapse:collapse; margin-top:1rem; } .result-table th, .result-table td { padding:0.5rem 0.6rem; text-align:left; border-bottom:1px solid #ddd; font-size:0.95rem; } .result-table th { background:#f5f5f5; font-weight:600; }
Price (Selling Price / Revenue, R)
500.00
currency units
Gross Profit (P) 375.00
Mark Up (M) 300.00 %

What this calculator does

This tool answers a common pricing question: given what a product costs you and the gross margin you want to earn, what selling price should you set? Enter the cost and your target gross margin percentage, and it returns the required selling price (revenue), the gross profit in currency, and the equivalent mark-up percentage on cost. It is pure arithmetic and works in any currency — the currency symbol is cosmetic and does not affect the math.

How to use it

Enter your unit Cost (C) and your desired Gross Margin (G) as a percentage (for example 75 for 75%). The margin must be greater than 0 and strictly less than 100; a margin of 100% would require an infinite price because cost would be a zero fraction of revenue. The result updates with the selling price, the gross profit, and the mark-up.

The formula explained

Gross margin is profit as a fraction of revenue, so revenue minus cost equals margin times revenue. Solving for revenue gives $$R = \frac{C}{1 - g}$$ where \(g\) is the margin written as a decimal (\(g = G / 100\)). Gross profit is then \(P = R \times g\), which also equals \(R - C\). Mark-up measures profit against cost instead of revenue: \(M = (P / C) \times 100\). Note that margin and mark-up are not the same number — a 75% margin equals a 300% mark-up.

Advertisement
Bar splitting selling price R into cost C and gross profit
Selling price R equals cost C plus the gross profit, where margin g is the profit share of R.

Worked example

Suppose cost \(C = 125\) and you want a gross margin of 75% (\(g = 0.75\)). Revenue $$R = \frac{125}{1 - 0.75} = \frac{125}{0.25} = 500$$ Gross profit \(P = 500 \times 0.75 = 375\) (equal to \(500 - 125\)). Mark-up \(M = (375 / 125) \times 100 = 300\%\). So you would price the item at 500 to earn 375 profit per unit.

Flow from cost divided by one minus margin to selling price
The formula divides cost by one minus the margin to give the selling price.

FAQ

Is gross margin the same as mark-up? No. Margin is profit divided by selling price; mark-up is profit divided by cost. The same item can show 75% margin and 300% mark-up.

Why must margin be under 100%? At exactly 100% the denominator \((1 - g)\) becomes zero and the price is undefined; margins at or above 100% are not achievable.

Does the currency matter? No. The calculation is currency-neutral, so it works identically for dollars, euros, yen or any other currency.

Last updated: