XML 95 R81.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Debt - Additional Information (Detail) |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 06, 2017 | Dec. 14, 2016 | Sep. 30, 2016 USD ($) | Jun. 09, 2016 USD ($) | Sep. 30, 2016 USD ($) | Dec. 31, 2017 USD ($) Institution | Dec. 31, 2016 USD ($) | Nov. 30, 2017 USD ($) | Aug. 31, 2017 USD ($) | Jul. 31, 2017 USD ($) | Mar. 31, 2017 USD ($) | Nov. 30, 2016 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Leverage ratio | 1.25% |  |  |  |  | 1.25% |  |  |  |  |  |
Applicable margin for Term Loan Credit agreement | 2.25% |  |  |  |  |  |  |  |  |  |  |
LIBOR floor rate | 0.75% |  |  |  |  | 2.00% |  |  |  |  |  |
Decrease in base rate borrowings margin | 1.25% |  |  |  |  |  |  |  |  |  |  |
Description of applicable margin | The Re-pricing Amendment 3 decreased the applicable margin for the Company’s term loan under the Credit Agreement to 2.25% for LIBOR rate loans when the Total Leverage Ratio (as defined in the Credit Agreement) was at or above 1.25:1 and decreased to 2.00% when the Total Leverage Ratio was below 1.25:1, both with a LIBOR floor of 0.75%. The margin for base rate borrowings decreased to 1.25% when the Total Leverage Ratio is at or above 1.25:1 and to 1.00% when the Total Leverage Ratio is below 1.25:1. |  |  |  |  |  |  |  |  |  |  |
Interest expense |  |  |  |  |  | $ 30,990,000 | $ 30,611,000 |  |  |  |  |
Interest Rate Hedge [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap agreement, maturity date |  |  | Sep. 30, 2020 |  |  |  |  |  |  |  |  |
Interest rate swap agreement, notional amount |  |  |  |  |  | $ 305,000,000 | 335,000,000 |  |  |  |  |
Interest rate swap agreement, credit spread rate |  |  |  |  |  | 2.00% |  |  |  |  |  |
Austria [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Interest on loans payable |  |  |  |  |  | Semi-annually |  |  |  |  |  |
Japan [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity in the form of letters of credit |  |  |  |  |  | $ 20,410,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 |  |  |  |  |
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 |  |  |  |  |  | $ 11,092,000 |  |  |  |  |  |
Revolving Lines of Credit [Member] | Base Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Line of credit base interest rate |  |  |  |  |  | 1.25% |  |  |  |  |  |
Newport [Member] | Revolving Lines of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Total borrowings outstanding |  |  |  |  |  | $ 2,965,000 | $ 4,703,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 based on the Company’s leverage ratio (1.25% as of December 31, 2017); 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 based on our leverage ratio (2.00% as of December 31, 2017). The Company has elected the interest rate as described in clause (b). The Credit Agreement provides that all loans will be determined by reference to the Base Rate if the LIBOR rate cannot be ascertained, if regulators impose material restrictions on the authority of a lender to make LIBOR rate loans, and for other reasons. 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 month |  |  |  |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | Floor Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  | 1.75% |  |  |  |  |  |
Leverage ratio |  |  |  |  |  | 1.25% |  |  |  |  |  |
Newport [Member] | Term Loan Credit Agreement [Member] | Secured Debt [Member] | LIBOR Floor Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  | 0.75% |  |  |  |  |  |
Leverage ratio |  |  |  |  |  | 2.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, pre-payment premium percentage |  |  |  | 1.00% |  |  |  |  |  |  |  |
Debt instrument, pre-payment 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 |  |  |  |  |  | 9,185,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 | $ 305,000,000 |  |  |  |  |  |
Interest rate swap agreement, interest rate |  |  | 1.198% |  | 1.198% |  |  |  |  |  |  |
Interest rate swap agreement, credit spread rate |  |  |  |  |  | 2.00% |  |  |  |  |  |
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 |  |  |  |  |  | $ 398,464,000 |  |  |  |  |  |
Debt instrument, prepaid principal amount |  |  |  |  |  | 375,000,000 |  | $ 50,000,000 | $ 75,000,000 | $ 50,000,000 | $ 50,000,000 | $ 40,000,000
Debt instrument, scheduled principal payments |  |  |  |  |  | 6,536,000 |  |  |  |  |  |
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] | 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 |  |  |  |  |  | $ 242,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 Decrease in base rate borrowings margin. + References No definition available. + Details
Name: | mksi_DecreaseInBaseRateBorrowingsMargin
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Leverage ratio1. + References No definition available. + Details
Name: | mksi_LeverageRatio1
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition LIBOR floor rate. + References No definition available. + Details
Name: | mksi_LiborFloorRate
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
Balance Type: | na
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 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 Term loan credit agreement percentage. + References No definition available. + Details
Name: | mksi_TermLoanCreditAgreementPercentage
Namespace Prefix: | mksi_
Data Type: | num:percentItemType
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 Description of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain financial ratios (for example, working capital ratio and debt service coverage ratio), and adherence to certain clauses which generally require or restrict certain actions (for example, entering into a debt arrangement with equal or greater seniority, and selling or discontinuing a certain business segment or material subsidiary) to be in compliance with the covenant clauses of the debt agreement. May also include a discussion of the adverse consequences that would result if the entity violates or fails to satisfy the covenants. + 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 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentCovenantDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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=75038535&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=75038535&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=mksi_AustriaMember
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_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_BusinessAcquisitionAxis=mksi_NewportCorporationMember
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_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_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: |