Skip to content
Vitali Web Tools
All toolsFavorites
Categories
DevicesTextDeveloperCalculatorsImagesAudio & VideoFiles & DataOffice & PlanningPDFCodes & Templates
Contact & feedback
Free tools without an account
Vitali Web Tools
Vitali Web Tools
Collapse sidebar
Tool library
FavoritesAccount
All tools/Office & Planning/Margin & Markup Calculator

Margin & Markup Calculator

Share tool
Share this tool

Only this public address is included. Your files, inputs and results stay out of the link.

Calculate gross margin and markup separately, or find a selling price for your target margin. See the basis behind each percentage.

Processed on your deviceFree · No account needed

Preparing your tool…

A visual example

Same profit, different percentages

  1. Margin uses selling price
    CalculationResult
    Gross profit ÷ price20 ÷ 100
    Margin20%
    01

    Margin uses selling price

    Cost 80 and price 100 leave a gross profit of 20.

  2. Markup uses cost
    CalculationResult
    Gross profit ÷ cost20 ÷ 80
    Markup25%
    02

    Markup uses cost

    The same gross profit is compared with cost instead.

A 20% margin is not a 20% markup.

Illustrative example. Synthetic numeric example. Not current data from your business.

How to use it

  1. 1Enter the unit cost and current selling price to compare margin and markup.
  2. 2Set a target margin to calculate a corresponding price. Use the same currency and tax basis for all amounts.
  3. 3Compare selling price, gross profit, margin and markup. Export the calculation if you need a record.

Example: cost 80.00 and selling price 100.00 give gross profit 20.00, margin 20% and markup 25%. A 20% markup instead gives a price of 96.00.

Details & limits

Single-unit calculation in one currency. Enter costs and prices on a consistent tax basis. Overheads and taxes are not automatically included.

Why are margin and markup different?

Margin divides gross profit by the selling price; markup divides it by cost. Price for a target margin m is cost ÷ (1 − m/100), while price for markup u is cost × (1 + u/100). A target margin of 100% or more cannot be used with positive cost. Gross profit is not net profit: overheads and other expenses still need to be covered.

The denominator changes the price decision

Margin uses the selling price as its base; markup uses cost. That is why a 25% markup on a cost of 80 gives the same price as a 20% margin: 100. Decide which target you mean before quoting a customer. The gross profit shown here still has to cover costs that are not included in the unit cost.

Related tools

Break-even CalculatorQuotation BuilderSupplier Quote Comparison
© 2026 Vitali Web Tools
Guides & examplesPrivacyTermsImprintContactDeutsch