Storage-related calculations