Margin Calculator

Calculate gross profit margin, target retail selling price, and equivalent markup percentage.

Math Audited
Product Cost$100.00
$0$1,000
Gross profit Margin30%
%
0%99.9%
Recommended Selling Price
$142.86

Selling Price: $142.86 (Cost: $100.00 + Profit: $42.86).

Gross Profit Amount+$42.86
Equivalent Markup Rate42.86%
30%
Margin
Cost: $100.00 (70%)
Profit: $42.86 (30%)
How is this calculated?
1. Identify input variables: Cost = $100.00, Target Margin = 30% 2. Compute Selling Price: Price = Cost / (1 - Margin / 100) = 100.00 / (1 - 30 / 100) = $142.86 3. Compute Gross Profit: Profit = Price - Cost = 142.86 - 100.00 = $42.86 4. Compute Equivalent Markup Rate: Markup = (Profit / Cost) * 100 = (42.86 / 100.00) * 100 = 42.86%
Mathematical Audit LogVerified against standard retail profit margin equations and accounting principles.Last Audited: 2026-07-12
Mathematical Formulas
Selling Price: P = C / (1 - GM / 100)
Gross Unit Profit: Profit = P - C
Markup Equivalent: Markup = (Profit / C) × 100
Core Assumptions
  • Assumes cost represents total Cost of Goods Sold (COGS).
  • Ignores payment gateway transaction fees, sales taxes, or volumetric shipping rates.
Limitations & Exclusions
  • Does not include operating costs (rent, utilities, salaries) which affect net income margin.
  • Target margin must be strictly less than 100% to remain mathematically finite.

About the Margin Calculator

A margin calculator helps retail stores, wholesale businesses, and finance professionals calculate the required selling price, gross profit, and markup percentage for a product, given its cost and desired profit margin. Understanding profit margins is key to maintaining a healthy business, setting competitive prices, and ensuring long-term profitability.

Mathematical Formula & Logic

Profit margin calculations are based on three core equations: 1. Recommended Selling Price: Price = Cost / (1 - Margin / 100) This calculates the selling price based on the cost and desired margin percentage. 2. Gross Unit Profit: Profit = Price - Cost This is the absolute currency difference between the selling price and the cost. 3. Markup Percentage: Markup = (Profit / Cost) * 100 This calculates the markup percentage relative to the product cost.

Step-by-Step Example

Calculate the recommended selling price, profit, and markup for a product with a cost of $75.00 and a desired gross margin of 25%: 1. Identify the input variables: Cost = $75.00, Margin = 25%. 2. Compute the selling price: Price = 75.00 / (1 - 0.25) = 75.00 / 0.75 = $100.00. 3. Compute unit profit: Profit = $100.00 - $75.00 = $25.00. 4. Compute the markup percentage: Markup = ($25.00 / $75.00) * 100 = 33.33%. 5. Therefore, with a $75.00 cost and 25% margin, the recommended price is $100.00, generating $25.00 in profit at a 33.33% markup.

Reference Data & Values

costmarginpriceprofitmarkup
$100.0010%$111.11$11.1111.11%
$100.0020%$125.00$25.0025.00%
$100.0025%$133.33$33.3333.33%
$100.0050%$200.00$100.00100.00%
$100.0075%$400.00$300.00300.00%

Frequently Asked Questions

Profit margin is the ratio of profit divided by the selling price, representing the percentage of revenue that is kept as profit.
Margin is calculated relative to the selling price, while markup is calculated relative to the cost. For example, a 20% margin is equivalent to a 25% markup.
Divide the cost by (1 minus the margin percentage as a decimal). For example, a cost of $80 with a 20% margin is: 80 / (1 - 0.2) = 80 / 0.8 = $100.
No. Since selling price equals cost plus profit, profit can never exceed the selling price (assuming positive cost). Thus, the profit margin is mathematically capped at 99.9% in our calculations.
A healthy margin varies significantly by industry. Services often have higher margins (e.g. 50-80%), whereas grocery retail or volume wholesale operate on lower margins (e.g. 2-10%).