auto cost_price calculation