v3.24.1.1.u2
Earnings Per Share - Schedule of Basic and Diluted Income Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Numerator:        
Net income attributable to The Duckhorn Portfolio, Inc. $ 13,323 $ 16,797 $ 44,717 $ 51,529
Denominator:        
Weighted average number of shares outstanding for basic per share calculation (in shares) 115,804,326 115,255,671 115,504,766 115,209,972
Adjusted weighted average shares outstanding for diluted per share calculation (in shares) 115,834,119 115,367,455 115,627,182 115,425,034
Earnings per share attributable to The Duckhorn Portfolio, Inc.:        
Basic (in dollars per share) $ 0.12 $ 0.15 $ 0.39 $ 0.45
Diluted (in dollars per share) $ 0.12 $ 0.15 $ 0.39 $ 0.45
Stock options        
Denominator:        
Effect of dilutive potential shares (in shares) 1,546 867 5,472 2,390
Restricted stock units        
Denominator:        
Effect of dilutive potential shares (in shares) 28,247 110,917 116,944 212,672