Privacy-focused processing

Profit Margin Calculator

Calculate gross profit, profit margin and markup from revenue and cost.

We use reasonable safeguards to help protect your files and information while you use the service.

What to select

Enter revenue or selling price and the corresponding total cost.

How this calculator works

Compare sales revenue with total cost to see gross profit, profit margin and markup in one calculation.

Profit margin measures profit as a share of revenue. Markup measures the same profit as a share of cost, so the two percentages are not interchangeable.

Formula

Profit = revenue − cost; margin = profit ÷ revenue × 100; markup = profit ÷ cost × 100

Example

If an item sells for 150 and costs 100, gross profit is 50, profit margin is 33.33%, and markup is 50%.

Important: Use consistent totals. Include all relevant costs if you need the result to reflect actual business performance.

Supported formats

Arithmetic expressions, percentages, powers, square roots, numbers, calendar dates, clock times and common measurement units.

Limits and safety

Standard calculations are limited to 256 characters. Results use JavaScript floating-point arithmetic; verify financial, legal or time-sensitive decisions independently.

Frequently asked questions

Are my calculation values saved?

No. Calculator inputs and results stay in this browser tab.

Can I rely on these results professionally?

Use them as general estimates. Lenders, billing systems, calendars and rounding rules may produce different results.

Related tools