XML 53 R44.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Fair Value Measurements - Schedule of Fair Value of Assets and Liabilities Measured on Recurring Basis (Detail) - USD ($) $ in Millions | Sep. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments |  | $ 76
Short-term investments | $ 1 | 76
Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments |  | 42
Fair Value Measurements, Recurring [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 17 | 230
Pension and deferred compensation plan assets | 19 | 20
Total assets | 180 | 347
Total liabilities | 16 | 6
Short-term investments | 1 | 76
Other current assets | 23 | 6
Total current assets | 41 | 312
Other assets | 139 | 35
Fair Value Measurements, Recurring [Member] | Interest Rate Swaps [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge - non-current |  | 9
Derivatives interest rate hedge - current | 115 |
Derivatives - interest rate hedge - non-current |  | 5
Fair Value Measurements, Recurring [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 22 | 3
Derivatives- foreign exchange forward contracts | 16 | 1
Fair Value Measurements, Recurring [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 3
Fair Value Measurements, Recurring [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments |  | 42
Fair Value Measurements, Recurring [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 6 | 6
Fair Value Measurements, Recurring [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 17 | 55
Fair Value Measurements, Recurring [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 1 | 22
Fair Value Measurements, Recurring [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents |  | 175
Available-for-sale investments |  | 11
Fair Value Measurements, Recurring [Member] | U.S. Agency Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments |  | 1
Fair Value Measurements, Recurring [Member] | Other Current Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 1
Fair Value Measurements, Recurring [Member] | Other Noncurrent Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 5
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 17 | 55
Pension and deferred compensation plan assets | 0 | 0
Total assets | 17 | 55
Total liabilities | 0 | 0
Short-term investments | 0 | 0
Other current assets | 0 | 0
Total current assets | 17 | 55
Other assets | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Interest Rate Swaps [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge - non-current |  | 0
Derivatives interest rate hedge - current | 0 |
Derivatives - interest rate hedge - non-current |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 0 | 0
Derivatives- foreign exchange forward contracts | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 17 | 55
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents |  | 0
Available-for-sale investments |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Other Current Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets or Liabilities (Level 1) [Member] | Other Noncurrent Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 0
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 0 | 175
Pension and deferred compensation plan assets | 19 | 20
Total assets | 163 | 292
Total liabilities | 16 | 6
Short-term investments | 1 | 76
Other current assets | 23 | 6
Total current assets | 24 | 257
Other assets | 139 | 35
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Interest Rate Swaps [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge - non-current |  | 9
Derivatives interest rate hedge - current | 115 |
Derivatives - interest rate hedge - non-current |  | 5
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 22 | 3
Derivatives- foreign exchange forward contracts | 16 | 1
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge - non-current |  | 3
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments |  | 42
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 6 | 6
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 1 | 22
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents |  | 175
Available-for-sale investments |  | 11
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | U.S. Agency Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments |  | 1
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Other Current Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 1
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Other Noncurrent Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 5
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 0 | 0
Pension and deferred compensation plan assets | 0 | 0
Total assets | 0 | 0
Total liabilities | 0 | 0
Short-term investments | 0 | 0
Other current assets | 0 |
Total current assets | 0 | 0
Other assets | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Interest Rate Swaps [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge - non-current |  | 0
Derivatives - interest rate hedge - non-current |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 0 | 0
Derivatives- foreign exchange forward contracts | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | $ 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents |  | 0
Available-for-sale investments |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Other Current Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Other Noncurrent Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities |  | $ 0

X
- Definition Cash equivalents fair value disclosure. + References No definition available. + Details
Name: | mksi_CashEquivalentsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_CurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Derivative Fair Value Of Derivative Liability Amount Not Offset Against Collateral Current. + References No definition available. + Details
Name: | mksi_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateralCurrent
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Non current interest rate fair value hedge asset at fair value. + References No definition available. + Details
Name: | mksi_NonCurrentInterestRateFairValueHedgeAssetAtFairValue
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Non- current interest rate fair value hedge liabilities at fair value. + References No definition available. + Details
Name: | mksi_NonCurrentInterestRateFairValueHedgeLiabilitiesAtFairValue
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Other current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_OtherCurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other non current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_OtherNonCurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Pension and deferred compensation plan assets. + References No definition available. + Details
Name: | mksi_PensionAndDeferredCompensationPlanAssets
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value as of the balance sheet date of all foreign currency derivative assets designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_ForeignCurrencyCashFlowHedgeAssetAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value as of the balance sheet date of all foreign currency derivative liabilities designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_ForeignCurrencyCashFlowHedgeLiabilityAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of asset contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward contracts, and swaps. + References No definition available. + Details
Name: | us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(8)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(g)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_ShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_InvestmentTypeAxis=mksi_GroupInsuranceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=mksi_TimeDepositsAndCertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |