The two main factors that affect diffraction are:
1. **Wavelength of the wave**: Diffraction is more pronounced when the wavelength of the wave is similar to or larger than the size of the obstacle or opening. The greater the wavelength, the more the wave will spread out when passing through a gap or around an obstacle.
2. **Size of the obstacle or opening**: The amount of diffraction also depends on the size of the obstacle or aperture (opening) the wave encounters. If the obstacle or opening is much smaller than the wavelength, the diffraction will be more significant. If it is larger than the wavelength, the diffraction effect is less noticeable.
In simple terms, diffraction occurs more easily when the wavelength is long relative to the size of the gap or obstacle.