The objective of this study was to develop an equation to determine the apparent metabolizable energy (AME) and metabolizable energy corrected for nitrogen balance (AMEn) using a physical-based classification of corn. A total of 5,055 samples were taken from bulk cargo trucks, over a five-year period. The parameters studied were the variables related to the physical characteristics of grains. The density of maize was evaluated, and AME and AMEn were calculated. The average value for AME was 3,375 kcal/kg, and two groups were formed of high quality and low quality for all samples. Stepwise regression analysis was then carried out using grain quality to estimate AME and AMEn, and the validation of the equations was carried out with 6,490 independent samples. The average value for density was 767.7 kg/m 3. The multiple regressions used to estimate AME and AMEn as a function of humidity, density, and physical composition of corn kernels showed that moisture was included for AME, but not for AMEn. The equations presented high coefficients of determination (R 2) for AME (0.994) and AMEn (0.987). The discriminant analyses correctly classified 98% of the high-quality samples and 96.69% of low-quality samples, so the error was smaller than the expected. The calculated equations were shown to be good at discriminating between samples of high and low quality of corn according to its physical composition, and the most important variables for separation between groups were damaged grain fraction, impurities, burnt, and soft. The correlation between calculated (independent samples) and estimated metabolizable energy and AMEn were, respectively, 0.9942 and 0.9859. The corn energy values can be estimated based on physical evaluation of the grain.