Just look up the manufacturers spec sheets.
20 metres will provide about 196 kpa static head, your choice of the connecting fire hose diameter size and length and nozzle size will add to the overall dynamic head loss. It is usual to work to a required flow rate through the nozzle once you calculate these losses. This will then give you the appropiate pipe size.
Many people also don't think it necessary to calculate the pipe length for friction loss if the pipe is running downhill. This is wrong.