Margin Calculator

Calculate gross profit margin, markup percentage, and profit from cost and selling price. Free, instant, no signup.

Formula: Margin = (Revenue − Cost) / Revenue × 100 | Markup = (Revenue − Cost) / Cost × 100

How to use the Margin Calculator

  1. Enter your values. Fill in the fields with your numbers.
  2. Calculate. Press Calculate to run the margin calculator.
  3. Use the result. Copy the result or try a related tool next.

Why use our Margin Calculator

Instant results. Enter your figures and the margin calculator returns an answer in seconds.
Free & private. Runs in your browser — no signup, and nothing is sent to a server.
Accurate. Uses standard formulas so you can rely on the numbers.

Free to use — premium coming soon

FREE
  • Unlimited calculations
  • Instant results
  • No signup
PREMIUM
  • Remove ads
  • Save & compare scenarios
  • Export results

About the Margin Calculator

The Margin Calculator works out your profit margin from two numbers: the cost of an item and the price you sell it for. It returns the profit in money terms plus the gross margin as a percentage, calculated as (selling price minus cost) divided by selling price, times 100. Because margin is measured against the selling price rather than the cost, it always comes out lower than the equivalent markup on the same pair of figures. That single distinction trips up a lot of sellers, so the tool keeps the math explicit and shows you the profit, the margin percentage, and the price so nothing is hidden behind a single number.

Reach for this calculator whenever you are setting a price, checking whether a product line is actually earning its keep, or comparing the profitability of items that have very different price tags. Retailers use it to sanity-check shelf prices, freelancers use it to see what they keep after material costs, and ecommerce sellers use it to confirm a listing still profits after the cost of goods. It is also handy in reverse: if you know the cost you pay and the margin you want to hit, the calculator helps you back into the selling price you should charge instead of guessing.

Under the hood the logic is simple arithmetic. Profit equals selling price minus cost. Margin percentage equals that profit divided by the selling price. To find a selling price for a target margin, you divide the cost by one minus the margin in decimal form, so a 20% target means dividing the cost by 0.8 and a 25% target means dividing by 0.75. The tool handles these conversions for you so you do not have to remember the formula or fight with a spreadsheet. Every figure is recalculated cleanly each time you change an input.

This is a gross-margin tool, meaning it measures profit against the direct cost you enter and does not subtract overheads like rent, wages, shipping, payment fees, or tax. Your true net margin will be lower once those are accounted for, so treat the result as a starting point for pricing rather than a final profitability verdict. The calculation runs entirely in your browser, so the cost and price figures you type are never uploaded or stored on a server. Nothing about your products or pricing leaves your device.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit measured as a percentage of the selling price, while markup is profit as a percentage of the cost. For the same item, markup is always the larger number. A product bought for $150 and sold for $200 has a 25% margin but a 33% markup.

How do I calculate selling price from cost and a target margin?

Divide the cost by one minus the margin written as a decimal. For a 30% margin on a $70 item, divide $70 by 0.7 to get a selling price of $100. The calculator does this conversion automatically.

Does this calculate gross margin or net margin?

It calculates gross margin, based only on the cost you enter against the selling price. It does not deduct overheads such as rent, wages, shipping, fees, or tax, so your real net margin will be lower.

What counts as a good profit margin?

It varies widely by industry. As a rough guide, a net margin around 5% is weak, 10% is acceptable, and 20% is strong. Low-cost retail and grocery often run on thin margins, while digital products can run much higher.

Can margin ever be 100% or more?

Margin can approach but never reach 100%, because that would mean the item cost nothing. Markup, by contrast, has no ceiling and can exceed 100% easily, which is one more reason the two figures are not interchangeable.

From our blog

How to Read a SIP Calculator: Turning Monthly Savings Into a Realistic Target

By the Super Simple Digital Tools Team · Updated June 2026

Most people open a SIP Calculator hoping to answer one question: if I invest a little every month, how much will I actually have later? The tool answers that by simulating regular monthly contributions and compounding them at an assumed rate. But the value of the calculator is not the single big number it produces; it is the way it lets you experiment. By changing one input at a time, you can see exactly which lever, the amount, the rate, or the time, moves your outcome the most, and that insight is what shapes a workable plan.

Start with time, because it is the most powerful and the most underrated input. Compounding rewards length disproportionately: extending a plan from 10 to 20 years usually more than doubles the corpus, even though you only doubled the contributions. Try it yourself in the calculator. Hold the monthly amount and rate fixed, then push the years out and watch the gains column grow far faster than the invested column. This is why financial planners stress starting early; a five-year head start often beats a larger monthly amount started later.

Next, be deliberate about the expected return. The calculator will happily accept 15 or 18 percent, but a projection built on an aggressive assumption can mislead you into saving too little. A more useful habit is to run three scenarios: a conservative rate, a moderate one, and an optimistic one. If your goal is still reachable under the conservative case, your plan is robust. If it only works at the optimistic rate, you are relying on luck, and it is wiser to raise your monthly contribution instead.

Use the calculator in reverse when you have a fixed goal. Suppose you need a specific amount for a down payment in eight years. Rather than guessing, keep adjusting the monthly figure until the projected corpus lands on your target. This turns a vague intention into a concrete monthly habit you can actually budget for. It also reveals when a goal is unrealistic for your timeframe, which is valuable to know early, while you still have room to extend the horizon or trim the target.

Finally, remember what the number leaves out. The projection assumes a smooth, constant return, but markets are bumpy, and the calculator does not subtract expense ratios, exit loads, or taxes on your gains. Read the output as a planning compass, not a contract. The disciplined behaviour it encourages, investing the same amount month after month regardless of market noise, is ultimately what builds the corpus; the calculator simply helps you choose a target worth committing to.

  • Convert annual to monthly correctly: a 12 percent annual return is about 0.95 percent per month, not 1 percent, because returns compound.
  • Run conservative, moderate, and optimistic return scenarios so your plan does not depend on the best-case assumption holding true.
  • Use the calculator in reverse: fix your target corpus and adjust the monthly amount until the projection matches your goal.
  • Mentally shave a little off the result to account for expense ratios, exit loads, and taxes, which the gross projection ignores.

Read the full guide →

Tool by the Super Simple Digital Tools Team. Reviewed by our editorial team. Free to use, no signup required.

Related tools