XML 56 R46.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments - Gross Unrealized Gains and (Losses) Aggregated by Investment Category (Detail) - USD ($) $ in Millions | Jun. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | $ 283.9 | $ 227.7
Investments, Gross Unrealized (Losses) | (0.1) |
Investments, Estimated Fair Value | 283.8 | 227.7
Time Deposits and Certificates of Deposit [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 29.1 | 0.7
Investments, Estimated Fair Value | 29.1 | 0.7
Bankers' Acceptance Drafts [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 3.5 | 3.8
Investments, Estimated Fair Value | 3.5 | 3.8
Commercial Paper [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 166.5 |
Investments, Estimated Fair Value | 166.5 |
Corporate Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 8.0 |
Investments, Estimated Fair Value | 8.0 |
U.S. Treasury Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 76.8 | 223.2
Investments, Gross Unrealized (Losses) | (0.1) |
Investments, Estimated Fair Value | 76.7 | 223.2
Group Insurance Contracts [Member] | Long Term Investments [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 5.7 | 5.6
Investments, Gross Unrealized Gains | 0.9 | 0.9
Investments, Estimated Fair Value | $ 6.6 | $ 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=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: |