XML 58 R48.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments - Gross Unrealized Gains and (Losses) Aggregated by Investment Category (Detail) - USD ($) $ in Millions | Sep. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | $ 246.3 | $ 227.7
Investments, Estimated Fair Value | 246.3 | 227.7
Time Deposits and Certificates of Deposit [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 24.0 | 0.7
Investments, Estimated Fair Value | 24.0 | 0.7
Bankers' Acceptance Drafts [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 2.5 | 3.8
Investments, Estimated Fair Value | 2.5 | 3.8
Commercial Paper [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 86.2 |
Investments, Estimated Fair Value | 86.2 |
Corporate Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 35.3 |
Investments, Estimated Fair Value | 35.3 |
U.S. Treasury Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 98.3 | 223.2
Investments, Estimated Fair Value | 98.3 | 223.2
Group Insurance Contracts [Member] | Long Term Investments [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 5.5 | 5.6
Investments, Gross Unrealized Gains | 0.9 | 0.9
Investments, Estimated Fair Value | $ 6.4 | $ 6.5

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 Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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_InvestmentTypeAxis=us-gaap_USTreasurySecuritiesMember
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: | mksi_Investment1Axis=mksi_LongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |