Formulation of the wave function of a single photon has always been in a conflict with the spatial localization of a photon. Lack of the correct treatment for the probability and current density of a single photon resisted self-consistent treatment of the wave function of a single photon. Here we proceed with the construction of the wave function for a single photon that allows us to introduce probability and current density of a single photon. The wave function of a single photon is constructed from the matrix elements of the electric and magnetic fields that couple vacuum state with the Fock state occupied by a single photon. We show that the spin of a photon s, being projected on the direction of the photon flight propagation p, defines the time evolution of the photon wave function. As the result photon chirality, xi = s . p, can be identified with the Hamiltonian of a single photon that leads to the Schrodinger equation of a single photon. As the only choice for the Hamiltonian of a single photon, photon chirality defines the Schrodinger formulation of a single photon that establishes Maxwell equations of electromagnetic field.