7. Earnings per share
Basic earnings per share were calculated by dividing net profit for the year attributable to the Parent by the weighted average number of ordinary shares outstanding during the year, excluding the average number of treasury shares held by the Group (see note 21), which totaled 623,330,400 in 2012 and 623,227,952 in 2011.
Diluted earnings per share is calculated based on profit attributable to the holders of equity instruments of the Company and a weighted average number of ordinary shares outstanding after adjustment for the dilution effect of all potential ordinary shares. No transactions in the accompanying consolidated annual accounts have a potential dilution effect on earnings per share.