Finish inventory input calculate