# Photoelectric effect confusion

I just have a quick confusion, so photoelectric effect says that light or photon act as particles not waves, however the photon energy is given by $$E=hf$$, so shouldn't the photon be initially a wave to start with because of frequency value?

I am so confused because it makes comparisons of what wave theory prediction would fail for photoelectric effect and hence particle theory is more appropriate but I just don't get the frequency value in calculating incoming photon energy to begin with. I would appreciate the clarification.

• – jacob1729 Jun 18 at 10:50