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 Use a Savings Calculator to Turn a Goal Into a Monthly Plan

By the Super Simple Digital Tools Team · Updated June 2026

Most people set savings goals as a single big number, $10,000 for an emergency fund, $30,000 for a deposit, and then feel paralyzed. A savings calculator flips that around. Instead of staring at the total, you tell the tool the target and the deadline and let it solve for the one figure you can act on: how much to set aside each month. That shift from a daunting end number to a recurring habit is the whole point, and it is why goal-based planning beats vague intentions to 'save more'.

Start by gathering three honest inputs. First, your current balance, the money already earmarked for this goal, not your whole net worth. Second, a realistic interest rate from the account you will actually use; a high-yield savings account and a basic current account can differ dramatically, and the rate compounds across years. Third, your timeline. Be specific. 'In three years' produces a very different monthly number than 'in eighteen months', and pretending you have longer than you do only sets up a shortfall.

Now read the breakdown, not just the headline total. A good result separates the money you contributed from the interest the account generated. On short horizons, contributions dominate and interest is almost a rounding error, which tells you the rate matters less than discipline. On longer horizons, interest can become a meaningful chunk of the total, which is the visible reward for starting early. Watching that split change as you stretch the timeline teaches the lesson compounding charts try to make: time in the account does the heavy lifting.

Use the calculator to pressure-test trade-offs before you commit. Lengthen the deadline by a year and watch the monthly deposit drop, sometimes enough to make the plan survivable. Nudge the interest rate up by a single percentage point to see whether switching accounts is worth the hassle. Add a one-off boost, like a tax refund or bonus, to your starting balance and see how much it shaves off future deposits. Each tweak takes seconds and turns an abstract goal into a set of concrete levers you control.

Finally, make the number stick. Once you know the monthly figure, set up an automatic transfer for that exact amount on payday so saving happens before you can spend the money. Revisit the calculator whenever your income, your goal, or your account's rate changes, and adjust the transfer to match. Treat it as a living plan you re-run every few months rather than a one-time estimate, and the gap between intention and reality quietly closes.

  • Enter the real rate from the account you'll use, a high-yield account versus a basic one can change your final balance by hundreds or thousands over a few years.
  • Solve backward: fix your goal amount and deadline, then let the calculator output the required monthly deposit instead of guessing.
  • Check the contributions-versus-interest split; on short goals it confirms that consistency, not rate-chasing, drives the result.
  • Re-run the numbers after any windfall, raise, or rate change, and update your automatic transfer to match the new monthly target.

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