Enter any two of cost, price, markup % or margin % — the rest compute live.
Fill in any two values — the other two compute automatically. Edit a computed field and it becomes an input.
Markup vs margin
25% markup = 20% margin
Markup is profit ÷ cost; margin is profit ÷ price. They're never the same number (except at 0).
Profit per unit
25
125 price − 100 cost
Quick reference: markup → margin
Currency-agnostic — use any currency consistently. All math happens instantly in your browser.
Solve pricing from any two known values: cost, selling price, markup percentage or gross margin percentage — the other two compute live as you type. Clearly explains the difference between markup (profit over cost) and margin (profit over price), a classic pricing confusion, and includes a quick markup-to-margin reference table plus the profit amount. Runs entirely in your browser.
The Markup & Margin Calculator allows users to compute missing pricing variables instantly by inputting any two known values among cost, selling price, markup percentage, and gross margin percentage. It features live calculations as you type, clearly distinguishes between markup and margin, and includes a quick-reference conversion table along with the absolute profit amount. Operating entirely client-side in the browser, it requires no sign-up or installation.
Good to know: This tool is designed for single-item pricing calculations and does not include inventory management or batch import features for processing large product catalogs.
Calculate selling price, cost, markup percentage, and gross margin instantly by entering any two known pricing values.
Open the Markup & Margin Calculator
Navigate to the browser-based pricing calculator tool to begin solving your pricing equations.
Enter any two known values
Type in your known figures, such as cost, selling price, markup percentage, or gross margin percentage.
View live computed results
Watch the remaining unknown fields and profit amounts compute automatically as you type.
Review markup and margin differences
Consult the built-in reference table and explanations to clearly understand the difference between markup and margin.
Estimated time: PT1M
Share this tool
5-in-1 percentage calculator: X% of Y, increase/decrease, discount.
Find sale price, savings, stacked discounts and reverse discount %.
Compare price per unit across product sizes to find the best deal.
Calculate dimensions from aspect ratios — 16:9, 4:3, 1:1, and more.
Calculate exact age in years, months, days from date of birth.
Calculate monthly loan EMI, total interest, and amortization schedule.
Calculate BMI in metric or imperial with instant health category.
Calculate time differences, durations, conversions, and world clocks.
Compute mean, median, mode, std dev, quartiles and more from a list of numbers.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Draw a Secret Santa with exclusions and share a private reveal link for each person.
Make custom bingo cards from your own words — play, print, or share a link.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
Rank anything with quick 1-v-1 matchups → a full ordered list you can share.
Convert Markdown to a fully customized, RTL-ready PDF.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.