XML 52 R43.htm IDEA: XBRL DOCUMENT
v3.23.1

Derivatives - Additional Information (Detail) € in Millions, $ in Millions | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Mar. 31, 2023 | Dec. 31, 2022 USD ($) | Dec. 31, 2021 EUR (€)
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |
Maximum period for hedging a portion of forecasted foreign currency denominated intercompany sales of inventory | 18 months |  |
Derivatives Foreign Currency Options [Member] | Atotech [Member] |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |
Notional amount in EUR/USD | € |  |  | € 300
Other Expense, Net [Member] | Derivatives Foreign Currency Options [Member] | Atotech [Member] |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |
Gain net of premium | $ |  | $ 5 |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount before tax of foreign currency transaction unrealized gain (loss) recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894 + Details
Name: | us-gaap_ForeignCurrencyTransactionGainLossUnrealized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum amount of time remaining before foreign currency exchange rate derivatives mature or expire, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mksi_AtotechLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |