Skip to content
TechToolsHQ
NewsReviewsGuidesTech 101Tech SeriesToolsNewsletter
TechToolsHQ

Independent, research-driven tech coverage — breaking news, in-depth reviews, buying guides, and technical tutorials to help you understand and choose with confidence.

Explore
NewsReviewsGuidesTech 101Tech SeriesFree Tools
Legal
About UsOur AuthorsContact UsPrivacy PolicyTerms of ServiceCopyright & DMCAAffiliate DisclosureEditorial PolicyAdvertise With Us

© 2026 TechToolsHQ. All rights reserved.

Tools / Gross margin & markup calculator

Gross margin & markup calculator

Bi-directional gross profit margin and markup calculator. Solves for selling price, gross profit, margin percentage, or markup multiplier from cost and target margins.

Runs entirely in your browser

Loading tool…

About this tool

Margin and markup are related but different, and confusing them leads to underpricing. This calculator converts between the four connected quantities — cost, selling price, gross profit, margin percentage and markup percentage — solving for whichever you are missing from the ones you know.

The key distinction it makes clear: margin is profit as a percentage of the selling price, while markup is profit as a percentage of the cost, so a 50% markup is only a 33% margin. Pricing off the wrong one quietly erodes profit. Being able to enter a cost and a target margin and get the exact selling price removes that error.

It runs in your browser, so your figures stay private. Use it to set prices that hit a target margin, work out the margin a given price delivers, or translate a supplier’s markup into what it means for your bottom line.

Frequently asked questions

What is the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. They differ — for example a 50% markup equals only about a 33% margin.
How do I price to hit a target margin?
Enter your cost and the margin you want, and the calculator gives the exact selling price — more reliable than applying a markup and hoping.
Why does confusing them cost money?
Pricing off markup when you meant margin (or vice versa) sets prices too low, quietly eroding profit on every sale. The calculator keeps them straight.
Are my figures private?
Yes. The calculation runs in your browser, so nothing you enter is uploaded.

Enjoying Gross margin & markup calculator?

TechToolsHQ is an independent, reader-supported tech platform. If this free tool saved you time, solved a problem, or helped your workflow, consider supporting our work. Your support helps us keep our utilities 100% free, private, and ad-free for everyone.

100% optional · Reader supported · Independent researchSupport our work

Related tools

  • Recurring deposit RD calculatorCalculate bank recurring deposit maturity amount with quarterly compounding.
  • House rent allowance HRA tax exemption calculatorCalculate tax-exempt HRA under Section 10(13A) for metro and non-metro cities.
  • EPF employees provident fund calculatorProject EPF retirement corpus with employee, employer contributions, and wage increments.
  • SaaS unit economics & metrics calculatorCalculate MRR, ARR, churn rate, CAC, customer LTV, and CAC payback period.
  • Freelance hourly & day rate calculatorCalculate required hourly and daily rates factoring taxes, overheads, and billable hours.
  • Break-even point & safety margin calculatorCalculate break-even sales volume, revenue targets, and margin of safety.

Browse all tools