"Normalize" values to sum 1 but keeping their weights I am not really sure what this operation might be called, but I have some numbers, for example:

40

10

I need to format these numbers so that they form the sum 1, but they should keep their "weight".

In this specific case

40 would become 0.80, and 10 would become 0.2

But if I have more values (like 40, 10, 25, 5 for example), I am really lost because I don't know the formula.

If anybody can help, could he please reply in words (for example: "Sum up all values then divide through...", and not in a formula? I am really not good at reading formulas at all.

Thank you so much!
Why not just divide each number in your sample by the sum of all the numbers in your sample?
Just divide all the numbers through by 50. Should normalise it to the scale you want 0 - 1.
For example:
40/50 = 0.8
25/50 = 0.5
5/50 = 0.1

etc.

I think you get the idea!