XML 94 R59.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Debt (Narrative) (Details) - USD ($) |  |  |  |  | 12 Months Ended
--- | --- | --- | --- | --- | ---
Jun. 08, 2023 | Jun. 07, 2023 | Dec. 16, 2022 | Dec. 15, 2022 | Dec. 29, 2023 | Dec. 30, 2022 | Dec. 31, 2021
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Estimated fair value of debt |  |  |  |  |  | $ 75,000,000 |
Maximum borrowing amount - credit facility |  |  |  |  | $ 842,000,000 |  |
Interest paid |  |  |  |  | 5,700,000 | $ 10,000,000 | $ 9,800,000
Committed Facility |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Unused portion of credit facility |  |  |  |  | 775,000,000 |  |
Shelf Notes |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Maximum borrowing amount - credit facility |  |  | $ 250,000,000 | $ 200,000,000 |  |  |
Floating Rate Principal Maximum |  |  | $ 100,000,000 |  |  |  |
Line of Credit Facility, Expiration Period |  |  | 15 years | 12 years |  |  |
Revolving Credit Facility |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Chinese Renminbi Facility Maximum Borrowing Capacity |  |  |  |  | $ 50,000,000 |  |
Revolving Credit Facility | Committed Facility | Line of Credit |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Maximum borrowing amount - credit facility | $ 750,000,000 | $ 500,000,000 |  |  |  |  |
Line of Credit Facility, Capacity Available for Specific Purpose Other than for Trade Purchases | 375,000,000 | 200,000,000 |  |  |  |  |
Line of Credit Facility, Current Borrowing Capacity | $ 375,000,000 | $ 250,000,000 |  |  |  |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 0.125% | 0.00% |  |  |  |  |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage |  |  |  |  | 0.125% |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Cash flow leverage ratio no acquisition |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Cash flow leverage ratio with acquisitions |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Interest coverage ratio no acquisitions |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Interest coverage ratio with acquisitions |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 1.125% | 1.00% |  |  |  |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 0.875% | 0.75% |  |  |  |  |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage |  |  |  |  | 0.25% |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Cash flow leverage ratio no acquisition |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 3.50 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Cash flow leverage ratio with acquisitions |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 4.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Interest coverage ratio no acquisitions |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 3.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Interest coverage ratio with acquisitions |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  |  |  | 2.50 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 1.875% | 1.75% |  |  |  |  |
Domestic Line of Credit | Committed Facility |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Maximum borrowing amount - credit facility |  |  |  |  | $ 800,000,000 |  |
Foreign Line of Credit | Committed Facility |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Maximum borrowing amount - credit facility |  |  |  |  | 42,000,000 |  |
Foreign Line of Credit | Uncommitted Facility |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Unused portion of credit facility |  |  |  |  | $ 24,000,000 |  |
Foreign Line of Credit | Uncommitted Facility | Maximum |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |
Loan commitment fee percentage |  |  |  |  | 0.15% |  |

X
- Definition Chinese Renminbi Facility Maximum Borrowing Capacity + References No definition available. + Details
Name: | ggg_ChineseRenminbiFacilityMaximumBorrowingCapacity
Namespace Prefix: | ggg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Floating Rate Principal Maximum + References No definition available. + Details
Name: | ggg_FloatingRatePrincipalMaximum
Namespace Prefix: | ggg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 States whether the entity was in compliance with the debt covenants throughout the reporting period, and describes facts and circumstances of any compliance failure. + 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://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480848/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentCovenantCompliance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash paid for interest, including, but not limited to, capitalized interest and payment to settle zero-coupon bond attributable to accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount; classified as operating and investing activities. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-2 + Details
Name: | us-gaap_InterestPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The maximum amount of borrowing capacity under a line of credit that is available as of the balance sheet date for a specific purpose other than for financing goods acquired for inventory or imminent delivery to a customer. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases
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 the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any 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_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period remaining on line of credit facility before it terminates, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
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/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 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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://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 of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + 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_LineOfCreditFacilityRemainingBorrowingCapacity
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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References No definition available. + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ggg_ShelfNotesMember
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_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
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: | ggg_CovenantRatioAxis=ggg_CashFlowLeverageRatioNoAcquisitionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_CashFlowLeverageRatioWithAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_InterestCoverageRatioNoAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_InterestCoverageRatioWithAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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