Its all about 3 things.......
#1. Risk per trade as a % of balance.
#2. Stop Loss in pips.
#3 Target in pips.
The formula is risk per trade % x balance / (stoploss in pips x 0.0001 x pip value)
Target in pips in general should be 2x the stop loss in pips or greater.