Margin & Markup Calculator (Cost ↔ Price)
Compute price from target gross margin, or back-calc margin/markup from price. Includes extra costs and rounding.
gross margin calculator / markup calculator / pricing calculator cost to price
Mode
Currency
Input di Lapangan
HasilOpsi lanjutan
Recommended price
-
Gross profit
-
Gross margin (%)
-
Markup (%)
-
Gap to target
-
Rounding optimization
Uses currency-specific endings
Suggested prices
Generated from common endings
Rumus
Gross margin
Margin = (Price - (Cost + Extra)) / Price
Markup
Markup = (Price - (Cost + Extra)) / (Cost + Extra)
Price from cost
Price = (Cost + Extra) / (1 - Target margin)
With payment fees
Price = (Cost + Extra) / (1 - Fee rate - Target margin)
Numbers are calculated locally in your browser and are not sent to a server.
Penjelasan
Margin vs markup
Margin is measured against price; markup is measured against cost. The base differs, so the numbers are different.
Price from cost
Price = (Cost + Extra) / (1 - Target margin)
Margin from price
Margin = (Price - (Cost + Extra)) / Price
Uncovered excess
Can I include payment fees?
Yes. Put them in Extra, and if the fee is a % of price, use the advanced fee rate for higher accuracy.
Can I get price from a target margin?
Yes. In the Cost → Price tab, enter cost and target margin to get a recommended price and endings.
What about multiple products?
Use the bulk tab. Paste CSV/TSV and download the results as CSV.
Catatan
This tool is for calculation support and does not replace design, legal, contract, or safety requirements.
Presets are examples only and may vary by situation.
This tool computes gross profit (price − cost − extra). It may differ from accounting profit that includes overhead, labor, ads, fixed costs, and taxes.