Profit Percentage Formula in Excel

There are two ways to “profit percentage formula in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above with a tool to test it; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: margin is profit divided by the selling price: =(Price-Cost)/Price, formatted as a percentage.

On this page7
ƒxMargin & Markup CalculatorLive

Margin is profit ÷ price; markup is profit ÷ cost.

Gross margin
38.46%

Profit per unit: €25.00

Markup
62.50%
=(B2A2)/B2 · =(B2A2)/A2

Need it as an auditable file?

The pricing model ships inside the Corporate Finance Suite — formula-driven, unlocked, audit-ready.

View template
=(B2-C2)/B2
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

Margin and markup use the same profit in the numerator and different denominators, which is why the two numbers never agree and why quoting one as the other misprices a product. Margin divides profit by the price, so it answers what share of revenue you keep and can never reach 100%. Markup divides the same profit by the cost, so it answers how far you marked the item up and has no upper limit. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “profit percentage formula in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

An item costs 60 and sells for 100. Margin is (100-60)/100 = 40%. Markup on the same pair is (100-60)/60 = 66.7%. To hit a target margin instead, work backwards: price = cost / (1 - margin), so 60 / (1 - 0.40) = 100. The two ratios are one keystroke apart in a spreadsheet and several points apart in the price list, and the mistake only surfaces when the year-end gross profit misses plan. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. Here is the takeaway for “profit percentage formula in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.

Common mistakes

  • Dividing profit by cost and labelling it margin, which overstates the figure on every item.
  • Adding a 40% markup and reporting a 40% margin: the first gives a 28.6% margin, and the gap grows as the numbers rise.
  • Averaging the margin percentages of several products instead of computing total profit over total revenue.
  • Leaving the result as a decimal, so 0.4 is read as 0.4% in a report.

Frequently asked questions

What is the difference between margin and markup?

Margin divides profit by the price, markup divides the same profit by the cost. A 50% markup is a 33.3% margin.

How do I price for a target margin?

=Cost/(1-Margin). For a 35% margin on a cost of 65, that is 65/0.65 = 100.

How do I convert markup to margin?

=Markup/(1+Markup), and back again with =Margin/(1-Margin).

Can margin exceed 100%?

No. Profit cannot exceed the price it is measured against, so a figure above 100% means markup was computed instead.

Other ways people ask this

People reach this page typing “excel formula for profit percentage” and “profit percentage in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “excel formula for profit percentage”, “profit percentage in excel” all point at the one operation explained on this page, which is why they all lead here.