Calculating Costs, Margins, and Revenue

man using a laptop with a calculator tool

Use this easy calculator the find your numbers:

Get started button

Imagine you bake an incredible chocolate cake.

The ingredients cost you $18. You know it’s worth more, but what is the right price?

Should you sell it for $25? $35? $50?

A price that’s too low means you’re working for free. A price that’s too high means your cakes will sit on the shelf.

Every business owner faces this pricing dilemma.

The answer lies in a fundamental business concept: profit margin.

Many business owners confuse margin with its simpler cousin, markup. This common mistake can lead to underpricing products and eroding profits. It puts a ceiling on your growth. 

infograpic on Margin and Markup

Defining Key Concepts: Margin and Markup

While both terms relate to pricing, they serve distinct purposes:

  • Margin: This represents the portion of the selling price that constitutes profit. It can be calculated using the formula:
Margin (%) = (Selling Price - Cost of Goods Sold) / Selling Price * 100
  • Markup: This refers to the amount added to the cost to establish the selling price. The formula for markup is:
Markup (%) = (Selling Price - Cost of Goods Sold) / Cost of Goods Sold * 100

Understanding the difference between these two calculations is vital for effective pricing strategies.

zyflora frontscreen on laptop

A Guide to Calculating Your Selling Price

Calculating the right price is a straightforward process when you use a margin-based approach.

Determine Your True Cost of Goods Sold (COGS)

Before you price anything, you must know your true expense. This is your Cost of Goods Sold (COGS).

Pie chart of Cost of Goods Sold (COGS)

It includes the direct costs of creating your product. For our cake, this includes:

  • Flour, sugar, eggs, chocolate
  • The decorative box for selling
  • The cardboard circle it sits on

Add up every direct material expense. For our example, we will stick with a total COGS of $18.

Variable vs. Fixed Expenses

Your COGS consists of variable expenses. These amounts change based on how many products you sell. If you bake more cakes, you spend more on ingredients.

You should also know your fixed expenses, or overhead. These remain the same whether you sell one cake or one hundred. Examples include kitchen rent, software subscriptions, or marketing salaries. We don’t include these in this specific pricing formula. However, they are vital for overall business profitability, a topic we’ll cover later.

illustration of Variable and Fixed Expenses

Select Your Target Profit Percentage

This is the percentage of the final price you want to keep as gross profit. This number is a strategic decision based on several factors.

A good start is to research “average profit margin for [your industry].” A retail clothing store might have a 20-50% gross margin. A software company could have margins of 70-90%. Knowing your industry’s standards helps you compete.

gross margin per industry

Also, consider your brand positioning. Are you a premium, luxury brand or a budget-friendly option? A luxury bakery can command a higher margin (e.g., 60-70%). A budget bakery relies on selling many cakes at a lower margin (e.g., 30-40%). Your price should also reflect the value you provide. For our cake, let’s aim for a healthy 40% profit margin.

The Formula for Your Ideal Price

With your COGS and target margin, you can calculate your selling price. The formula is:

Selling Price = Expense / (1 – Desired Margin)

Let’s plug in our numbers:

  • Expense = $18
  • Desired Margin = 40% (which is 0.40)

Calculation:
Selling Price = $18 / (1 – 0.40)
Selling Price = $18 / 0.60
Selling Price = $30

To get a 40% profit margin on an $18 cake, you must sell it for $30. The $12 difference is your gross profit.

Already Have a Price? How to Find Your Profitability

What if you’re in a different situation? You can easily calculate your profit percentage if you know your expense and selling price. This shows how profitable the product truly is.

infographic on product Profitability

Let’s say you sold your $18 cake for $35 because it “felt right.” Let’s find your actual margin.

The formula is:

Profit Margin (%) = ((Selling Price – Expense) / Selling Price) * 100

Calculation:
Margin = (($35 – $18) / $35) * 100
Margin = ($17 / $35) * 100
Margin = 0.4857 * 100
Margin = 48.6% (rounded)

Selling your cake for $35 gives you a strong profit margin of 48.6%. You now have a hard number to evaluate that product’s performance.

Gross Margin vs. Net Margin: Are You Really Profitable?

So far, we have been calculating Gross Profit Margin. This is an extremely important metric. It shows the profitability of your product itself.

  • Gross Profit Margin = (Revenue - COGS) / Revenue

However, this doesn’t account for your other business expenses. These are the fixed costs we mentioned earlier, like rent, utilities, and salaries.

comparison illustration on Gross Margin and Net Margin

To see your entire business’s profitability, you need your Net Profit Margin.

  • Net Profit Margin = (Revenue - COGS - Operating Expenses) / Revenue

Why does this matter? You might have a great Gross Margin on your cakes. But high rent or marketing costs can shrink your Net Margin. This is the actual money your business keeps, which could even become negative. A successful business needs healthy results at both the gross and net levels.

Advanced Strategy: Working Backwards to Find Your Target Expense

These calculations can be a powerful planning tool. What if the market dictates you can only sell your cake for $25? But you know you need a 40% margin to be profitable. You can use a formula to find your maximum target production expense.

The formula is:

Target Expense = Selling Price * (1 – Desired Margin)

Calculation:
Target Expense = $25 * (1 – 0.40)
Target Expense = $25 * 0.60
Target Expense = $15

This result is a powerful insight. It tells you that to hit your financial goals, you must produce your cake for $15 or less. This drives strategic decisions, like finding new suppliers or improving your process efficiency.

How to Establish Selling Price

To set a selling price that aligns with your desired profit level, you can apply the following formula:

Selling Price = Cost of Goods Sold / (1 - Desired Margin)

For instance, if your cost is $50 and you aim for a margin of 20%, the calculation would be:

Selling Price = $50 / (1 - 0.20) = $62.50

Revenue Generation

Revenue represents the total income generated from sales before deducting any expenses. It can be calculated using the formula:

Revenue = Selling Price x Quantity Sold

For example, if you sell 100 units at a price of $62.50, your total revenue would be:

Revenue = $62.50 x 100 = $6250



illustration of Revenue Generation

Pricing Strategies

StrategyDescription
Gross MarginThe difference between revenue and cost of goods sold, expressed as a percentage of revenue.
Net MarginThe percentage of revenue remaining after all expenses have been deducted from sales.
Break-even PointThe sales level at which total revenues equal total costs, resulting in no profit or loss.
cost and revenue illustration

Pros and Cons of Different Pricing Strategies

Pricing StrategyAdvantagesDisadvantages
Cost-Plus PricingSimple to calculate Ensures all costs are covered Easy to implementIgnores market demand May lead to overpricing or underpricing Does not consider competitor pricing
Value-Based PricingAligns price with perceived value Can lead to higher profit margins Encourages customer loyaltyRequires deep market understanding Can be difficult to implement May alienate price-sensitive customers
Dynamic PricingMaximizes revenue based on demand Flexible and responsive to market changes Can optimize inventory managementCan confuse or frustrate customers Requires sophisticated technology May lead to perceived unfairness

Get started now

Click any image to share to Pinterest