I don’t know whose calculators you are using, but your results do not match the results generated by the Babypips calculators.
Let’s run the Babypips calculators first, and then try to sort out the results you’ve gotten from your calculators.
We have to run the Position Size Calculator first, because the Pip Value Calculator will ask for the calculated position size.
Here’s the Babypips Position Size Calculator, with your inputs —
Notice that the Position Size Calculator asks for only one price — the price of CAD/JPY — because your account is denominated in CAD, and pips (in your USD/JPY pair) will be denominated in JPY.
And here is the Babypips Pip Value Calculator, with your inputs —
Notice that this calculator asks for two prices — USD/JPY (the pair you are trading) and CAD/JPY. You will probably not believe me when I tell you this, but the USD/JPY price is unnecessary in this pip value calculation. You’ll have to prove it to yourself. Substitute ANY price, even a ridiculous price, like 500, in place of the actual USD/JPY price in the ASK box, and you will get the same result — pip value = 20.
So, the way the Babypips calculators work, there is no disagreement in any of the metrics of your trade. But, these calculators do not display P/L at stop-out, which is where the confusion arises.
Next, let’s use your calculators.
Your position size calculator displays more of the metrics of your trade, than the Babypips calculator does. But, none of the metrics displayed contradict the Babypips calculator. The important result — the position size corresponding to your specified risk percentage and stop-loss — is the same in both calculators: 151,726 units of USD/JPY.
In your position size calculator, as in the Babypips position size calculator, the only price which enters into the calculation is the CAD/JPY price. The USD/JPY prices at entry (106.850) and at stop-out (106.350) are simply an alternative way of specifying the 50 pips you are risking. But, other than that, the USD/JPY prices do not affect the position size calculation.
Your pip value calculator is very different from the Babypips pip value calculator, in that it calculates P/L at exit (where you were stopped out) the way your platform would do the accounting, using all three prices — CAD/JPY (implied in the calculated position size), plus USD/JPY, and USD/CAD.
At exit (stop-out), you have lost 50 JPY-pips in a USD/JPY trade. Those 50 JPY-pips have a value in USD which is calculated, based on the USD/JPY price at exit (106.350). Finally, that USD-value has to be converted to CAD, your account currency.
The math works out this way:
one JPY-pip = 0.01 JPY
[one JPY-pip] ÷ [USD/JPY at exit] x [USD/CAD] x [position size] x [SL in pips] = P/L
[0.01] ÷ [106.35] x [1.40873] x [151,726] x [-50] = - C$1,004.89 (loss)
So, why does your position size calculator indicate exactly C$20 per pip, and a total loss of exactly C$1,000, whereas your pip value calculator indicates C$20.09788 per pip, and a total loss of C$1,004.89 ?
The answer lies in the fact that the three prices (CAD/JPY, USD/JPY, and USD/CAD), as factored into your calculations, were not perfectly related mathematically.
In theory, CAD/JPY should be equal to USD/JPY ÷ USD/CAD. This can be seen more clearly if we write those prices as algebraic fractions, as follows:
C/J = U/J ÷ U/C
which can be rewritten as C/J = U/J x C/U
which simplifies to the identity C/J = C/J
If we use the three prices in your trade in the theoretical equation above, we get
C/J = U/J ÷ U/C
75.8630 = 106.350 ÷ 1.40873 = 75.4935 and the equality clearly fails.
If the three prices in your trade had satisfied the equation exactly, then your pip value calculator would have rendered the results you expected: C$20 per pip, and C$1,000 total loss at stop-out.
You can prove this to yourself by adjusting either the USD/JPY or USD/CAD price to satisfy the equation. Note that the CAD/JPY price must be maintained as it was when entered into the position size calculator, because that price determined the position size imported into the pip value calculator.
If you choose to adjust the USD/JPY price, then it becomes 106.870
Alternatively, if you choose to adjust the USD/CAD price, then it becomes 1.40187
Plug these adjusted prices (one at a time) into the calculations in your pip value calculator, and you will get the values you were expecting.
Currency prices are fluctuating constantly. All combinations of three related pairs (such as the CAD/JPY, USD/JPY, and USD/CAD pairs above) fluctuate around an equality similar to the one given above. But, the equality is very seldom exact. A difference, such as you have experienced in your example, is typical. But, such a difference can never become large, because if it did, computer trading algorithms would quickly arbitrage it back toward equality.
Finally, the metrics you enter into your position size calculator represent your plan. In your example, your plan was for C$20 pips, and a 50-pip stop loss that equated exactly to a loss of C$1,000.
The results from your pip value calculator represent the real-world result of your trade, where your loss in pips — which was exactly 50 pips — did not equate exactly to a dollar-loss of C$1,000.
Welcome to the real world.
And welcome to this forum.