FormulaCraft

How to calculate markup in Excel and Google Sheets

Topic:Finance basics
Excel & Google Sheets
=(B2-A2)/A2

Verified example

Computed by a real spreadsheet engine on the sample data below.

CostSelling PriceMarkup %
80100
5075
120180
200250

=(B2-A2)/A20.25

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Create two columns: Cost (A) and Selling Price (B). Enter your values in rows 2 onward.
  2. 2In the Markup % column, enter =(B2-A2)/A2. This divides the profit (Selling Price minus Cost) by the Cost.
  3. 3Format the result cell as Percentage to display the markup as a percentage (e.g., 0.25 becomes 25%).

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What is the difference between markup and margin?

Markup is calculated on cost; margin is calculated on the selling price. A 25% markup equals a 20% margin.

How do I calculate the selling price when I know the cost and desired markup?

Multiply the cost by (1 + markup rate): =A2*(1+0.30) for a 30% markup.

More on Finance basics

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: