This is a common question from beginners. If you want to learn to calculate manually later and just get right to buying/selling, try this tool which I found really useful (until I could learn to code on my own).
Never say uncle longshottrader never did anything for you
https://www.earnforex.com/metatrader-indicators/Position-Size-Calculator/