An effective medium approximation (EMA) asks: if we mix two materials at sub-wavelength scale, what single refractive index would the mixture look like to a long wavelength? Different rules give slightly different answers; all share two ingredients — the volume fraction of each phase and their individual refractive indices.
For a particle suspension, f is the particle volume divided by the total coating volume (binder + particles + any air). For a porous film, f is the air (void) fraction. The useful range is 0 (nothing) to around 0.65 — close-packing of spheres caps a hard-particle suspension there; films engineered for high porosity can go higher by being less orderly.
Weight vs. volume
Formulators usually know weight fractions, not volume. The conversion uses the component densities ρi: