zingmobile, Please notice the three websites in post #2 above. If you click on each one you will find explanations and examples of how the energy of a photon is determined. Once you have visited those sites and studied them, then, if you have doubts or questions, come right back here and ask away...folks here are ready to help you learn about science.