That formula is what is required to calculate the volume of a cylinder, so having to use the diameter twice is necessary. As said earlier, it doesn't take into consideration any tapering of the depth or a radius at the bottom of it, and it only works if the dish is round. If the dish is any shape other than round, you will just have to physically cc it with a burette.