Free calculator

Profit Margin Calculator (Margin vs Markup) — Free & Accurate

Price & cost in → margin %, markup %, break‑even, and target price out. Built for ecommerce, ex‑tax, with fees and shipping. No signup.

  • Ex‑tax math
  • Fast & precise
  • No signup

Quick Start Guide

STEP 1

Enter price and cost.

STEP 2

Open Advanced to include discounts, payment fees, shipping, and fixed fees.

STEP 3

(Optional) Set a target margin to see the price required to hit your goal.

What This Calculator Covers

This tool estimates unit‑level profitability for a single product. It’s ex‑tax (VAT/sales tax not modeled), includes payment fees, shipping cost, and fixed transaction fees, and supports a target margin to reverse‑solve price. It’s not a cart‑level model.

Good For

  • Quick pricing checks
  • Discount/fee impact
  • Break‑even and target price
  • Profit forecasting by quantity

Not For

  • VAT‑inclusive quotes
  • Allocated COGS across bundles
  • Multi‑item cart math

How We Calculate

  • Ex‑tax calculations (VAT/sales tax not included).
  • Payment fees apply to the discounted net price (after d).
  • "Shipping" is your fulfillment cost; customer‑paid shipping is not modeled as revenue.

We compute profit per unit from net price minus costs and fees; margin and markup are derived from that core profit. Break‑even and target price are solved algebraically from the same inputs.

View Formulas & Methodology

Core Formulas

Formula & DescriptionEquation
Net PricetextNetPrice=Pcdot(1d)text{Net Price} = P cdot (1 - d)
FeestextFees=(textNetPricecdotf)+Ftext{Fees} = (text{Net Price} cdot f) + F
Profit Per UnittextProfit=textNetPriceCStextFeestext{Profit} = text{Net Price} - C - S - text{Fees}
Margin & MarkuptextMargin=fractextProfittextNetPrice;;;textMarkup=fractextProfitCtext{Margin} = frac{text{Profit}}{text{Net Price}} ; ; ; text{Markup} = frac{text{Profit}}{C}
Break‑Even PricePtextBE=frac(C+S+F)/(1f)1dP_{text{BE}} = frac{(C + S + F) / (1 - f)}{1 - d}
Target PricePtextTarget=frac(C+S+F)/(1fm)1dP_{text{Target}} = frac{(C + S + F) / (1 - f - m)}{1 - d}
Total ProfittextTotalProfit=textProfitcdotQtext{Total Profit} = text{Profit} cdot Q

Last updated: 2025-08-15

Frequently Asked Questions

Margin is profit ÷ revenue (ex‑tax). Markup is profit ÷ cost. Example: Price $40, Cost $25 → Profit $15. Margin = 37.5%. Markup = 60%.