There's a decent explanation of the calculations here: http://www.mcnallyinstitute.com/07-html/7-01.html
Static head means from pump to highest point where you want to discharg water