Margin Calculator

Profit margin is a key indicator of how efficiently a business turns sales into profit. It shows the percentage of revenue left after covering costs, helping owners and managers evaluate pricing strategies, control expenses, and compare performance across products or services. This guide explains the main concepts, formulas, and practical examples so you can calculate and understand margins with ease.

How to calculate profit margin

Profit margin shows the percentage of revenue that becomes profit after covering costs. Use the formula: Profit Margin (%) = (Revenue − Cost) ÷ Revenue × 100.

Start with total sales, subtract costs, divide by sales, then multiply by 100. Knowing any two values (revenue, cost, profit, margin) lets you calculate the rest.

Gross margin focuses on production costs, while net margin includes all expenses. Keeping a strong margin means controlling costs, adjusting prices, and monitoring changes regularly.

Example: Revenue = $200, Cost = $150 → Profit = $50 → Profit Margin = (200 − 150) ÷ 200 × 100 = 25%.

Gross margin formula

Gross margin measures how much of your revenue remains after subtracting the direct costs of goods sold (COGS).

The formula is: Gross Margin (%) = (Revenue − COGS) ÷ Revenue × 100.

It focuses only on production costs, excluding expenses like marketing, rent, or salaries.

A high gross margin means you keep more money from each sale to cover other expenses and profit. Tracking it helps set prices, control production costs, and compare performance over time.

Example: Revenue = $500, COGS = $300 → Gross Profit = $200 → Gross Margin = (500 − 300) ÷ 500 × 100 = 40%.

A note on terminology

In finance, terms like margin, gross margin, and profit margin are often used interchangeably, but their meaning can vary depending on the context. Margin usually refers to the percentage of revenue kept as profit, gross margin focuses on profit after direct production costs, and net margin includes all expenses.

Understanding these distinctions is essential for accurate analysis and communication, especially when comparing results across industries or companies.

Example: Revenue = $1,000, COGS = $600, Other Expenses = $200 → Gross Margin = (1,000 − 600) ÷ 1,000 × 100 = 40%, Net Margin = (1,000 − 600 − 200) ÷ 1,000 × 100 = 20%.

Margin vs. markup

Margin and markup are related but not the same. Margin is the percentage of the selling price that is profit: Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100.

Markup is the percentage added to the cost to set the selling price: Markup (%) = (Selling Price − Cost) ÷ Cost × 100.

Both express profitability but from different perspectives. Margin looks at profit as part of the selling price, while markup focuses on how much you increase the cost to determine that price.

Example: Cost = $80, Selling Price = $100 → Margin = (100 − 80) ÷ 100 × 100 = 20%, Markup = (100 − 80) ÷ 80 × 100 = 25%.

Cost Margin % Selling Price Markup %
$80 20% $100.00 25%
$80 30% $114.29 42.86%
$100 25% $133.33 33.33%
$200 40% $333.33 66.67%

When and why to use the margin calculator?

A margin calculator is useful whenever you need to quickly determine profitability without doing manual calculations. It helps business owners, sales teams, and financial analysts check if pricing covers costs and meets target margins. Use it when setting product prices, evaluating supplier quotes, or comparing profitability across products or services.

By instantly showing the relationship between cost, selling price, and margin, it reduces errors, saves time, and supports data-driven choices. This is particularly helpful in fast-moving industries where even small margin changes can impact overall profit.

Based on 1 source

  1. 1. Brigham, E.F.; Ehrhardt, M.C. Financial Management: Theory and Practice; 2016

Margin Calculator - FAQ

Margin Calculator

$0.00
$0.00
$0.00
0.00%
$0.00
$0.00