Skip to content
ToolsLeb ToolsLeb

Profit Margin Calculator

Calculate profit and profit margin on a product or service.

Simple Calculators

Calculator Inputs

$
$

Your Result

Enter your details and press Calculate to see your result.

Formula

Profit = Selling Price − Total Cost
Selling Price The price you sell the product or service for.
Total Cost Everything it costs you to deliver it.
Margin Percent = ((Selling Price − Total Cost) ÷ Selling Price) × 100
Selling Price The price you sell the product or service for.
Total Cost Everything it costs you to deliver it.

How it works

  1. Enter your selling price.
  2. Enter your total cost.
  3. View your profit and profit margin percentage.

Share on Social Media:

Enter what you sell an item for and what it costs you to see your profit and profit margin. Profit = selling price − total cost; margin = profit ÷ selling price × 100.

Worked example

Sell at $100 with a total cost of $70: profit $30, margin 30%.

Set a price from a target margin

Price = Cost ÷ (1 − target margin). For a 40% margin on a $70 cost: 70 ÷ 0.6 = $116.67. Simply adding 40% to cost ($98) would give only a 28.6% margin.

Margin ↔ markup

MarginEquivalent markup on cost
20%25%
25%33.3%
30%42.9%
40%66.7%
50%100%

Markup = margin ÷ (1 − margin).

Include every cost

For an honest margin, total cost should include shipping, packaging, platform or marketplace fees, payment processing and returns, not just the purchase price.

Related calculators

Frequently Asked Questions

Include everything it costs you to produce and deliver the product or service — materials, labor, and any directly attributable overhead.

Profit margin is profit as a percentage of the selling price, while markup is profit as a percentage of the cost. A $50 item costing $40 has a 20% margin but a 25% markup — the two numbers are always different for the same sale.

It varies widely by industry — service businesses often run higher margins (20-40%) than retail or food service (3-10%), so compare your margin against businesses similar to yours rather than a universal target.

Either raise your selling price, reduce your cost to deliver the product or service, or both — even small percentage improvements in cost or price can meaningfully increase margin at scale.