Skip to content
Sumly

Profit Margin Calculator

Margin, markup and where every $100 of revenue actually goes.

In

Direct costs of what you sold

Out

Gross profit margin

40.0%

$18,000 profit on $45,000 of sales

Gross profit$18,000
Cost as % of revenue60.0%
Markup on cost0.67x
Where every $100 of sales goes60% cost vs target 30%
40.0% is a healthy gross margin — most product businesses live between 25% and 50%, software often 70%+.

How the Profit Margin calculation works

Gross margin is profit ÷ revenue: what share of every sales dollar survives after the direct cost of the product or service. It is the number lenders, investors and pricing decisions all start from.

Markup is the same profit described against cost instead of price — a 40% margin is a 66.7% markup. The two get swapped constantly, and the error quietly misprices products.

The cost bar shows the split of every $100 of revenue between cost and profit, so the margin stops being an abstraction and becomes a picture.

Worked example

$45,000 of revenue against $27,000 of COGS leaves $18,000 of gross profit — a 40% margin and a 66.7% markup. Every $100 of sales keeps $40; at a 55% margin the same $100 would keep $55, which is why two-point margin moves are worth real arguments.

The tool above opens with these numbers. Change them to run your own scenario, or press Reset to come back to this example.

Frequently asked questions

Price from markup — and the margin it quietly becomes.

The price your margin needs — and the margin the market gives.

The exact unit count where the business stops losing money.

The real cost of a discount: margin lost and volume needed to replace it.

A clean, branded invoice with tax, due dates and one-click PDF.

Commission, total pay and the effective rate the plan really costs.

  • profit margin
  • gross margin
  • markup
  • pricing
  • unit economics