Nutritionists need to make commercial decisions about the optimal nutrient content broiler feeds. In order to demonstrate that broiler prices may influence dietary nutrient density, this study developed quadratic feed intake and weight gain equations, according to broiler sex and feeding phase, to be applied in a nonlinear feed formulation model. Four hundred and eighty Cobb broilers were allotted to a completely randomized experimental with six treatments, each with four replicates of 10 birds each, from 1 to 56 days old. Treatments consisted of diets containing 2800, 2900, 3000, 3100, 3200, or 3300 kcal metabolizable energy (ME)/kg and constant nutrient to ME ratio. A nonlinear version of the PPFR feed formulation software (http://www.fmva.unesp.br/ ppfr) was developed with the objective of optimizing energy density and bird performance. According to the results, when the models are applied in the PPFR nonlinear spreadsheet, the most favorable nutrient density content is defined by mathematical models, as optimized by the Excel Solver tool by means of cost/benefit comparisons and as a function of rearing phase (starter, grower, and finisher) and sex. This contradicts the recommendations of genetic company manuals and published requirement tables, whose goal is to maximize weight gain and do not necessarily guarantee maximum economic efficiency.