Markup Calculator: Selling Price, Profit & Margin

Calculate selling price, markup, gross profit, and margin in three pricing modes.

Markup, Selling Price, and Gross Margin Calculator

Markup is profit as a percentage of cost; gross margin is profit as a percentage of the selling price. Calculate a selling price, reverse a markup, or price for a target margin.

Calculations run in your browser. Amounts use USD display formatting and do not convert currencies.

Choose what to calculate

Enter the cost basis you want to use. Minimum $0.01; maximum $1,000,000,000.

Markup uses cost as its denominator.

Optional whole-unit count for total revenue and profit.

Your price and profit breakdown

Results use the displayed selling price rounded to cents. Gross profit subtracts only the cost entered.

Per-unit pricing

Cost per unit
$50.00
Selling price per unit
$70.00
Gross profit per unit
$20.00
Markup on cost
40.00%
Gross margin on selling price
28.57%

Totals for 1 unit

Total revenue
$70.00
Total gross profit
$20.00

Totals use the displayed per-unit price. Maximum supported total: $1,000,000,000.

Markup and margin formulas

Markup measures gross profit against cost. Gross margin measures gross profit against the selling price.

  • Selling price from markup: cost × (1 + markup ÷ 100)
  • Markup from a price: (selling price − cost) ÷ cost × 100
  • Selling price from target margin:cost ÷ (1 − target margin ÷ 100)
  • Gross margin: (selling price − cost) ÷ selling price × 100

Example: a $100 cost with a 50% markup gives a $150 selling price, $50 gross profit, and 33.33% gross margin. A 25% target margin on the same cost gives a $133.33 selling price after rounding to cents.

How to use this calculator

  1. Choose which pricing value you want to solve.
  2. Enter the cost and the other requested input.
  3. Optionally set quantity to see totals.
  4. Compare markup with gross margin before pricing.

Cost means the amount you enter. Shipping, payment fees, taxes, discounts, and overhead are excluded unless already included in your cost. This estimate does not predict demand or recommend a market price.

Markup calculator FAQs

What is the difference between markup and margin?

Markup compares profit with cost. Gross margin compares profit with selling price. A 50% markup on a $100 cost gives a $150 price and a 33.33% gross margin.

How do I price for a target gross margin?

Divide cost by one minus the target margin. For example, a $100 cost at a 25% target margin needs a $133.33 selling price after rounding to cents.

Does gross profit include shipping, fees, overhead, or tax?

No. Gross profit subtracts only the cost you enter. Add any costs you want included to that amount; this tool does not model tax, fees, shipping, overhead, or discounts separately.

Does this calculator convert currencies or send my amounts?

No. Amounts are shown in US dollars, with no exchange-rate conversion. The calculation runs in your browser and does not send the entered amounts to a service.

What this calculator includes

  • Calculate a selling price from cost and markup.
  • Find markup from cost and a known selling price.
  • Calculate the price needed for a target gross margin.
  • See per-unit profit, markup, margin, and optional quantity totals.
  • Copy a clear summary while calculations stay in your browser.
Infinio Tools
© 2026 Infinio Labs