Text Toolbox

Margin & Markup Calculator

Free online margin and markup calculator. Enter cost and price to get profit, profit margin %, and markup % — or set a target margin to find the price.

What do you have?
Selling price
Profit
Margin
Markup

About This Free Online Margin & Markup Calculator

Our free online margin and markup calculator helps you price products and understand profit. Enter your cost and selling price to instantly see the profit, the profit margin percentage, and the markup percentage. Or switch modes and enter your cost and a target margin to find the selling price you should charge. Margin and markup are often confused — margin is profit as a percentage of the selling price, while markup is profit as a percentage of cost — and this tool shows both clearly. It runs entirely in your browser with no signup, perfect for retail, e-commerce, and freelancing.

Features of Our Margin & Markup Calculator

  • Profit, margin %, and markup % from cost and price
  • Reverse mode: set a target margin to find the price
  • Clearly separates margin from markup
  • Great for retail, e-commerce, and freelancing
  • Instant results as you type
  • 100% free, no signup — runs in your browser

How to Use the Margin & Markup Calculator

Using this tool is simple and requires no signup or registration. Follow these steps:

  1. Choose whether you have the price, or want to set a target margin.
  2. Enter your cost and the price or target margin.
  3. Read the profit, margin %, and markup %.
  4. Copy or download your pricing breakdown.

Frequently Asked Questions About Margin & Markup Calculator

What is the difference between margin and markup?

Markup is profit as a percentage of cost, while margin is profit as a percentage of the selling price. A 50% markup on a $10 cost gives a $15 price, which is a 33.3% margin. This tool shows both so you do not mix them up.

How do I calculate profit margin?

Profit margin = (price − cost) ÷ price × 100. For example, a $15 item that costs $10 has a $5 profit and a 33.3% margin. Enter cost and price and the calculator does it for you.

How do I price for a target margin?

Price = cost ÷ (1 − margin%). For a 40% margin on a $12 cost, price = 12 ÷ 0.60 = $20. Use the target-margin mode to get the price automatically.

Why Choose Text Toolbox?

Text Toolbox provides free, private, and instant online text tools. Unlike other text utility websites that require signup accounts or send your data to servers, all our tools process your text entirely in your browser. This means your content never leaves your device — we cannot see it, store it, or share it. Our tools are fast, lightweight, and work on any device with a modern web browser.

Related Free Online Tools