💳 Payment & E-Commerce FeesPricing Math

Profit Margin & Markup Calculator

Instantly compute gross profit, profit margin %, markup %, and target selling price from cost.

Inputs (Instant Update)
$
$
Live Result & Visual Breakdown
—
—

Formula & How It Works

Gross Profit = Revenue - Cost · Margin % = (Profit / Revenue) × 100 · Markup % = (Profit / Cost) × 100

Margin measures profit as a percentage of selling price, whereas Markup measures profit as a percentage of cost. For example, buying at $50 and selling at $100 yields a 50% margin and a 100% markup.

Frequently Asked Questions

What is the difference between profit margin and markup?+

Profit margin divides gross profit by revenue (selling price). Markup divides gross profit by cost. Margin is always lower than markup for any profitable item.

How do I price an item for a 40% profit margin?+

Divide your cost by (1 - 0.40) = 0.60. For a $60 cost item, $60 ÷ 0.60 = $100 selling price (66.7% markup).

What is keystone pricing?+

Keystone pricing doubles wholesale cost (2× multiplier), resulting in a 100% markup and a 50% gross profit margin.

What is a strong SaaS vs e-commerce gross margin?+

SaaS businesses typically achieve 75%–85% gross margin, while DTC e-commerce brands usually target 55%–70% gross margin before marketing.

Related Calculators