⚡
usefultools.dev
%

Profit Margin & Markup Calculator

NEW

Enter any two of cost, selling price, margin % or markup % and get the rest plus profit. See how margin and markup relate, or check a whole list of items at once.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Cost
$60.00
Selling price
$100.00
Profit
$40.00
Margin
40%
Markup
66.67%
With your numbers: Profit = $100.00 − $60.00 = $40.00; Margin = Profit ÷ Price = 40%; Markup = Profit ÷ Cost = 66.67%

Margin vs markup

  • Margin % = (Price − Cost) ÷ Price × 100
  • Markup % = (Price − Cost) ÷ Cost × 100
  • Markup % = Margin ÷ (100 − Margin) × 100
  • Margin % = Markup ÷ (100 + Markup) × 100
  • Price = Cost ÷ (1 − Margin ÷ 100) = Cost × (1 + Markup ÷ 100)
The same profit expressed both ways
Margin10%20%25%30%40%50%60%75%
Markup11.11%25%33.33%42.86%66.67%100%150%300%

Money is rounded half up to the currency's smallest unit. Margin and markup ignore tax, shipping and other costs unless you include them in the cost.

⚡

Quick Examples

Typical inputs and the results this tool produces.

Cost + price
Cost $60, price $100
Profit $40.00, margin 40%, markup 66.67%
Cost + markup
Cost $80, markup 25%
Price $100.00, margin 20%
Price + margin
Price $250, margin 30%
Cost $175.00, profit $75.00, markup 42.86%
Cost + margin
Cost $40, margin 20%
Price $50.00, profit $10.00, markup 25%
📖

Overview

Margin and markup both describe profit, but they divide by different numbers: margin is profit as a share of the selling price, markup is profit as a share of the cost. Mixing them up is a common reason a price ends up too low.

This calculator takes any two of cost, selling price, margin or markup and works out the other values, including the profit in money. A reference table shows how the same profit reads as margin and as markup, and the list view checks many products at once with totals.

Money is rounded to the currency’s smallest unit and everything runs in your browser.

Why use this tool?

  • Solve from any two known values
  • Margin and markup formulas shown
  • List mode with totals for many items
  • Clear message instead of a divide-by-zero
  • Runs in your browser, nothing is sent
⭐

Features

🔀

Five ways in

Start from cost and price, cost and margin, cost and markup, price and margin, or price and markup.

💰

Profit in money

Shows the profit amount next to margin and markup, rounded to the currency’s smallest unit.

📐

Formulas included

Margin and markup formulas and a margin-to-markup table sit under the result.

📋

List of items

Paste name, cost, price lines and get per-item and overall margin and markup.

⚠️

Zero handling

A price or cost of 0 gives a plain explanation instead of a broken number.

📄

Copy results

Copy the result as plain text for a quote, spreadsheet or message.

🛠️

How to Use

1

Pick what you know

Choose the pair of values you have, such as cost and margin %.

2

Enter the two values

Type the amounts or percentages and choose a currency.

3

Read the result

Cost, price, profit, margin and markup update as you type, with the formula using your numbers.

4

Try the list view

Switch to List of items to check several products and see totals.

🤔

Frequently Asked Questions