I think you are referring to Adsense right? If so, you cannot know. Else, it depends on the publisher network.
CPM ads typically take up a whole advertising banner. But that doesnt mean an image ad is cpm. You can find out how much your earning from each by going to adsense. Click advanced reports, Show data by individual ads, tick the box saying show data by targeting type. Click Display Report Pierce