Margin Markup Calculator

Convert between cost, selling price, profit, margin, and markup with a clear per-unit and total breakdown.

Enter your landed, production, wholesale, or service delivery cost per unit.

Use a selling price, target margin percent, or target markup percent based on the selected calculation type.

Choose whether you already know the selling price or want to solve one from a target percent.

Optional quantity for total revenue, total cost, and total gross profit. Use 1 for a per-unit-only check.

Use 0 to 4 decimal places for money and percentage values.

Symbol used for money values in the output and breakdown.

Breakdown

Choose a calculation type and enter cost plus a price or target percentage.


Calculator

How it works

Margin and markup both compare selling price with cost, but they use different bases. Gross margin is profit as a share of selling price. Markup is profit as a share of cost.

Enter cost and selling price to compare both percentages, or enter cost with a target margin or markup to calculate the selling price needed for that target.

Margin = (selling price − cost) ÷ selling price × 100

Markup = (selling price − cost) ÷ cost × 100

The optional quantity multiplies the per-unit figures so you can estimate total revenue, total cost, and total gross profit for a simple volume scenario.


Question

Assumptions and limitations

Use this for quick pricing checks where one average unit cost and one selling price are enough. It does not model taxes, discounts, platform fees, shipping, inventory changes, returns, financing costs, tiered pricing, or accounting rules.

Results are planning estimates only. They are not financial, tax, legal, accounting, or business advice.

All calculations happen locally in your browser. Your costs, prices, margins, and quantity assumptions are not sent to a server.


Books

References