XML 85 R74.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Derivatives and Net Investment Hedge - Summary of (Losses) Gains on Derivatives Not Designated as Cash Flow Hedging Instruments (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Foreign Exchange Forward Contracts [Member] |  |  |
Derivative Instruments Gain Loss Not Designated As Hedging Instruments [Line Items] |  |  |
Net (losses) gains recognized in income | $ (32) | $ (8) | $ 5

X
- Definition Derivative Instruments Gain Loss Not Designated As Hedging Instruments [Line Items] + References No definition available. + Details
Name: | mksi_DerivativeInstrumentsGainLossNotDesignatedAsHedgingInstrumentsLineItems
Namespace Prefix: | mksi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in earnings in the period from the increase (decrease) in fair value of foreign currency derivatives not designated as hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |