how to calculate cost phospating production line equipment