Which kind of margin do you want to calculate?
The Margin Calculator handles three uses of the word margin. Profit margin measures the share of revenue left after costs. Stock trading margin estimates the deposit for a share purchase with a broker's percentage requirement. Currency trading margin estimates the deposit from the exchange rate, position size, and leverage.
Select the mode that matches your situation. The first mode helps with pricing decisions or checking a sale. The trading modes estimate required collateral for a position. Each uses different inputs because the term margin has a different financial meaning in each case.
Why profit margin and markup give different percentages
Subtract cost from revenue to get dollar profit. Profit margin divides that profit by revenue. Markup divides the same profit by cost. A rate written as markup on a supplier quote will generally give a different amount when used as a profit margin target. Use the figures from the same sale, before or after taxes consistently.
To find a price for a target margin, enter cost and the target percentage. The tool divides cost by one minus the decimal margin. Include the costs relevant to the margin you want, such as unit cost or transaction fees. The result is based on the costs entered.
Compare margin and markup on a $160 sale
With a cost of $120 and revenue of $160, profit is $40. The margin is 25% because $40 is a quarter of $160. The markup is 33.33% because the same $40 is one-third of the $120 cost.
For the stock mode, a position of 100 shares at $18.30 each has a value of $1,830. At a 30% requirement, the deposit is $549. That deposit is a share of the position value. It does not describe a profit target.
How to read trading collateral
For currency margin, convert the position value to the quote currency and divide by the leverage ratio. A 20-to-1 ratio corresponds to a 5% requirement. Actual broker rules, additional margin requirements, and changes in market value can affect collateral after you open a position.
How to test a selling price before listing a product
Enter the full cost associated with one sale and the expected revenue for it. If a marketplace charges a transaction fee, include it when it belongs in your cost basis. The margin and markup then describe what remains from that revenue after the costs entered. Running different prices can reveal how much room you have for a promotion.
For a target margin, keep the cost and rate fields and clear revenue and profit. The result breakdown gives the selling price needed under those assumptions. If cost changes with price, such as a percentage fee on every sale, account for that fee when evaluating the new price. Use the same definition of cost each time you compare margins.
Frequently asked questions
Yes. When the cost exceeds revenue, the profit and profit margin can both be negative.
Markup divides profit by cost, which is smaller than revenue for a profitable sale.
Leverage is expressed as a ratio. Divide one by that ratio to find the corresponding share of position value.