simple calc for warehouse