Gas volume determination