finished dept calculation