Volume measurement and calculations