An evolutive algorithm (EA) for wind farm optimal design is presented. The algorithm objective is to optimize the profits given an investment on a wind farm. Net Present Value (NPV) will be used as a figure of the revenue in the proposed method. To estimate the NPV is necessary to calculate the initial capital investment and net cash flow throughout the wind farm life cycle. The maximization of the NPV means the minimization of the investment and the maximization of the net cash flows (to maximize the generation of energy and minimize the power losses). Both terms depend mainly of the number and type of wind turbines, the tower height and geographical position, electrical layout, among others. Besides, other auxiliary costs must be to keep in mind to calculate the initial investment such as the cost of auxiliary roads or tower foundations. The complexity of the problem is mainly due to the fact that there is not analytic function to model the wind farm costs and most of the main variables are linked.