XML 59 R49.htm IDEA: XBRL DOCUMENT
v3.21.2

Fair Value Measurements - Schedule of Fair Value of Assets and Liabilities Measured on Recurring Basis (Detail) - USD ($) $ in Millions | Sep. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | $ 246.3 | $ 227.7
Short-term investments | 246.3 | 227.7
Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 86.2 |
Corporate Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 35.3 |
Other Current Liabilities [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives liabilities foreign exchange forward contracts | 0.7 | 6.5
Fair Value Measurements, Recurring [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 62.3 | 63.7
Total assets | 342.5 | 318.4
Total liabilities | 8.2 | 20.5
Short-term investments | 246.2 | 227.7
Other current assets | 3.0 |
Total current assets | 311.5 | 291.4
Long-term investments | 6.4 | 6.5
Other assets | 24.6 | 20.5
Total long-term assets | 31.0 | 27.0
Fair Value Measurements, Recurring [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives assets foreign exchange forward contracts | 3.0 |
Derivatives liabilities foreign exchange forward contracts | 0.7 | 6.5
Fair Value Measurements, Recurring [Member] | Interest Rate Hedge [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives assets interest rate hedge-non-current | 3.7 |
Derivatives liabilities interest rate hedge - non-current | 7.5 | 14.0
Fair Value Measurements, Recurring [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 0.1 | 0.3
Available-for-sale investments | 86.2 |
Fair Value Measurements, Recurring [Member] | Corporate Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 35.3 |
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.4 | 6.5
Fair Value Measurements, Recurring [Member] | Israeli Pension Assets [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Pension assets | 19.3 | 18.8
Fair Value Measurements, Recurring [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents | 44.7 | 1.3
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 | 17.5 | 62.1
Available-for-sale investments | 98.3 | 223.2
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 | 23.9 | 0.7
Fair Value Measurements, Recurring [Member] | Bankers' Acceptance Drafts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 2.5 | 3.8
Fair Value Measurements, Recurring [Member] | Mutual Funds and Exchange Traded Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Deferred compensation plan assets | 1.6 | 1.7
Fair Value Measurements, Recurring [Member] | Other Current Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities | 0.7 | 6.5
Fair Value Measurements, Recurring [Member] | Other Noncurrent Liabilities [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total liabilities | 7.5 | 14.0
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 | 62.2 | 1.3
Total assets | 44.7 | 1.3
Total current assets | 62.2 | 1.3
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 | 44.7 | 1.3
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.1 | 62.4
Total assets | 297.8 | 317.1
Total liabilities | 8.2 | 20.5
Short-term investments | 246.2 | 227.7
Other current assets | 3.0 |
Total current assets | 249.3 | 290.1
Long-term investments | 6.4 | 6.5
Other assets | 24.6 | 20.5
Total long-term assets | 31.0 | 27.0
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 assets foreign exchange forward contracts | 3.0 |
Derivatives liabilities foreign exchange forward contracts | 0.7 | 6.5
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Interest Rate Hedge [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives assets interest rate hedge-non-current | 3.7 |
Derivatives liabilities interest rate hedge - non-current | 7.5 | 14.0
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] |  |
Cash equivalents | 0.1 | 0.3
Available-for-sale investments | 86.2 |
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Corporate Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 35.3 |
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.4 | 6.5
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Israeli Pension Assets [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Pension assets | 19.3 | 18.8
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 | 17.5 | 62.1
Available-for-sale investments | 98.3 | 223.2
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 | 23.9 | 0.7
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Bankers' Acceptance Drafts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale investments | 2.5 | 3.8
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Mutual Funds and Exchange Traded Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Deferred compensation plan assets | 1.6 | 1.7
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 | 0.7 | 6.5
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 | $ 7.5 | $ 14.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 Deferred Compensation Plan Assets Fair Value Disclosure + References No definition available. + Details
Name: | mksi_DeferredCompensationPlanAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Non current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_NonCurrentAssetsFairValueDisclosure
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 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 http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investments in debt and equity securities which are categorized neither as held-to-maturity nor trading and which are intended to be sold or mature more than one year from the balance sheet date or operating cycle, if longer. Such securities are reported at fair value; unrealized gains (losses) related to Available-for-sale Securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain (loss) of an Available-for-sale security that is designated as being hedged in a fair value hedge is recognized in earnings during the period of the hedge, as are other than temporary declines in fair value below the cost basis for investments in equity securities and debt securities that an entity intends to sell or it is more likely than not that it will be required to sell before the recovery of its amortized cost basis. Other than temporary declines in fair value below the cost basis for debt securities categorized as Available-for-sale that an entity does not intend to sell and for which it is not more likely than not that the entity will be required to sell before the recovery of its amortized cost basis are bifurcated into credit losses and losses related to all other factors. Other than temporary declines in fair value below cost basis related to credit losses are recognized in earnings, and losses related to all other factors are recognized in other comprehensive income. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of asset, recognized in statement of financial position, for overfunded defined benefit pension and other postretirement plans. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123453770&loc=d3e1703-114919 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 5: 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)(10)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123453770&loc=d3e1731-114919 Reference 7: 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(10)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent
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 http://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 http://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 http://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 http://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 http://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 http://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 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 http://asc.fasb.org/extlink&oid=120398452&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 http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: 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 http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
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_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
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_InvestmentTypeAxis=mksi_GroupInsuranceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=mksi_IsraeliPensionAssetsMember
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=us-gaap_USTreasurySecuritiesMember
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_BankersAcceptanceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=mksi_MutualFundsAndExchangeTradedFundsMember
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: |