Skip to content
Calcipedia

Margin Calculator

Calculate gross margin percentage, gross profit, markup, and selling price from cost and revenue.

Last updated

Margin snapshot

0%

Gross margin based on the values entered below.

Gross profit

$0.00

Markup

0%

Display currency

Switch the display currency for cost and selling-price outputs without changing the underlying pricing maths.

Cost$0.00
Revenue$0.00
← All Pricing & Profit calculators

Pricing Basics

Gross margin, gross profit, and markup in plain terms

A margin calculator helps you evaluate how much of a selling price is left after direct cost is covered. It is a useful pricing calculator, planning calculator, and free online calculator for anyone comparing cost, selling price, profit, margin, and markup.

Margin and markup are related but not the same

Gross profit is the simplest part of the calculation: selling price minus cost. Gross margin turns that profit into a percentage of revenue, while markup turns the same profit into a percentage of cost. Because the bases are different, margin and markup are not interchangeable numbers even when they are calculated from the same sale.

That difference is one reason a margin calculator is useful. Many people know the cost and selling price but want to know whether the resulting margin is healthy. Others know the cost and want to add a markup to reach a selling price. A practical calculator should help with both views.

Core margin and markup formulas

The gross-profit relationship starts with cost and selling price. Once gross profit is known, margin and markup can be calculated by dividing by the appropriate base value. In practice, the calculator applies this gross margin, gross profit, and markup in plain terms relationship to the user inputs, keeps the units and assumptions consistent, and then surfaces the supporting context needed to interpret the output responsibly.

Gross profit = Revenue - Cost

Gross profit is the cash difference between what you sell an item for and what it directly costs you.

Gross margin (%) = (Gross profit / Revenue) x 100

Margin measures profit as a share of the selling price or total revenue.

Markup (%) = (Gross profit / Cost) x 100

Markup measures profit as a share of the underlying cost base.

Using a margin calculator well

A simple online calculator for margin is most useful when it supports both directions: checking margin from cost and selling price, or estimating selling price from cost and markup. That makes it practical for budgeting, quoting work, product pricing, and comparing whether a price rise changes profit enough to matter.

This kind of calculation tool is best treated as a gross-margin view, not a full business-profit model. Operating expenses, tax, returns, delivery losses, labour overhead, and finance costs all affect net profit later. Even so, gross margin remains one of the quickest and most useful starting points in pricing analysis.

Frequently asked questions

What is gross margin and how is it calculated?

Gross margin is the percentage of revenue remaining after deducting the cost of goods sold (COGS). Formula: Gross margin % = (Revenue - COGS) / Revenue × 100. For example, £1,000 revenue with £400 COGS gives a gross margin of 60%.

What is the difference between gross margin and net margin?

Gross margin deducts only direct production costs. Net margin deducts all costs including operating expenses, interest, and taxes. A business can have a high gross margin but a low net margin if overheads are large.

What is a healthy gross margin?

Healthy margins vary significantly by industry. Software companies often see margins of 60-80%. Retailers may operate on 30-50%. Manufacturers typically see 20-40%. Service businesses vary widely depending on labour intensity. Compare margin to industry benchmarks rather than a universal standard.

Also in Pricing & Profit

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.