← All Calculators

Margin Calculator — Free Online Calculator

Calculates gross margin and markup between cost and selling price.

What is it?

The margin calculator computes gross profit margin (profit as a percentage of revenue) and markup (profit as a percentage of cost), helping you price products correctly.

Formula

Profit = Revenue − Cost Margin% = (Profit / Revenue) × 100 Markup% = (Profit / Cost) × 100 Revenue = Cost / (1 − Margin%/100)

Example

Cost $40, selling price $60. Profit = $20. Margin = (20/60) × 100 = 33.3%. Markup = (20/40) × 100 = 50%.

Loading calculator…