Margin Calculator
Determine the selling price (revenue) you need to achieve your desired profit margin. Simply enter your cost and target margin to instantly see the required price and profit.
Inputs Explained
- Cost: The amount you pay to acquire or produce the product.
- Margin (%): The percentage of the selling price that you want to be profit.
- Revenue (Selling Price): The final price you charge the customer.
How it Works
The calculator uses the Gross Margin formula to reverse-engineer the selling price. Note that Margin is based on Revenue, while Markup is based on Cost.
Margin % = [(Price - Cost) / Price] × 100Price = Cost / (1 - Margin%)
Margin Calculator
Calculate selling price from desired margin
📐 Formula
Price = Cost / (1 - Margin%)
Example: $100 Cost / (1 - 20%) = $125 Price.
Profitability Analysis
Step-by-Step Example
You buy a gadget for $100 and want a 20% Margin.
- Wrong Way (Markup): $100 + 20% = $120. Profit is $20. Margin is $20/$120 = 16.6% (Too low!)
- Right Way (Margin): Price = $100 / (1 - 0.20) = $100 / 0.80 = $125.00.
- Verification: Profit is $25. Margin is $25/$125 = 0.20 or 20%.
Use Cases
- Retail Pricing: Setting prices for products to ensure healthy profits.
- Sales Strategy: Determining how much discount you can offer without losing money.
- Business Planning: Forecasting revenue based on costs and margin goals.
Frequently Asked Questions
The core difference lies in the denominator used for the calculation. Margin (or Gross Margin) is profit calculated as a percentage of the *Selling Price* (Revenue). Markup is profit calculated as a percentage of the *Cost Price*. For example, if you buy a product for $100 and sell it for $150, your profit is $50. Your Margin is 33.3% ($50 divided by $150), while your Markup is 50% ($50 divided by $100). Margin is always lower than markup percentages, but it is the standard metric for financial health.
The Gross Margin is calculated using the formula:
[(Revenue - Cost) / Revenue] × 100. This formula tells you exactly how many
cents of profit you keep from every dollar generated in sales. For instance, a 20%
margin means that for every $1.00 you earn in sales, you keep $0.20 as gross profit,
while $0.80 goes towards paying for the cost of the goods. To find the selling price
needed for a specific margin, use: Cost / (1 - Margin%).
Margin is the primary indicator of a company's financial health and efficiency. While sales revenue measures size, margin measures sustainability. Tracking gross margins helps business owners understand if their pricing strategy is working, if their costs of goods are too high, or if they need to negotiate better terms with suppliers. A business with high sales but very low margins is vulnerable to slight cost increases, whereas high margins provide a safety buffer and capital for reinvestment and growth.
Sources & References
- Investopedia: Profit Margin - Definition and formulas.
- Shopify: Profit Margin Guide - Guide for ecommerce businesses.