Margin, Markup & Retail Profit Calculator

Calculate cost, revenue, profit margin, and markup percentages. Fast, free, and fully client-side.

Enter any two values to automatically calculate the rest. For example, enter Cost and Revenue to calculate Profit, Margin, and Markup.
Gross Profit
Total profit in dollars
$0.00

How the Margin, Markup & Retail Profit Calculator Works

Solves for Cost, Revenue (Selling Price), Gross Profit, Profit Margin %, and Markup % from any two known variables. Perfect for retail pricing and e-commerce.

Formula

Margin = (Revenue - Cost) / Revenue × 100 | Markup = (Revenue - Cost) / Cost × 100

Profit Margin is based on the selling price. Markup is based on the cost.

Calculation Example

A product costs $50 and sells for $100. Profit is $50. Margin is 50%, and Markup is 100%.

Browse more

See all math, everyday, and health calculators.