We have employed the semidiscrete variational generalized Peierls-Nabarro model to study the dislocation properties of aluminum. The generalized-stacking-fault ͑GSF͒ energy surface entering the model is calculated by using first-principles density functional theory ͑DFT͒ and the embedded-atom method ͑EAM͒. Various core properties, including the core width, dissociation behavior, energetics, and Peierls stress for different dislocations have been investigated. The correlation between the core energetics and the Peierls stress with the dislocation character has been explored. Our results reveal a simple relationship between the Peierls stress and the ratio between the core width and the atomic spacing. The dependence of the core properties on the two methods for calculating the GSF energy ͑DFT vs EAM͒ has been examined. Although the EAM gives the general trend for various dislocation properties, it fails to predict the correct finer core structure, which in turn can affect the Peierls stress significantly ͑about one order of magnitude͒.