XML 78 R71.htm IDEA: XBRL DOCUMENT
v3.26.1

Net Income Per Share - Additional Information (Detail) - $ / shares | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2025 | Jun. 30, 2025 | Jun. 30, 2026
Earnings Per Share [Line Items] |  |  |
Convertible debt capped calls initial price per share |  |  | $ 237.42
Restricted Stock Units (RSUs) [Member] |  |  |
Earnings Per Share [Line Items] |  |  |
Number of shares excluded from computation of diluted earnings per share | 0.2 | 0.2 |

X
- Definition Convertible debt capped calls initial price per share. + References No definition available. + Details
Name: | mksi_ConvertibleDebtCappedCallsInitialPricePerShare
Namespace Prefix: | mksi_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Earnings Per Share [Line Items] + References No definition available. + Details
Name: | mksi_EarningsPerShareLineItems
Namespace Prefix: | mksi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |