Find your profit margin and markup, the cash needed to buy stock on margin, or the margin needed to trade currency.
Give any two of the four values and the calculator finds the rest.
The cash you must hold to buy shares on margin.
The minimum balance to keep in a margin account to trade currency.
Margin and markup both describe profit, but against different bases. Margin is profit as a share of revenue, the selling price. Markup is profit as a share of cost. If an item costs $120 and sells for $160, the profit is $40, the margin is 25% and the markup is 33.3%. Markup is always larger than margin for the same sale, and the two are easy to confuse when you set prices.
A second example: a product costing $60 and selling for $100 earns $40 of gross profit. Gross margin is $40 ÷ $100 = 40% and markup is $40 ÷ $60 = 66.7%.
Enter any two of cost, revenue, margin and profit and the calculator finds the rest, plus the markup. The defaults, cost $120 and revenue $160, give a profit of $40.00, a margin of 25.00% and a markup of 33.33%. The formulas are margin = profit ÷ revenue and markup = profit ÷ cost. To find the price for a target margin, enter the cost and the margin: price = cost ÷ (1 − margin). Margin must stay below 100%, since profit can never be the whole of the revenue.
Markup = margin ÷ (1 − margin) and margin = markup ÷ (1 + markup).
| Margin | Equivalent markup |
|---|---|
| 10% | 11.1% |
| 20% | 25.0% |
| 25% | 33.3% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100.0% |
| 60% | 150.0% |
A discount comes off revenue but the cost stays the same, so the margin falls faster than the discount. On the default item, a 20% discount drops the price to $128.00 and the margin from 25% to 6%.
| Discount | Sale price | Profit | Margin |
|---|---|---|---|
| 0% | $160.00 | $40.00 | 25.0% |
| 5% | $152.00 | $32.00 | 21.1% |
| 10% | $144.00 | $24.00 | 16.7% |
| 20% | $128.00 | $8.00 | 6.2% |
| 25% | $120.00 | $0.00 | 0.0% |
In investing, margin means borrowing from a broker to buy more than your cash allows. The stock tool shows the cash you must hold: the value of the shares times the margin requirement. With the defaults, 100 shares at $18.30 are worth $1,830.00, a 30% requirement means you must hold $549.00 and you borrow $1,281.00. Under US rules brokers can lend up to half the purchase price of marginable stock, and firms must keep a minimum equity in the account, often higher than the minimum.
If the shares fall 20% to $1,464.00, the loan stays at $1,281.00, so your equity drops to $183.00, only 12% of the position. Falling below the broker’s maintenance level triggers a margin call: you must add money or securities, or the broker can sell your holdings without asking.
The currency tool shows the amount you need to hold for a leveraged position. With an exchange rate of 1.3, 100 units and a 20:1 margin ratio, the position is worth $130.00 and the margin required is $6.50, which is 5% of the position. The margin ratio, such as 20:1, says how much you can control for each unit of your own money. US rules have set minimum deposits of 2% for major currency pairs and 5% for others, and the calculator offers ratios up to 50:1.
| Margin ratio | Margin percentage | Margin for a 130.00 position |
|---|---|---|
| 1:1 | 100.00% | $130.00 |
| 5:1 | 20.00% | $26.00 |
| 10:1 | 10.00% | $13.00 |
| 20:1 | 5.00% | $6.50 |
| 30:1 | 3.33% | $4.33 |
| 50:1 | 2.00% | $2.60 |
These calculators do simple arithmetic and are not investment advice.
For profit margin, the large number is the margin, with cost, revenue, profit, margin and markup listed below. For stock and currency margin, the large number is the cash you must hold. Compare it with the position value to see how much leverage you are using.
Margin is profit divided by revenue, while markup is profit divided by cost. For the same sale, the markup is always bigger than the margin. A 25% margin is the same as a 33.3% markup.
Divide your cost by one minus the margin as a decimal. To reach a 25% margin on a cost of 120, divide 120 by 0.75 to get a price of 160. Enter the cost and the margin to do this.
Margin is the share of revenue that is profit. If the margin were 100%, the cost would be zero, and a margin above 100% is impossible.
Multiply the share price by the number of shares to get the position value, then multiply by the margin requirement as a percentage. The result is the cash you must hold, and the rest is borrowed from the broker.
You can control 20 units of currency for every 1 unit of your own money, so the margin required is 5% of the position.
If your account equity falls below the broker's maintenance level, you must add cash or securities. If you do not, the broker can sell your holdings without your consent.
Sources: FINRA: Know what triggers a margin call; Investor.gov: Investor bulletin, understanding margin accounts; CFTC: Customer advisory, eight things to know before trading forex
Pick another tool to jump straight to it.