
ETF vs Mutual Fund: Which Is Better for Beginners? Explore costs, tax implications, and trading flexibility for informed investment decisions.
Work out your gross profit margin in seconds. Enter a cost and selling price, or a cost and target margin, then press Calculate to see profit, margin percent and the equivalent markup.
Written by TopicDrill Editorial Team·Updated June 2026
Advertisement
Gross margin shows how much of each sale you keep after paying for the goods themselves. The tool takes your cost and selling price, subtracts one from the other to find the gross profit, and then expresses that profit as a percentage of the price. The donut shows how the price splits between cost and profit at a glance.
Prefer to price from a goal instead? Switch to the target margin mode and the calculator runs the math backward, telling you the exact selling price needed to lock in the margin you want on a given cost.
Suppose a product costs you 60 dollars and you sell it for 100 dollars. Your gross profit is 40 dollars, your gross margin is 40 percent, and the equivalent markup on cost is about 67 percent. The same 40 dollars of profit looks larger as a markup because it is compared to the smaller cost figure rather than the price.
Gross margin only covers the cost of the goods, not rent, payroll, shipping or marketing, so a healthy gross margin can still leave a thin net profit. For a wider view of profit measures, the U.S. Small Business Administration has helpful guidance at SBA.gov. To see the same profit from the cost side, try our markup calculator.
Gross margin is profit measured as a share of the selling price. If you sell an item for 100 dollars and it cost you 60 dollars, your gross profit is 40 dollars and your gross margin is 40 percent. It tells you how much of every dollar of revenue you keep before other expenses.
Subtract the cost from the selling price to get gross profit, then divide that profit by the selling price and multiply by 100. In short, margin percent equals selling price minus cost, divided by selling price, times 100.
Both describe the same profit, but against a different base. Margin divides profit by the selling price, while markup divides the same profit by the cost. Because the price is always larger than the cost, the margin percent is always smaller than the markup percent for the same item.
Switch the tool to the target margin mode and enter your cost and the margin you want. The price is found by dividing the cost by one minus the margin written as a decimal. For a 40 percent margin on a 60 dollar cost, the price is 60 divided by 0.6, which is 100 dollars.

ETF vs Mutual Fund: Which Is Better for Beginners? Explore costs, tax implications, and trading flexibility for informed investment decisions.

Invest $1,000 today and the answer to "what's it worth in 10 years?" ranges from about $1,040 in a basic savings account to roughly $2,594 at the stock market's long-run average. Here's the math behind every scenario — plus how inflation, fees and taxes change the real number.

There's no single magic number for retirement — but there are proven formulas that get you close. Using the 4% rule, most people need roughly 25 times their annual spending invested. Here's how to find your personal target, factoring in Social Security, healthcare, inflation and lifestyle.
Advertisement