XML 104 R93.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Debt - Credit Facility - Additional Information (Detail) |  |  |  |  | 12 Months Ended
--- | --- | --- | --- | --- | ---
Oct. 31, 2023 USD ($) | Oct. 03, 2023 USD ($) | Dec. 12, 2022 USD ($) | Aug. 17, 2022 USD ($) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate terms |  |  |  |  | Borrowings under the Credit Facilities bear interest at a rate per annum equal to, at the Company’s option, any of the following, plus, in each case, an applicable margin: (a) with respect to the USD Tranche A, the Revolving Facility and, prior to the effectiveness of the First Amendment (as defined below), the USD Tranche B, (x) a base rate determined by reference to the highest of (1) the federal funds effective rate plus 0.50%, (2) the prime rate quoted in The Wall Street Journal, or (3) a forward-looking term rate based on Term SOFR (plus an applicable credit spread adjustment) for an interest period of one month, plus 1.00%; and (y) a Term SOFR rate (plus an applicable credit spread adjustment) for the interest period relevant to such borrowing, subject to a rate floor of (I) with respect to the USD Tranche B, 0.50% and (II) with respect to the USD Tranche A and the Revolving Facility, 0.0%; and (b) with respect to the Euro Tranche B, a Euro Interbank Offered Rate (“EURIBOR”) rate determined by reference to the costs of funds for Euro deposits for the interest period relevant to such borrowing adjusted for certain additional costs, subject to a EURIBOR rate floor of 0.0%. |  |
Initial commitment fee percentage |  |  |  |  | 0.375% |  |
Loss on extinguishment of debt |  |  |  |  | $ 8,000,000 | $ 0 | $ 0
Long-term debt, net |  |  |  |  | $ 4,696,000,000 | $ 4,834,000,000 |
Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Leverage ratio |  |  |  |  | 5.25 |  |
Annual Step-Down [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Leverage ratio |  |  |  |  | 0.25 |  |
Step-Up [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Leverage ratio |  |  |  |  | 0.5 |  |
Step-Up [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Leverage ratio |  |  |  |  | 5.5 |  |
Term SOFR Borrowings [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 2.50% |  |
Borrowings under Euro Tranche B [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 3.00% |  |
Term Loans Under Term Loan Facility [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Deferred financing fees and original issue discount fees |  |  |  |  | $ 242,000,000 |  |
Revolving Credit Facility [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Prepayment premium percentage of aggregate principal amount |  |  |  |  | 1.00% |  |
Debt issuance costs |  |  |  | $ 7,000,000 |  |  |
Debt issuance costs, amortization period |  |  |  | 4 years |  |  |
Borrowings outstanding |  |  |  |  | $ 0 |  |
Maturity date |  |  |  |  | Aug. 31, 2027 |  |
Revolving Credit Facility [Member] | Minimum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Percentage of aggregate amount of all commitments |  |  |  |  | 35.00% |  |
Term Loan Facility [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Line of credit facility minimum additional borrowing capacity |  |  |  |  | $ 1,011,000,000 |  |
Minimum percentage of consolidated EBITDA |  |  |  |  | 75.00% |  |
Total principal prepayments |  |  |  |  | $ 200,000,000 |  |
Scheduled principal payments |  |  |  |  | 109,000,000 |  |
Outstanding principal amount |  |  |  |  | $ 4,953,000,000 |  |
Weighted average interest rate |  |  |  |  | 7.70% |  |
Federal Funds Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.50% |  |
Term SOFR Rate (Plus Applicable Credit Spread Adjustment) [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.00% |  |
EURIBOR Rate Floor [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.00% |  |
Base Rate [Member] | Borrowings Under Revolving Facility [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.50% |  |
Atotech [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity |  |  |  | $ 500,000,000 |  |  |
USD Tranche A [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity |  |  |  | 1,000,000,000 |  |  |
Loan voluntary prepayment amount | $ 100,000,000 |  | $ 100,000,000 |  |  |  |
Scheduled quarterly payments percentage of original principal amount |  |  |  |  | 1.25% |  |
Maturity date |  |  |  |  | Aug. 31, 2027 |  |
USD Tranche A [Member] | Years 3 and 4 [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Scheduled quarterly payments percentage of original principal amount |  |  |  |  | 1.875% |  |
USD Tranche A [Member] | Year 5 [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Scheduled quarterly payments percentage of original principal amount |  |  |  |  | 2.50% |  |
USD Tranche A [Member] | Term SOFR Borrowings [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 2.50% |  |
USD Tranche A [Member] | Original Issue Discount [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original issue discount percentage of principal amount |  |  |  |  | 0.25% |  |
USD Tranche A [Member] | Floor Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.00% |  |
USD Tranche A [Member] | Base Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.50% |  |
USD Tranche B [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity |  |  |  | 3,600,000,000 |  |  |
Loss on extinguishment of debt |  |  |  |  | $ 8,000,000 |  |
Prepayment premium percentage of aggregate principal amount |  |  |  |  | 1.00% |  |
Scheduled quarterly payments percentage of original principal amount |  |  |  |  | 0.25% |  |
Borrowings outstanding |  | $ 3,564,000,000 |  |  |  |  |
Maturity date |  |  |  |  | Aug. 31, 2029 |  |
USD Tranche B [Member] | Term SOFR Borrowings [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 2.75% |  |
USD Tranche B [Member] | Term SOFR Borrowings [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  | 2.50% |  |  |  |  |
USD Tranche B [Member] | Term SOFR Borrowings [Member] | Minimum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  | 2.75% |  |  |  |  |
USD Tranche B [Member] | Original Issue Discount [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original issue discount percentage of principal amount |  | 0.25% |  |  | 2.00% |  |
USD Tranche B [Member] | Floor Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.50% |  |
USD Tranche B [Member] | Base Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.75% |  |
USD Tranche B [Member] | Base Rate [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  | 1.50% |  |  |  |  |
USD Tranche B [Member] | Base Rate [Member] | Minimum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  | 1.75% |  |  |  |  |
USD Tranche B First Ammendment [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Deferred financing fees and original issue discount fees |  |  |  |  | $ 11,000,000 |  |
Deferred financing costs in long-term debt |  |  |  |  | $ 9,000,000 |  |
Euro Tranche B [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity |  |  |  | $ 600,000,000 |  |  |
Scheduled quarterly payments percentage of original principal amount |  |  |  |  | 0.25% |  |
Maturity date |  |  |  |  | Aug. 31, 2029 |  |
Euro Tranche [Member] | Original Issue Discount [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original issue discount percentage of principal amount |  |  |  |  | 2.00% |  |
First Lien Net Leverage Ratio [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Leverage ratio |  |  |  |  | 1 |  |

X
- Definition Debt issuance costs, amortization period. + References No definition available. + Details
Name: | mksi_DebtIssuanceCostsAmortizationPeriod
Namespace Prefix: | mksi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Deferred financing costs in long term debt. + References No definition available. + Details
Name: | mksi_DeferredFinancingCostsInLongTermDebt
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Initial commitment fee percentage. + References No definition available. + Details
Name: | mksi_InitialCommitmentFeePercentage
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit facility minimum additional borrowing capacity. + References No definition available. + Details
Name: | mksi_LineOfCreditFacilityMinimumAdditionalBorrowingCapacity
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Loan Voluntary Prepayment Amount + References No definition available. + Details
Name: | mksi_LoanVoluntaryPrepaymentAmount
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum percentage of earnings before interest taxes depreciation and amortization. + References No definition available. + Details
Name: | mksi_MinimumPercentageOfEarningsBeforeInterestTaxesDepreciationAndAmortization
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Original issue discount percentage of principal amount. + References No definition available. + Details
Name: | mksi_OriginalIssueDiscountPercentageOfPrincipalAmount
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of aggregate amount of all commitments. + References No definition available. + Details
Name: | mksi_PercentageOfAggregateAmountOfAllCommitments
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prepayment premium percentage of aggregate principal amount. + References No definition available. + Details
Name: | mksi_PrepaymentPremiumPercentageOfAggregatePrincipalAmount
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Scheduled quarterly payments percentage of original principal amount. + References No definition available. + Details
Name: | mksi_ScheduledQuarterlyPaymentsPercentageOfOriginalPrincipalAmount
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the total principal payments made during the annual reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentAnnualPrincipalPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-2 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the interest rate as being fixed or variable, and, if variable, identification of the index or rate on which the interest rate is based and the number of points or percentage added to that index or rate to set the rate, and other pertinent information, such as frequency of rate resets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69E Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69F Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments including both interest and principal payments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480848/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481303/470-50-40-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481303/470-50-40-4 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indebtedness divided by net capital. + References No definition available. + Details
Name: | us-gaap_RatioOfIndebtednessToNetCapital1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mksi_AnnualStepDownMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mksi_StepUpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_TermSofrBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_BorrowingsUnderEuroTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_TermLoansUnderTermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mksi_FederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mksi_TermSofrRatePlusApplicableCreditSpreadAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mksi_EuriborRateFloorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_BorrowingsUnderRevolvingFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_VestingAxis=mksi_UsdTrancheAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mksi_Years3And4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mksi_Year5Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_InterestRateFloorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_UsdTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_UsdTrancheBFirstAmmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_EuroTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_EuroTrancheMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_FirstLienNetLeverageRatioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |