Table of Contents AVNET, INC. AND SUBSIDIARIES NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued) 14. Earnings per share For the fiscal years ended June 27, 2020, and June 30, 2018, the diluted net loss per share is the same as the basic net loss per share as the effect of all potential common shares would be anti-dilutive. Years Ended June 27, June 29, June 30, 2020 2019 2018 (Thousands, except per share data) Numerator: Income (loss) from continuing operations $ (29,533) $ 180,111 $ (142,889) Loss from discontinued operations, net of tax (1,548) (3,774) (13,535) Net (loss) income $ (31,081) $ 176,337 $ (156,424) Denominator: Weighted average common shares for basic earnings per share 100,474 109,820 119,909 Net effect of dilutive stock based compensation awards — 978 — Weighted average common shares for diluted earnings per share 100,474 110,798 119,909 Basic (loss) earnings per share - continuing operations $ (0.29) $ 1.64 $ (1.19) Basic loss per share - discontinued operations (0.02) (0.03) (0.11) Basic (loss) earnings per share $ (0.31) $ 1.61 $ (1.30) Diluted (loss) earnings per share - continuing operations $ (0.29) $ 1.63 $ (1.19) Diluted loss per share - discontinued operations (0.02) (0.04) (0.11) Diluted (loss) earnings per share $ (0.31) $ 1.59 $ (1.30) Stock options excluded from earnings per share calculation due to anti- dilutive effect 1,431 410 1,495 71