Ideally, you know the distribution of your strategy's wins and losses, and you choose the optimal % based on that data. But in reality, traders just use the % that let's them feel safe with their current strategy. Usually, it is closer to 1%.
Getting some software to help with this process would be nice, but you still have to have enough data about your trading strategy to calculate any meaningful optimal %.