Calculating macroscopic response from diffraction: Coexisting phases