MyAICalc Logo
MyAICalc Personal AI Calculator Hub
Strategic Pricing Intelligence

Margin Calculator

Optimize your unit economics. Deconstruct the relationship between cost, price, and profit to reveal the true efficiency of your business model.

Dynamic Price Solver

Input

Provide **any two** values to solve the matrix. The calculator uses algebraic substitution to find the missing variables.

Business Economics

The Architecture of
Unit Profitability

Price is what the customer pays; Margin is what your business keeps. Mastering the relationship between your cost of goods sold (COGS) and your final retail price is the difference between a sustainable enterprise and a failing one.

Margin Logic

Margin is your profit as a percentage of the Revenue. If you sell an item for $100 and it costs $70, your margin is 30%. Most corporate financial reports focus on margin to show efficiency.

Markup Logic

Markup is your profit as a percentage of the Cost. In the same example ($70 cost, $100 price), the markup is 42.8%. Markup is the tool most used by retailers to set initial shelf prices.

The Pricing Trap

A common mistake is adding a 20% markup when you need a 20% margin. A 20% markup on a $100 cost results in a $120 price, which is only a 16.7% margin. This "Gap" can destroy your profitability if not understood.

The Margin Formula

To calculate margin based on revenue (R) and cost (C):

Margin = (Revenue - Cost) / Revenue * 100

The Markup Formula

To calculate markup based on cost (C) and revenue (R):

Markup = (Revenue - Cost) / Cost * 100

Standard Industry Benchmarks

While every business is unique, here are some typical gross margin targets:

  • SaaS (Software): 70% - 90% (Low variable costs)
  • Retail (Clothing): 40% - 60%
  • Restaurants: 60% - 70% (on food cost), but 10% - 15% net after labor/rent.
  • Manufacturing: 25% - 40%

Margin/Markup Conversion Table:

Target MarginRequired Markup
10%11.1%
20%25.0%
33.3%50.0%
50%100.0%
75%300.0%

Gross vs. Net Margin

Gross Margin only considers the cost of the product itself (COGS). Net Margin is what's left after you pay for rent, marketing, salaries, and taxes. A business with a 50% Gross Margin can still be unprofitable if its "Operating Expenses" are 60% of revenue.

Pricing Strategies

  1. Cost-Plus Pricing: You take your cost and add a fixed markup percentage. This is simple but doesn't account for what the market is willing to pay.
  2. Value-Based Pricing: You set the price based on the customer's perceived value. This often results in much higher margins.
  3. Competitive Pricing: You set your price based on what competitors are charging, forcing you to optimize your cost structure to maintain margin.