← All calculators and utilities

Profit Margin Calculator

Calculate gross profit, gross margin and markup from selling price and direct cost. Keep margin and markup distinct.

Use one currency consistently. Results are shown in the currency you select.

Use one currency consistently. Results are shown in the currency you select.

Live result

Gross profit per sale

$19.00

Gross margin

54.29%

Markup on cost

118.75%

Calculated in your browser. No account needed. Your numbers are not sent to Studio24.

The formula

Gross profit = price − direct cost. Gross margin = gross profit ÷ price × 100. Markup = gross profit ÷ cost × 100.

Worked example

A price of 35 and direct cost of 16 gives gross profit of 19, gross margin of 54.29% and markup of 118.75%.

How to use the result

Margin measures profit as a share of price; markup measures profit as a share of cost. Use the same cost definition across products.

What this calculation leaves out

Gross profit is not net profit. Add all relevant direct costs, and assess payment fees, returns, tax and overhead separately.

Use the result to make a decision

Explore campaign measurement →

Draft your next campaign

Use the product bundle generator to draft the next change you want to try. AI generation requires a paid plan.

Explore Product Bundle Generator

Calculate gross profit, gross margin and markup from a selling price and direct cost. See why the same sale produces different margin and markup percentages before changing a price or promotion.

Margin uses price; markup uses cost

A product that costs £24 and sells for £40 has £16 gross profit. Margin is £16 divided by £40: 40%. Markup is £16 divided by £24: about 66.67%. The pounds of profit are identical; the denominator changes.

Adding 40% to cost does not create a 40% margin. A £24 cost with 40% markup produces a £33.60 price and about 28.57% margin. To work backwards from a target margin, divide cost by one minus the margin as a decimal, then verify the proposed price in this calculator.

Keep the cost and tax basis consistent

Use the selling price excluding pass-through tax as the input label specifies. Decide what counts as direct cost, such as materials, purchase cost or direct production labour. Use the same rule across the products you compare.

Gross margin is not net business margin. Payment fees, delivery subsidies, returns and overhead may require separate treatment. If you include additional variable selling costs in the cost field, label the resulting measure accordingly rather than calling every cost definition gross margin.

Check a discount before running it

With a £40 price and £24 cost, the original gross profit is £16. A 10% price discount lowers the price to £36 and gross profit to £12: a 25% decrease in gross profit per sale before other costs. A small price reduction can have a larger effect on the amount left over.

Check both unit economics and demand. A bundle with a higher order value may also carry higher product and shipping costs. Use this tool to inspect each scenario, then monitor the actual conversion and contribution after launch.

Frequently asked questions

Can margin be negative?

Yes. If the direct cost exceeds the selling price, gross profit and margin are negative. That indicates a loss under the costs you entered.

Why is markup blank when cost is zero?

Markup divides profit by cost, so zero cost makes it undefined. Gross margin can still be calculated when selling price is positive.

Does the calculator include VAT or income tax?

No. Enter a consistent price and direct-cost basis. The calculator does not determine tax treatment or calculate net after-tax profit.