Markup and Margin Calculator
Price retail sales, margins, and markups from cost and list price.
Price retail sales, margins, and markups from cost and list price. Enter your numbers and get an instant result.
Enter a cost, a list price, or both, and the page reads the trade from the cost side: the sale price after discount, then profit, margin on the sale price and markup on the cost.
This page executes on the tool server: the cost, price and percentages are sent for that one request, the arithmetic runs there, and nothing is stored. At least one of cost or list price is required; without either there is no pathway to compute.
The discounts-and-tax checkout job belongs to the Discount Calculator page. This page works from cost to markup and margin in the other direction.
What the cost direction covers
A discount percentage prices the sale off the list price; with the cost known, the same run reports profit, margin as profit over sale price, and markup as profit over cost. A markup percentage alone prices the sale straight from cost.
Both ratios are reported together because they answer different questions: margin says what the sale keeps, markup says what the cost earned.
- Cost, list price, discount and markup inputs
- Margin on sale price, markup on cost
- Profit as its own line
What is sent and what is kept
The request carries the figures entered, and the response carries the priced breakdown. Neither is written to disk or logged; repricing is a fresh request with no memory of the last one.
A run with neither cost nor price is refused with the missing input named, rather than computed through a guessed zero.
How to use the cost and price
Enter the cost, the list price, or both, with the discount and markup percentages, then press Execute Tool Engine. A discount percentage prices the sale off the list; with the cost known the run also reports profit, margin as profit over sale price, and markup as profit over cost; a markup percentage alone prices the sale straight from cost.
Both ratios are reported together because they answer different questions: margin says what the sale keeps, markup says what the cost earned. A run with neither cost nor price is refused with the missing input named.
What to Expect
Best for
- Pricing a sale from a known cost
- Reading margin and markup without mixing them
- Checking profit on a discounted price
Not ideal for
- Checkout totals with tax, which Discount Calculator owns
- Stacked or tiered discount schemes
- Currency conversion on the result
What this tool keeps
- The same breakdown for the same inputs
- Margin and markup on separate, labelled lines
- Your input private beyond the single request
What may need cleanup
- Rounding to two decimals throughout
- Tax, which this page never adds
- Fees the cost figure should already include
Common errors
- Quoting markup when the buyer asked for margin
- Forgetting the cost and reading a discount-only sale
- Adding tax on top of a margin figure
Example use cases
- Setting a retail price from wholesale cost
- Checking margin on a ten-percent-off sale
- Comparing two markups for the same cost
Sample input
Cost 60, list price 100 and a ten percent discount, sent with all three figures.
Sample output
Sale 90 with profit, margin and markup lines from the cost direction, computed on the tool server.
Who this is for
- Retailers pricing from cost
- Marketplace sellers checking margin
- Students learning margin-vs-markup
Frequently asked questions
What do I enter first?
Either the cost or the list price — one of the two is required. A discount percentage prices the sale; adding the cost prices the profit, margin and markup on top.
Is margin measured on cost or on price?
On the sale price: profit divided by sale price, while markup is profit divided by cost. Both are reported so the two directions never blur.
How is this different from Discount Calculator?
That page takes discounts and tax to a checkout price. This page starts from cost and reads the markup and margin direction instead.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.