Margin Calculator

💰 利润率计算器 / Margin Calculator成本、售价、毛利率互推,附常用利润率参考价
$
$
50.00
利润 Profit
33.33%
毛利率 Margin
50.00%
加价率 Markup

📊 成本 100 的常用售价参考 / Price hints for this cost

目标 Target按毛利率 (售价含利)按加价率 (成本×)对应毛利 $
10%$111.11$110$11.11
20%$125$120$25
30%$142.86$130$42.86
40%$166.67$140$66.67
50%$200$150$100

💡 公式说明 Formulas

毛利率 Margin % = (售价 − 成本) ÷ 售价 × 100% | 加价率 Markup % = (售价 − 成本) ÷ 成本 × 100%

参考价:售价(毛利率) = 成本 ÷ (1 − 毛利率%) | 售价(加价率) = 成本 × (1 + 加价率%)

🔒 所有计算均在浏览器本地完成,数据不会上传到任何服务器。

What is Margin Calculator?

This margin calculator runs locally in your browser for pricing decisions. Enter cost and selling price to instantly see profit, margin % (profit ÷ price) and markup % (profit ÷ cost), with a Margin / Markup mode toggle. Based on your cost, it also builds a 5-row reference table from 10% to 50% — price by margin (price = cost ÷ (1 - margin%)) or by markup (price = cost × (1 + markup%)) — with the profit per row. Results copy in one click. Everything runs locally — nothing is uploaded. Built for e-commerce sellers, small merchants, and product margin analysis.

Use Cases5 scenarios
  • E-commerce product pricing
  • Small-business quoting
  • Analyzing product gross profit
  • Profit checks before discounts
  • Learning margin vs markup
How to Use5 steps
  1. 1Enter the cost in dollars
  2. 2Enter the selling price
  3. 3Toggle Margin or Markup mode
  4. 4Read profit, margin % and markup %
  5. 5Check the 10%-50% price table and copy results
Features7 features
  • Free
  • No signup
  • Margin & markup modes
  • Real-time calculation
  • 5-row reference price table
  • One-click copy
  • 100% local
FAQ7 questions
What is a margin calculator?

An online pricing tool. Input: cost and selling price. Output: profit, margin % (profit ÷ price), markup % (profit ÷ cost), plus a reference price table. Used for e-commerce pricing and margin analysis. Everything runs locally in your browser — no uploads.

What is the difference between margin and markup?

Margin = profit ÷ selling price (how much of each dollar sold is profit). Markup = profit ÷ cost (how much is added on top of cost).

How is the reference table calculated?

By margin: price = cost ÷ (1 - margin%). By markup: price = cost × (1 + markup%).

What if price is below cost?

Profit goes negative and margin % shows in red to flag the loss.

Does it support other currencies?

The UI shows $, but amounts are plain numbers — read them as any currency you like.

Can I copy the result?

Yes. Copy Result writes a one-line summary (cost, price, profit, margin %, markup %) to the clipboard.

Is my data uploaded?

No. All calculation happens locally in your browser with no network requests.