v3.22.4
Cover - shares
6 Months Ended
Dec. 31, 2022
Jan. 31, 2023
Document Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Dec. 31, 2022  
Document Transition Report false  
Entity File Number 1-5318  
Entity Registrant Name KENNAMETAL INC.  
Entity Incorporation, State or Country Code PA  
Entity Tax Identification Number 25-0900168  
Entity Address, Address Line One 525 William Penn Place  
Entity Address, Address Line Two Suite 3300  
Entity Address, City or Town Pittsburgh,  
Entity Address, State or Province PA  
Entity Address, Postal Zip Code 15219  
City Area Code 412  
Local Phone Number 248-8000  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding (in shares)   80,527,022
Entity Central Index Key 0000055242  
Current Fiscal Year End Date --06-30  
Document Fiscal Year Focus 2023  
Document Fiscal Period Focus Q2  
Amendment Flag false  
Capital Stock, par value $1.25 per share | New York Stock Exchange    
Document Information [Line Items]    
Title of 12(b) Security Capital Stock, par value $1.25 per share  
Trading Symbol KMT  
Security Exchange Name NYSE  
Preferred Stock Purchase Rights | New York Stock Exchange    
Document Information [Line Items]    
Title of 12(b) Security Preferred Stock Purchase Rights  
Security Exchange Name NYSE  
No Trading Symbol Flag true