The degree of fill of each element, , is calculated by recalculating the pressure with either the filling state or the unfilled state . The volume-weighted average degree of fill is calculated as