Forex calculator: pip value, lots, margin and swap
Pip value, position size for a chosen risk, margin at your leverage and the cost of holding overnight, for majors, crosses and emerging-market pairs, in your account currency.
What the forex calculator does
This calculator answers the four numbers every currency trader needs before placing an order: how much one pip is worth, how many lots fit a chosen risk, how much margin the position needs, and what holding it overnight costs or earns. It works for any combination of major, minor and emerging-market pairs, and converts every result into your account currency using European Central Bank reference rates.
Pip value
Pip value (account currency) = pip value (quote currency) × rate from quote currency to account currency
For EUR/USD, the quote currency is the US dollar. One pip (0.0001) on a standard lot of 100,000 euros is 10 dollars. For USD/JPY, the pip is 0.01 and one standard lot is 100,000 dollars, so one pip is 1,000 yen; at a rate of 150 that is about 6.67 dollars. For EUR/GBP, one pip on a standard lot is 10 pounds, which a dollar account converts at the GBP/USD rate.
- 0.01. Yen pairs are quoted to two decimals, so their pip is 0.01, not 0.0001.
- 100,000 units. A standard lot. A mini lot is 10,000 and a micro lot 1,000.
- ¥1,000. The pip value always comes out in the quote currency first.
- $6.67. Divide by USD/JPY to bring it into dollars. As the rate moves, so does this figure.
On the real screen: Choose USD/JPY in the calculator above; the pip value updates with the rate you enter.
Good habitRecalculate pip value when the rate moves a lot, especially on yen and cross pairs.
Common mistakeAssuming every pair is $10 a pip on a standard lot.
| Pair | Pip size | Pip value per standard lot | In USD (example rates) |
|---|---|---|---|
| EUR/USD, GBP/USD, AUD/USD, NZD/USD | 0.0001 | 10 USD | $10.00 |
| USD/JPY at 150.00 | 0.01 | 1,000 JPY | $6.67 |
| USD/CHF at 0.8500 | 0.0001 | 10 CHF | $11.76 |
| USD/CAD at 1.3800 | 0.0001 | 10 CAD | $7.25 |
| EUR/GBP, GBP/USD at 1.3000 | 0.0001 | 10 GBP | $13.00 |
The rates in this table are round examples to show the arithmetic, not live quotes. The calculator uses the latest ECB rates.
Lots for a given risk
Lots = money at risk ÷ (stop in pips × pip value per lot), rounded down to 0.01
Worked example
A $5,000 account risks 1% ($50) on a GBP/USD trade with a 40-pip stop. Pip value is $10 per lot, so the loss at the stop is $400 per lot. Lots = 50 ÷ 400 = 0.125, rounded down to 0.12 lots, risking $48. Rounding down keeps the risk at or below the limit.
Margin
Margin = notional ÷ leverage
0.12 lots of GBP/USD is 12,000 pounds. At an example rate of 1.30, the notional is $15,600. At 30:1 leverage the margin is $520; at 50:1 it is $312. Margin is a deposit, not a cost, but it sets how many positions your account can hold and how close you are to a margin call. Leverage limits differ widely between countries and client categories.
Swap
Swap reflects the interest rate difference between the two currencies plus a broker markup. Holding the higher-yielding currency can earn a small credit; holding the lower-yielding one costs. Many brokers charge three nights’ swap on one weekday to cover the weekend. Enter the swap rate your broker publishes; the calculator shows the cost for the nights you plan to hold.
The pip table
The calculator also lists the money value of 1, 10 and 50 pips for 0.01, 0.1 and 1 lot, which is a quick reference when you are watching a live trade. If the move per pip seems large compared with your account, the position is too big.
Currency conversion
The converter at the bottom uses ECB reference rates to change any amount from one currency to another. It is suitable for planning and record keeping. Your broker converts profits and losses at its own rate, which includes a margin.
Common mistakes
- Assuming every pip is worth $10. Only pairs quoted in US dollars have that pip value for a dollar account.
- Confusing pips and pipettes. A quote of 1.08455 has a fifth decimal; a move from 1.08450 to 1.08460 is one pip, not ten.
- Sizing by margin. Using all available leverage says nothing about the risk to the stop. Size from the stop first, then check margin.
- Ignoring swap on long holds. Over weeks, swap can add up to more than the spread.
Plan the whole trade
For a full plan with entry, stop and target on a live chart, including net reward-to-risk after spread and commission, use the Trade Planner. To understand the arithmetic in more depth, read the pip value and lot size guide. For pair-specific background, see the market pages for EUR/USD, USD/JPY and GBP/USD.
Cross pairs and triangulation
A cross pair is any pair without the US dollar, such as EUR/GBP, EUR/JPY or GBP/JPY. Its rate can be derived from two dollar pairs: EUR/GBP equals EUR/USD divided by GBP/USD. This is exactly how TradeProfy builds pairs from ECB reference rates, which are all quoted against the euro: USD/JPY, for example, is the euro’s yen rate divided by its dollar rate. Dealers do the same in real markets, which is why cross pairs usually have slightly wider spreads than the dollar pairs they are built from. When you trade a cross, pip values are in the cross’s quote currency, so a GBP/JPY trade in a dollar account involves both a yen pip value and a yen-to-dollar conversion.
Leverage, margin calls and stop-outs
Brokers monitor margin level, usually defined as equity divided by used margin. When it falls below a set level, typically 100%, you may receive a margin call; below a lower level, often 50%, the broker starts closing positions automatically. These thresholds differ by broker and regulator. The safest approach is to keep used margin small relative to equity, so a normal adverse move never comes close to the stop-out level, and to let your own stop-loss, sized from the risk you chose, close losing trades long before the broker does.
Units, lots and contract specifications
Retail forex is usually traded in lots of 100,000 units of the base currency, but brokers increasingly allow any number of units. Exchange-traded currency futures, such as USD/INR contracts on Indian exchanges, have fixed contract sizes and tick sizes set by the exchange, so their arithmetic differs. Always check the contract specification for the product you trade. Enter units directly if your broker quotes positions that way; the calculator treats 1 lot as 100,000 units.
Pip values in other account currencies
For an account in euros, pounds or rupees, the same logic applies: work out the pip value in the quote currency, then convert it. One pip on a standard lot of EUR/USD is 10 dollars; for a euro account at an example EUR/USD rate of 1.10, that is about €9.09. For a rupee account at an example USD/INR rate of 88, it is about ₹880. The calculator does this conversion with the latest ECB rates, so you can choose your account currency and see every figure in it directly.
Spread as a cost in pips
The spread is the gap between the bid and the ask. You pay it once per round trip, so a 1.2-pip spread on a trade with a 30-pip stop costs 4% of the risk before the trade starts. On a 10-pip scalp, the same spread is 12%. Wider stops make the spread a smaller share of each trade.
More cost tools
Frequently asked questions
What is a pip?
The standard price step used to quote changes in an exchange rate: 0.0001 for most pairs, 0.01 for pairs quoted in Japanese yen. Some brokers show an extra decimal, a fractional pip or pipette.
What is a standard lot?
100,000 units of the base currency. A mini lot is 10,000 units and a micro lot 1,000 units, or 0.1 and 0.01 lots.
How is pip value converted into my account currency?
Pip value is first calculated in the quote currency, then converted using the latest ECB reference rate between the quote currency and your account currency.
What is swap?
The overnight financing charge or credit for holding a position past the broker’s daily cut-off. It reflects the interest rate difference between the two currencies plus the broker’s markup. Enter your broker’s published swap rate.
Why is my broker’s margin different?
Margin depends on your broker’s leverage limits, which differ by regulator, client category and pair. Enter the leverage your account actually allows.
Is forex trading allowed where I live?
Rules differ by country. In India, for example, residents may trade only permitted currency pairs on recognised exchanges or through authorised dealers, and the RBI publishes an Alert List of unauthorised platforms. Check your local regulator.
