v3.26.1
Consolidated Statements of Changes in Stockholders' Equity - Unaudited - USD ($)
$ in Thousands
Total
Common Stock
Additional Paid-in Capital
Treasury Stock
Retained Earnings
Accumulated Other Comprehensive Loss
Balance, beginning of period (in shares) at Aug. 31, 2024   42,598,915        
Beginning balance at Aug. 31, 2024 $ 1,912,460 $ 426 $ 1,478,839 $ (1,375,696) $ 1,888,504 $ (79,613)
Beginning balance, treasury stock (in shares) at Aug. 31, 2024       4,646,645    
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Net income 443,424       443,424  
Other comprehensive income (loss) 11,056         11,056
Common stock issued for employee stock plans (in shares)   283,642   370    
Common stock issued for employee stock plans 72,446 $ 3 72,613 $ (170)    
Vesting of restricted stock (in shares)   80,437   32,134    
Vesting of restricted stock (14,768) $ 1 (1) $ (14,768)    
Excise tax on share repurchases $ (2,025)     $ (2,025)    
Repurchases of common stock (in shares) 425,239     425,239    
Repurchases of common stock $ (193,838)     $ (193,838)    
Stock-based compensation expense 47,154   47,154      
Dividends declared (120,727)       (120,727)  
Balance, end of period (in shares) at May. 31, 2025   42,962,994        
Ending balance at May. 31, 2025 2,155,182 $ 430 1,598,605 $ (1,586,497) 2,211,201 (68,557)
Ending balance, treasury stock (in shares) at May. 31, 2025       5,104,388    
Balance, beginning of period (in shares) at Feb. 28, 2025   42,910,088        
Beginning balance at Feb. 28, 2025 2,056,917 $ 429 1,569,319 $ (1,504,381) 2,104,303 (112,753)
Beginning balance, treasury stock (in shares) at Feb. 28, 2025       4,918,704    
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Net income 148,542       148,542  
Other comprehensive income (loss) 44,196         44,196
Common stock issued for employee stock plans (in shares)   48,606        
Common stock issued for employee stock plans 12,272 $ 1 12,271      
Vesting of restricted stock (in shares)   4,300   1,634    
Vesting of restricted stock (710)     $ (710)    
Excise tax on share repurchases $ (710)     $ (710)    
Repurchases of common stock (in shares) 184,050     184,050    
Repurchases of common stock $ (80,696)     $ (80,696)    
Stock-based compensation expense 17,015   17,015      
Dividends declared (41,644)       (41,644)  
Balance, end of period (in shares) at May. 31, 2025   42,962,994        
Ending balance at May. 31, 2025 $ 2,155,182 $ 430 1,598,605 $ (1,586,497) 2,211,201 (68,557)
Ending balance, treasury stock (in shares) at May. 31, 2025       5,104,388    
Balance, beginning of period (in shares) at Aug. 31, 2025 37,645,870 43,013,266        
Beginning balance at Aug. 31, 2025 $ 2,186,413 $ 430 1,621,753 $ (1,695,429) 2,323,407 (63,748)
Beginning balance, treasury stock (in shares) at Aug. 31, 2025 5,367,396     5,367,396    
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Net income $ 412,354       412,354  
Other comprehensive income (loss) (15,559)         (15,559)
Common stock issued for employee stock plans (in shares)   144,809        
Common stock issued for employee stock plans 27,534 $ 1 27,533      
Vesting of restricted stock (in shares)   67,364   24,370    
Vesting of restricted stock (6,417) $ 1 (1) $ (6,417)    
Excise tax on share repurchases $ (4,802)     $ (4,802)    
Repurchases of common stock (in shares) 2,056,220     2,056,220    
Repurchases of common stock $ (506,000)     $ (506,000)    
Stock-based compensation expense 61,541   61,541      
Dividends declared $ (122,774)       (122,774)  
Balance, end of period (in shares) at May. 31, 2026 35,777,453 43,225,439        
Ending balance at May. 31, 2026 $ 2,032,290 $ 432 1,710,826 $ (2,212,648) 2,612,987 (79,307)
Ending balance, treasury stock (in shares) at May. 31, 2026 7,447,986     7,447,986    
Balance, beginning of period (in shares) at Feb. 28, 2026   43,160,328        
Beginning balance at Feb. 28, 2026 $ 2,129,112 $ 432 1,677,738 $ (2,007,132) 2,527,769 (69,695)
Beginning balance, treasury stock (in shares) at Feb. 28, 2026       6,519,601    
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Net income 126,718       126,718  
Other comprehensive income (loss) (9,612)         (9,612)
Common stock issued for employee stock plans (in shares)   59,648        
Common stock issued for employee stock plans 10,871   10,871      
Vesting of restricted stock (in shares)   5,463   2,015    
Vesting of restricted stock (459)     $ (459)    
Excise tax on share repurchases $ (1,987)     $ (1,987)    
Repurchases of common stock (in shares) 926,370     926,370    
Repurchases of common stock $ (203,070)     $ (203,070)    
Stock-based compensation expense 22,217   22,217      
Dividends declared $ (41,500)       (41,500)  
Balance, end of period (in shares) at May. 31, 2026 35,777,453 43,225,439        
Ending balance at May. 31, 2026 $ 2,032,290 $ 432 $ 1,710,826 $ (2,212,648) $ 2,612,987 $ (79,307)
Ending balance, treasury stock (in shares) at May. 31, 2026 7,447,986     7,447,986