Business · Free Online Tool

Profit Margin Calculator

Measure business health and pricing efficiency by calculating gross margin, net margin percentage, and matching markup ratios from cost and revenue figures.

Profit Margin Calculator Interactive Calculator Tool

Profit Margin Calculator — Interactive Online Calculator

All calculations run privately in your browser with instant results and transparent formulas below.

How the Profit Margin Calculator Works

Enter your unit cost and selling price (or enter cost and target margin percentage). The calculator solves the equation to reveal your exact gross margin, dollar profit, and equivalent markup.

How to Use This Calculator

  1. 1 Select whether you want to find your Margin from Cost & Selling Price, or solve for Selling Price from Cost & Target Margin %.
  2. 2 Enter your unit cost and either your selling price or desired margin percentage.
  3. 3 Review the calculated Profit Margin %, gross dollar profit, and equivalent Markup %.

Calculation Formula

Gross Margin % = ((Revenue - Cost) / Revenue) × 100
Selling Price = Cost / (1 - (Target Margin % / 100))
Gross Profit = Revenue - Cost

Practical Worked Examples

Example 1: Calculating Margin from Cost and Price

Unit Cost = $60.00, Selling Price = $100.00. Gross Profit = $40.00, Gross Profit Margin = 40.0%, and equivalent Markup on cost = 66.67%.

Example 2: Pricing a Product for a 35% Margin Target

Unit Cost = $26.00 with a target 35% margin: Selling Price = $26.00 / (1 - 0.35) = $40.00. Dollar profit per unit = $14.00.

Example 3: Service Retainer Margin Audit

A $2,500 monthly agency retainer costs $1,625 in delivery labor. Gross Profit = $875, giving a 35.0% profit margin.

When to Use This Calculator

  • Setting retail prices to maintain strict gross margin targets
  • Benchmarking industry standards against company performance
  • Evaluating wholesale discounting allowances

Important Considerations

  • Gross margin reflects unit economics and does not consider fixed corporate SG&A overhead.

Frequently Asked Questions

What is a healthy profit margin for a business?
Healthy margins vary significantly by industry: grocery and retail often operate at 2%–5% net margins, while SaaS software companies frequently target 70%+ gross margins and 20%+ net margins.
Why is margin always lower than markup for the same transaction?
Because margin divides profit by the larger selling price, whereas markup divides profit by the smaller cost baseline.