The minimum energy required for the emission of photoelectrons from the surface of metal is known as work function of the metal, and the frequency corresponding to work function is known as threshold frequency.
Work function =hv0 where v0 is threshold frequency.