Huge analyses on firms data selected from public available databases\naccomplished the task to describe the size and growth of firms through\ninterpolating functions. The structure and internal firms organization\nthat lead to the optimal profit is a main matter of business studies\nand must take carefully into account internal work distribution and\nthe subsequent productivity. Moreover factors external to firms, like\nas the evolution of markets and the availability of new technologies\nshow their immediate bias on the wealth of the firms. In this paper\na model is developed for a set of firms producing a single commodity.\nThe shape of the productivity that leads to profit optimization is drawn\nand discussed. Furthermore the optimal time for the firm to renew\nits technology is established and consequences on the productivity are\nexamined.