logic.codes

Profit Margin & Markup Calculator

What is my profit margin and markup on this product?

Single calculationv1.0.0Verified 2026-11-01Runs in your browser

Spec sheet

gross_margin · v1.0.0
Method

Gross margin and markup

  1. 01Unit cost = product cost + other per-unit costs
  2. 02Profit = price − unit cost
  3. 03Margin = profit ÷ price
  4. 04Markup = profit ÷ unit cost
Limits — read before relying on it
  • Per-unit variable costs only; fixed overhead is not allocated.
  • Returns and refunds are not modeled.
Sources
  • Margin vs. markup (managerial accounting)textbook

Related