He didn't discover volume. He pointed out that the weight of a liquid displaced by a floating body was equal to the weight of that body (Archimedes' Principle).
The most widely known anecdote about Archimedes tells of how he invented a method for determining the volume of an object with an irregular shape. According to Vitruvius, a votive crown for a temple...