I am trying to find a formula to calculate dilution rates.

I know if I add 5 litres of a 20% solution to 15 litres of water I get a 5% solution because I have been told.

However if possible I would like the formula for the above example so I can calculate it for myself and workout for different final solution rates.

Can anyone help me please or point me in the right direction.