The structure factor for an arbitrarily decorated Penrose tiling has been calculated in the average unit cell description. The obtained formula uses only the physical coordinates of the atoms decorating a structure. The final equation can be easily extended so that it can describe the other physical properties of a structure. Its usefulness is demonstrated by its use in the Al-Ni-Co alloy structure-refinement process.