Couple of things I didn't see mentioned although I may have missed them, are that it is true for all electromagnetic waves be they IR, UV, Sound, Visible Light, Gamma and X-Rays and that it is only true in an open space, if you are in a room or a place where there can be reflected waves then the results will be muddied and will likely not follow the inverse square law.