XML 102 R87.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Debt - Additional Information (Detail) |  |  |  | 1 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | ---
Dec. 14, 2016 | Sep. 30, 2016 USD ($) | Jun. 09, 2016 USD ($) | Sep. 30, 2016 USD ($) | Dec. 31, 2016 USD ($) Institution SecurityLoan | Nov. 30, 2016 USD ($) | Dec. 31, 2015 USD ($)
Interest Rate Hedge [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Interest rate swap agreement, maturity date |  | Sep. 30, 2020 |  |  |  |  |
Interest rate swap agreement, notional amount |  | $ 335,000,000 |  | $ 335,000,000 |  |  |
Interest rate swap agreement, credit spread rate |  | 3.50% |  | 3.50% |  |  |
Japan [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity in the form of letters of credit |  |  |  |  | $ 19,675,000 |  |
Number of financial institutions for available lines of credit and borrowing arrangements | Institution |  |  |  |  | 2 |  |
Aggregate borrowings expire and renewed |  |  |  |  | 3 month intervals |  |
Total borrowings outstanding |  |  |  |  | $ 0 |  | $ 0
Austria [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Number of outstanding loans | SecurityLoan |  |  |  |  | 4 |  |
Interest on loans payable |  |  |  |  | Semi-annually |  |
Minimum [Member] | Austria [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Loan interest rate |  |  |  |  | 0.75% |  |
Maximum [Member] | Austria [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Loan interest rate |  |  |  |  | 2.00% |  |
Revolving Lines of Credit [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity in the form of letters of credit |  |  |  |  | $ 10,693,000 |  |
Revolving Lines of Credit [Member] | Base Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Line of credit base interest rate |  |  |  |  | 1.25% |  |
Term Loan Credit Agreement [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Interest expense |  |  |  |  | $ 30,611,000 |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Secured term loan, face amount |  |  |  |  | $ 780,000,000 |  |
Debt instrument, interest rate terms |  |  |  |  | Borrowings under the Term Loan Facility bear interest per annum at one of the following rates selected by the Company: (a) 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, (3) a LIBOR rate determined by reference to the costs of funds for U.S. dollar deposits for an interest period of one month adjusted for certain additional costs, plus 1.00%, and (4) a floor of 1.75%, plus, in each case, an applicable margin of 3.00%; or (b) a LIBOR rate determined by reference to the costs of funds for U.S. dollar deposits for the interest period relevant to such borrowing adjusted for certain additional costs, subject to a LIBOR rate floor of 0.75%, plus an applicable margin of 4.00%. The Company has elected the interest rate as described in clause (b). The Term Loan Facility was issued with original issue discount of 1.00% of the principal amount thereof. |  |
Debt instrument, issue discount percentage on principal |  |  |  |  | 1.00% |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | Federal Funds Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.50% |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | Adjusted One Month LIBOR [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.00% |  |
Period of Libor measurement |  |  |  |  | 1 year |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | Floor Rate [Member] | Minimum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.75% |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | Floor Rate [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 3.00% |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | LIBOR Floor Rate [Member] | Minimum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.75% |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | LIBOR Floor Rate [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 4.00% |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 1 [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  | 2.50% |  |  |  |
Debt instrument, prepayment premium percentage |  |  | 1.00% |  |  |  |
Debt instrument, prepayment premium |  |  | $ 7,300,000 |  |  |  |
Debt instrument, prepaid principal amount |  |  | $ 50,000,000 |  |  |  |
Debt instrument, prepaid amount |  |  |  | $ 60,000,000 |  |  |
Deferred finance fees, original issue discount and re-pricing fee, gross |  |  |  |  | $ 28,747,000 |  |
Deferred finance fees, original issue discount and re-pricing fee, net |  |  |  |  | $ 19,642,000 |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 1 [Member] | Interest Rate Hedge [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Interest rate swap agreement, maturity date |  | Sep. 30, 2020 |  |  |  |  |
Interest rate swap agreement, notional amount |  | $ 335,000,000 |  | $ 335,000,000 |  |  |
Interest rate swap agreement, interest rate |  | 1.198% |  | 1.198% |  |  |
Interest rate swap agreement, credit spread rate |  | 3.50% |  | 3.50% |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 1 [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, quarterly payment percentage |  |  |  |  | 0.25 |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 1 [Member] | LIBOR [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  | 3.50% |  |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 2 [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Secured term loan, face amount |  |  |  |  | $ 626,605,000 |  |
Debt instrument, prepaid principal amount |  |  |  |  | 150,000,000 | $ 40,000,000 |
Debt instrument, scheduled principal payments |  |  |  |  | 3,395,000 |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 2 [Member] | LIBOR Floor Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate | 0.75% |  |  |  |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 2 [Member] | LIBOR [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate | 2.75% |  |  |  |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 2 [Member] | Base Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate | 1.75% |  |  |  |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt Repricing Amendment 2 [Member] | Base Rate Floor [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate | 1.75% |  |  |  |  |  |
Newport [Member] | Asset Based Credit Agreement [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt issuance cost capitalized |  |  |  |  | $ 1,201,000 |  |
Contractual term |  |  |  |  | 5 years |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Secured Debt [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Secured term loan, face amount |  |  |  |  | $ 50,000,000 |  |
Debt instrument, interest rate terms |  |  |  |  | Borrowings under the ABL Facility bear interest per annum at one of the following rates selected by the Company: (a) 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, and (3) a LIBOR rate determined by reference to the costs of funds for U.S. dollar deposits for an interest period of one month adjusted for certain additional costs, plus 1.00%, plus, in each case, an initial applicable margin of 0.75%; and (b) a LIBOR rate determined by reference to the costs of funds for U.S. dollar deposits for the interest period relevant to such borrowing adjusted for certain additional costs, plus an initial applicable margin of 1.75%. |  |
Percentage of borrowing based on eligible accounts |  |  |  |  | 85.00% |  |
Percentage of borrowing based on lower of cost or market value of certain eligible inventory |  |  |  |  | 65.00% |  |
Percentage of borrowing based on net orderly liquidation value of certain eligible inventory |  |  |  |  | 85.00% |  |
Percentage of borrowing base |  |  |  |  | 30.00% |  |
Initial commitment fee percentage |  |  |  |  | 0.375% |  |
Total commitment fee recognized in interest expense |  |  |  |  | $ 128,000 |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Secured Debt [Member] | Maximum [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Percentage of borrowing based on book value of certain eligible accounts |  |  |  |  | 70.00% |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Secured Debt [Member] | Federal Funds Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.50% |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Secured Debt [Member] | Adjusted One Month LIBOR [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.00% |  |
Period of Libor measurement |  |  |  |  | 1 month |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Secured Debt [Member] | LIBOR [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 1.75% |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Secured Debt [Member] | Initial Margin Rate [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  | 0.75% |  |
Newport [Member] | Asset Based Credit Agreement [Member] | Letter of Credit [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Borrowing capacity in the form of letters of credit |  |  |  |  | $ 15,000,000 |  |

X
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Article 12 -Section 13 -Sentence Column B + Details
Name: | invest_DerivativeNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument issue discount percentage on principal. + References No definition available. + Details
Name: | mksi_DebtInstrumentIssueDiscountPercentageOnPrincipal
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument Outstanding Balance Repaid + References No definition available. + Details
Name: | mksi_DebtInstrumentOutstandingBalanceRepaid
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt instrument pre payment premium percentage. + References No definition available. + Details
Name: | mksi_DebtInstrumentPrePaymentPremiumPercentage
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument prepayment premium amount. + References No definition available. + Details
Name: | mksi_DebtInstrumentPrepaymentPremiumAmount
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt instrument voluntary prepayment amount. + References No definition available. + Details
Name: | mksi_DebtInstrumentVoluntaryPrepaymentAmount
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt issuance costs capitalized. + References No definition available. + Details
Name: | mksi_DebtIssuanceCostsCapitalized
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line of credit facility contractual term. + References No definition available. + Details
Name: | mksi_LineOfCreditFacilityContractualTerm
Namespace Prefix: | mksi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition General renewal period for line of credit facility. + References No definition available. + Details
Name: | mksi_LineOfCreditFacilityRenewalPeriod
Namespace Prefix: | mksi_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financial institutions for lines of credit and borrowing arrangements. + References No definition available. + Details
Name: | mksi_NumberOfFinancialInstitutionsThatProvideForAggregateBorrowings
Namespace Prefix: | mksi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of outstanding loans. + References No definition available. + Details
Name: | mksi_NumberOfOutstandingLoans
Namespace Prefix: | mksi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of borrowing base. + References No definition available. + Details
Name: | mksi_PercentageOfBorrowingBase
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of borrowing based on book value of certain eligible account receivable. + References No definition available. + Details
Name: | mksi_PercentageOfBorrowingBasedOnBookValueOfCertainEligibleAccountReceivable
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of borrowing based on eligible accounts receivable. + References No definition available. + Details
Name: | mksi_PercentageOfBorrowingBasedOnEligibleAccountsReceivable
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of borrowing based on lower of cost or market value of certain eligible inventory. + References No definition available. + Details
Name: | mksi_PercentageOfBorrowingBasedOnLowerOfCostOrMarketValueOfCertainEligibleInventory
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of borrowing based on net orderly liquidation value of certain eligible inventory. + References No definition available. + Details
Name: | mksi_PercentageOfBorrowingBasedOnNetOrderlyLiquidationValueOfCertainEligibleInventory
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of LIBOR measurement. + References No definition available. + Details
Name: | mksi_PeriodOfLiborMeasurement
Namespace Prefix: | mksi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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: | num: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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&loc=d3e28878-108400 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the frequency of periodic payments (monthly, quarterly, annual). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFrequencyOfPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + 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 No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the payment terms of the debt instrument (for example, whether periodic payments include principal and frequency of payments) and discussion about any contingencies associated with the payment. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPaymentTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 + 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. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeBasisSpreadOnVariableRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fixed interest rate related to the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date the derivative contract matures, in CCYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_DerivativeMaturityDates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate amount of interest paid or due on all long-term debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.8) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_InterestExpenseLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee for available but unused credit capacity under the credit facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The effective interest rate during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_StatementGeographicalAxis=country_JP
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementGeographicalAxis=mksi_AustriaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
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_TermLoanCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_SecuredDebtMember
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_AdjustedOneMonthLiborMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=mksi_SecuredDebtRepricingAmendmentOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=mksi_SecuredDebtRepricingAmendmentTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |