XML 110 R97.htm IDEA: XBRL DOCUMENT
v3.23.2

STOCK REPURCHASE PROGRAM - Summary of Share Repurchase Transactions (Details) - USD ($) shares in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021
Equity [Abstract] |  |  |
Number of shares of common stock repurchased (in shares) | 5,844 | 11,768 | 3,658
Total cost of repurchases | $ 1,329,714 | $ 3,962,267 | $ 944,607

X
- Definition Treasury Stock, Value, Acquired, Excluding Accelerated Share Repurchase Program Forward Contracts + References No definition available. + Details
Name: | klac_TreasuryStockValueAcquiredExcludingAcceleratedShareRepurchaseProgramForwardContracts
Namespace Prefix: | klac_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_EquityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration