{
 "version": "2.2",
 "instance": {
  "aos-20260626.htm": {
   "nsprefix": "aos",
   "nsuri": "http://www.aosmith.com/20260626",
   "dts": {
    "inline": {
     "local": [
      "aos-20260626.htm"
     ]
    },
    "schema": {
     "local": [
      "aos-20260626.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-types-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-roles-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-types-2026.xsd",
      "https://xbrl.sec.gov/country/2026/country-2026.xsd",
      "https://xbrl.sec.gov/dei/2026/dei-2026.xsd",
      "https://xbrl.sec.gov/stpr/2026/stpr-2026.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "aos-20260626_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "aos-20260626_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "aos-20260626_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "aos-20260626_pre.xml"
     ]
    }
   },
   "keyStandard": 57,
   "keyCustom": 17,
   "axisStandard": 5,
   "axisCustom": 1,
   "memberStandard": 15,
   "memberCustom": 8,
   "hidden": {
    "total": 5,
    "http://www.aosmith.com/20260626": 1,
    "http://xbrl.sec.gov/dei/2026": 4
   },
   "contextCount": 63,
   "entityCount": 1,
   "segmentCount": 23,
   "elementCount": 144,
   "unitCount": 6,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-ebp/2026": 144,
    "http://xbrl.sec.gov/dei/2026": 9
   },
   "report": {
    "R1": {
     "role": "http://www.aosmith.com/role/Cover",
     "longName": "0000001 - Document - Cover",
     "shortName": "Cover",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits",
     "longName": "0000002 - Statement - Statements of Net Assets Available for Benefits",
     "shortName": "Statements of Net Assets Available for Benefits",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNoteReceivableFromParticipant",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits",
     "longName": "0000003 - Statement - Statements of Changes in Net Assets Available for Benefits",
     "shortName": "Statements of Changes in Net Assets Available for Benefits",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForChangeInPlanInterestInMasterTrust",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForChangeInPlanInterestInMasterTrust",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies",
     "longName": "0000004 - Disclosure - Description of Plan and Significant Accounting Policies",
     "shortName": "Description of Plan and Significant Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "4",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrust",
     "longName": "0000005 - Disclosure - A. O. Smith Corporation Master Trust",
     "shortName": "A. O. Smith Corporation Master Trust",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "5",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanMasterTrustTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanMasterTrustTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.aosmith.com/role/Fairvaluemeasurements",
     "longName": "0000006 - Disclosure - Fair value measurements",
     "shortName": "Fair value measurements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "6",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.aosmith.com/role/IncomeTaxStatus",
     "longName": "0000007 - Disclosure - Income Tax Status",
     "shortName": "Income Tax Status",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.aosmith.com/role/PlanTermination",
     "longName": "0000008 - Disclosure - Plan Termination",
     "shortName": "Plan Termination",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanPlanTerminationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanPlanTerminationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.aosmith.com/role/RisksandUncertainties",
     "longName": "0000009 - Disclosure - Risks and Uncertainties",
     "shortName": "Risks and Uncertainties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions",
     "longName": "0000010 - Disclosure - Party-in-Interest and Related Party Transactions",
     "shortName": "Party-in-Interest and Related Party Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear",
     "longName": "0000011 - Disclosure - Schedule H, line 4i - Schedule of Assets Held (at End of Year)",
     "shortName": "Schedule H, line 4i - Schedule of Assets Held (at End of Year)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies",
     "longName": "0000012 - Disclosure - Description of Plan and Significant Accounting Policies (Policies)",
     "shortName": "Description of Plan and Significant Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "12",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanUseOfEstimatePolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanUseOfEstimatePolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables",
     "longName": "0000013 - Disclosure - A. O. Smith Corporation Master Trust (Tables)",
     "shortName": "A. O. Smith Corporation Master Trust (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "13",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanMasterTrustTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanMasterTrustTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.aosmith.com/role/FairvaluemeasurementsTables",
     "longName": "0000014 - Disclosure - Fair value measurements (Tables)",
     "shortName": "Fair value measurements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "14",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R15": {
     "role": "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails",
     "longName": "0000015 - Disclosure - Description of Plan and Significant Accounting Policies (Details)",
     "shortName": "Description of Plan and Significant Accounting Policies (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "15",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "aos:EBPParticipantPaidAdministrativeExpenses",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanExpensePolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "aos:EBPParticipantPaidAdministrativeExpenses",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanExpensePolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails",
     "longName": "0000016 - Disclosure - A. O. Smith Corporation Master Trust - Additional Information (Details)",
     "shortName": "A. O. Smith Corporation Master Trust - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "16",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "aos:EBPNumberOfInvestmentVehicles",
      "unitRef": "investment_vehicle",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "aos:EBPNumberOfInvestmentVehicles",
      "unitRef": "investment_vehicle",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
     "longName": "0000017 - Disclosure - A. O. Smith Corporation Master Trust - Investments in Master Trust (Details)",
     "shortName": "A. O. Smith Corporation Master Trust - Investments in Master Trust (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "17",
     "firstAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-19",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanMasterTrustTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
     "longName": "0000018 - Disclosure - A. O. Smith Corporation Master Trust - Fair Value of Investments and Investment Income for the Master Trust (Details)",
     "shortName": "A. O. Smith Corporation Master Trust - Fair Value of Investments and Investment Income for the Master Trust (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "18",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-21",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForUnrealizedGainLossOnInvestment",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanMasterTrustTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
     "longName": "0000019 - Disclosure - A. O. Smith Corporation Master Trust - Investments at Fair Value by Classification (Details)",
     "shortName": "A. O. Smith Corporation Master Trust - Investments at Fair Value by Classification (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "19",
     "firstAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-33",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
     "longName": "0000020 - Disclosure - A. O. Smith Corporation Master Trust - Investments Measured at Fair Value Based on NAV Per Share (Details)",
     "shortName": "A. O. Smith Corporation Master Trust - Investments Measured at Fair Value Based on NAV Per Share (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "20",
     "firstAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-47",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
     "longName": "0000021 - Disclosure - Fair value measurements (Details)",
     "shortName": "Fair value measurements (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "21",
     "firstAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-49",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails",
     "longName": "0000022 - Disclosure - Party-in-Interest and Related Party Transactions (Details)",
     "shortName": "Party-in-Interest and Related Party Transactions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "22",
     "firstAnchor": {
      "contextRef": "c-3",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-61",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentNumberOfShares",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "0",
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails",
     "longName": "0000023 - Disclosure - Schedule H, line 4i - Schedule of Assets Held (at End of Year) (Details)",
     "shortName": "Schedule H, line 4i - Schedule of Assets Held (at End of Year) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "23",
     "firstAnchor": {
      "contextRef": "c-2",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "aos-20260626.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.aosmith.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amendment Flag",
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "CashAndCashEquivalentsMember",
     "presentation": [
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash",
        "label": "Cash and Cash Equivalents [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CorporateBondSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "CorporateBondSecuritiesMember",
     "presentation": [
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Corporate Bonds",
        "label": "Corporate Bond Securities [Member]"
       }
      }
     },
     "auth_ref": [
      "r118",
      "r124",
      "r130",
      "r134",
      "r135",
      "r136"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedBenefitPlanCommonCollectiveTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "DefinedBenefitPlanCommonCollectiveTrustMember",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common/Collective trusts",
        "label": "Common Collective Trust [Member]"
       }
      }
     },
     "auth_ref": [
      "r115",
      "r124",
      "r127",
      "r134"
     ]
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.aosmith.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Information [Line Items]",
        "label": "Document Information [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "DocumentInformationTable",
     "presentation": [
      "http://www.aosmith.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Information [Table]",
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "DocumentType",
     "presentation": [
      "http://www.aosmith.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Type",
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBP018Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBP018Member",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrust",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables",
      "http://www.aosmith.com/role/Cover",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies",
      "http://www.aosmith.com/role/Fairvaluemeasurements",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsTables",
      "http://www.aosmith.com/role/IncomeTaxStatus",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails",
      "http://www.aosmith.com/role/PlanTermination",
      "http://www.aosmith.com/role/RisksandUncertainties",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails",
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP 018",
        "label": "EBP 018 [Member]",
        "documentation": "EBP 018"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPAssetHeldForInvestmentParticipantLoanCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPAssetHeldForInvestmentParticipantLoanCost",
     "crdr": "debit",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Participant loan, cost",
        "label": "EBP, Asset Held for Investment, Participant Loan, Cost",
        "documentation": "EBP, Asset Held for Investment, Participant Loan, Cost"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPChangeInNetAssetAvailableForBenefitIncludingPlanTransfersIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPChangeInNetAssetAvailableForBenefitIncludingPlanTransfersIncreaseDecrease",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Change in net assets available for benefits",
        "label": "EBP, Change in Net Asset Available for Benefit, Including Plan Transfers, Increase (Decrease)",
        "documentation": "EBP, Change in Net Asset Available for Benefit, Including Plan Transfers, Increase (Decrease)"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionAnnualCompensationToTotalCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionAnnualCompensationToTotalCompensationPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Annual non-elective employer contribution",
        "label": "EBP, Employer Contribution, Annual Compensation To Total Compensation, Percentage",
        "documentation": "EBP, Employer Contribution, Annual Compensation To Total Compensation, Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionEligibleCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionEligibleCompensationPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Eligible compensation percentage",
        "label": "EBP, Employer Contribution, Eligible Compensation, Percentage",
        "documentation": "EBP, Employer Contribution, Eligible Compensation, Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Employer Contribution",
        "label": "EBP, Employer Contribution [Member]",
        "documentation": "EBP, Employer Contribution"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionTrancheOneMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Employer Contribution, Tranche One",
        "label": "EBP, Employer Contribution, Tranche One [Member]",
        "documentation": "EBP, Employer Contribution, Tranche One"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionTrancheTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionTrancheTwoMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Employer Contribution, Tranche Two",
        "label": "EBP, Employer Contribution, Tranche Two [Member]",
        "documentation": "EBP, Employer Contribution, Tranche Two"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionTypeAxis",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Employer Contribution, Type [Axis]",
        "label": "EBP, Employer Contribution, Type [Axis]",
        "documentation": "EBP, Employer Contribution, Type"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionTypeDomain",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Employer Contribution, Type [Domain]",
        "label": "EBP, Employer Contribution, Type [Domain]",
        "documentation": "EBP, Employer Contribution, Type [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionVestingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionVestingPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting percentage",
        "label": "EBP, Employer Contribution Vesting Percentage",
        "documentation": "Company contribution and/ or investment earning percentage vesting to the participant in Company Matching Contributions, Fixed Rate Contributions, Discretionary Profit-Sharing Contributions, Qualified Non-Elective Contributions, and Disability Contributions, upon completion of minimum service period or attainment of maximum vesting age"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerContributionVestingServicePeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerContributionVestingServicePeriod",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting period",
        "label": "EBP, Employer Contribution Vesting Service Period",
        "documentation": "Minimum Vesting service period for company contribution and/ or investment earning to the participant in Company Matching Contributions, Fixed Rate Contributions, Discretionary Profit-Sharing Contributions, Qualified Non-Elective Contributions, and Disability Contributions."
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPEmployerMatchingContributionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPEmployerMatchingContributionMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Employer Matching Contribution",
        "label": "EBP, Employer Matching Contribution [Member]",
        "documentation": "EBP, Employer Matching Contribution"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPInvoluntaryCashOutLimit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPInvoluntaryCashOutLimit",
     "crdr": "credit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Involuntary cash-out limit",
        "label": "EBP, Involuntary Cash-out Limit",
        "documentation": "EBP, Involuntary Cash-out Limit"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPNumberOfInvestmentVehicles": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPNumberOfInvestmentVehicles",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Number Of Investment Vehicles",
        "label": "EBP, Number Of Investment Vehicles",
        "documentation": "EBP, Number Of Investment Vehicles"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPParticipantContributionBeforeTaxAndAfterTaxMaximumAnnualContributionToEligibleCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPParticipantContributionBeforeTaxAndAfterTaxMaximumAnnualContributionToEligibleCompensationPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contributions, up to",
        "label": "EBP, Participant Contribution, Before-Tax And After-Tax, Maximum Annual Contribution to Eligible Compensation, Percentage",
        "documentation": "EBP, Participant Contribution, Before-Tax And After-Tax, Maximum Annual Contribution to Eligible Compensation, Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPParticipantContributionBeforeTaxAndAfterTaxMinimumAnnualContributionToEligibleCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPParticipantContributionBeforeTaxAndAfterTaxMinimumAnnualContributionToEligibleCompensationPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contributions, not less than",
        "label": "EBP, Participant Contribution, Before-Tax And After-Tax, Minimum Annual Contribution to Eligible Compensation, Percentage",
        "documentation": "EBP, Participant Contribution, Before-Tax And After-Tax, Minimum Annual Contribution to Eligible Compensation, Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPParticipantContributionsWithdrawalPeriodFromCommencement": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPParticipantContributionsWithdrawalPeriodFromCommencement",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Period from commencement for lump sum distributions",
        "label": "EBP, Participant Contributions, Withdrawal Period from Commencement",
        "documentation": "EBP, Participant Contributions, Withdrawal Period from Commencement"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPParticipantPaidAdministrativeExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPParticipantPaidAdministrativeExpenses",
     "crdr": "debit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Administrative expenses",
        "label": "EBP, Participant Paid Administrative Expenses",
        "documentation": "EBP, Participant Paid Administrative Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPQualifiedNonElectiveContributionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPQualifiedNonElectiveContributionsMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Qualified Non-Elective Contributions",
        "label": "EBP, Qualified Non-Elective Contributions [Member]",
        "documentation": "EBP, Qualified Non-Elective Contributions"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPReclassificationsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPReclassificationsPolicyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reclassifications",
        "label": "EBP, Reclassifications [Policy Text Block]",
        "documentation": "EBP, Reclassifications"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPRequisiteHoursOfService": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPRequisiteHoursOfService",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Requisite hours of service",
        "label": "EBP, Requisite Hours Of Service",
        "documentation": "EBP, Requisite Hours Of Service"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPRequisiteServicePeriodConsecutiveMonths": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPRequisiteServicePeriodConsecutiveMonths",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Requisite service period",
        "label": "EBP, Requisite Service Period, Consecutive Months",
        "documentation": "EBP, Requisite Service Period, Consecutive Months"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPRetirementAge": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPRetirementAge",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retirement age",
        "label": "EBP, Retirement Age",
        "documentation": "EBP, Retirement Age"
       }
      }
     },
     "auth_ref": []
    },
    "aos_EBPWithdrawalServicePeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "EBPWithdrawalServicePeriod",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Withdrawal service period",
        "label": "EBP, Withdrawal Service Period",
        "documentation": "EBP, Withdrawal Service Period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpRiskAndUncertaintyLineItems",
     "presentation": [
      "http://www.aosmith.com/role/RisksandUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Risk and Uncertainty [Line Items]",
        "label": "EBP, Risk and Uncertainty [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r155"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpRiskAndUncertaintyTable",
     "presentation": [
      "http://www.aosmith.com/role/RisksandUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Risk and Uncertainty [Table]",
        "label": "EBP, Risk and Uncertainty [Table]",
        "documentation": "Disclosure of information about risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r155"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetAbstract",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets:",
        "label": "EBP, Asset [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution",
     "crdr": "debit",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Participant loan, current value",
        "label": "EBP, Asset Held for Investment, Participant Loan, after Deemed Distribution",
        "documentation": "Amount, after deemed distribution, of participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r147"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Decreases:",
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant",
     "crdr": "credit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Benefit and withdrawal payments",
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant",
        "documentation": "Amount of decrease in net asset available for benefit from payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, withdrawal."
       }
      }
     },
     "auth_ref": [
      "r56",
      "r83",
      "r89",
      "r98",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total increases",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase",
        "documentation": "Amount of increase in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increases (Decreases):",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "aos_EBPChangeInNetAssetAvailableForBenefitIncludingPlanTransfersIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Change in net assets available before transfers",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease)",
        "documentation": "Amount of increase (decrease) in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r89",
      "r135",
      "r173"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForChangeInPlanInterestInMasterTrust": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForChangeInPlanInterestInMasterTrust",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in plan interest in A.O. Smith Corporation Master Trust (Note 2)",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Change in Plan Interest in Master Trust",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from increase (decrease) in plan interest in master trust held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net appreciation in fair value of investments",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from realized and unrealized gain (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r54",
      "r102",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from income (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForUnrealizedGainLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForUnrealizedGainLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net appreciation in fair value of investments",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Unrealized Gain (Loss) on Investment",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from unrealized gain (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r81",
      "r82",
      "r177"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total contributions",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution",
        "documentation": "Amount of increase in net asset available for benefit from contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contributions:",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionCash",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Company",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash",
        "documentation": "Amount of increase in net asset available for benefit from cash contribution from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest and dividends",
        "verboseLabel": "Investment Income",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment",
        "documentation": "Amount of increase in net asset available for benefit from interest and dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r103"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income from participant loans",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest Income on Note Receivable from Participant",
        "documentation": "Amount of increase in net asset available for benefit from interest income on note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Participants",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Excluding Rollover",
        "documentation": "Amount, excluding rollover, of increase in net asset available for benefit from contribution by participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r139",
      "r140",
      "r141",
      "r165",
      "r166"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Rollovers",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Rollover",
        "documentation": "Amount of increase in net asset available for benefit from contribution transferred from another qualified plan or from individual retirement account of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Excludes contribution for participant transmitted by employer of participant in EBP."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r139",
      "r140",
      "r141",
      "r165",
      "r166"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitTransferToFromExternalPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitTransferToFromExternalPlan",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits": {
       "parentTag": "aos_EBPChangeInNetAssetAvailableForBenefitIncludingPlanTransfersIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfers from other plans",
        "label": "EBP, Change in Net Asset Available for Benefit, Transfer to (from) Plan",
        "documentation": "Amount of net asset available for benefit transferred to (from) employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) from (to) external plan."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r135",
      "r158",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan and Accounting Change [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanLineItems",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies",
      "http://www.aosmith.com/role/PlanTermination"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Description of Plan [Line Items]",
        "label": "EBP, Description of Plan [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTable",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies",
      "http://www.aosmith.com/role/PlanTermination"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Description of Plan [Table]",
        "label": "EBP, Description of Plan [Table]",
        "documentation": "Disclosure of information about description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Description of Plan and Significant Accounting Policies",
        "label": "EBP, Description of Plan [Text Block]",
        "documentation": "The entire disclosure for description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, vesting and allocation provisions and disposition of forfeiture."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r58",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerCommonStockMember",
     "presentation": [
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stocks",
        "label": "EBP, Employer, Common Stock [Member]",
        "documentation": "Common stock issued by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r119",
      "r155",
      "r161",
      "r163",
      "r164",
      "r174",
      "r179",
      "r180"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerContributionMatchingPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Matching percentage",
        "label": "EBP, Employer Contribution, Matching Percentage",
        "documentation": "Percentage of employer matching contribution on eligible participant contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Participant compensation matched, percentage",
        "label": "EBP, Employer Contribution, Participant Compensation Matched, Percentage",
        "documentation": "Percentage of participant compensation eligible for employer matching contribution for participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerContributionReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Company contributions",
        "label": "EBP, Employer Contribution, Receivable",
        "documentation": "Amount of contribution receivable from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r90",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanExpensePolicyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Administrative Expenses",
        "label": "EBP, Expense [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForfeitedNonvestedAccount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanForfeitedNonvestedAccount",
     "crdr": "debit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forfeited nonvested account",
        "label": "EBP, Forfeited Nonvested Account",
        "documentation": "Amount of plan asset, in forfeited nonvested account, no longer allocated to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForfeitedNonvestedAccountDecreaseForAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanForfeitedNonvestedAccountDecreaseForAdministrativeExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forfeited nonvested account, decrease from administrative expense",
        "label": "EBP, Forfeited Nonvested Account, Decrease from Administrative Expense",
        "documentation": "Amount of decrease in forfeited nonvested account of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) from administrative expense."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r84"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForfeitedNonvestedAccountDecreaseForEmployerContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanForfeitedNonvestedAccountDecreaseForEmployerContribution",
     "crdr": "credit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forfeited nonvested account, decrease from employer contribution",
        "label": "EBP, Forfeited Nonvested Account, Decrease from Employer Contribution",
        "documentation": "Amount of decrease in forfeited nonvested account of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) from employer contribution."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r84",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInterestInMasterTrustPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInterestInMasterTrustPercentage",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest in PepsiCo Master Trust",
        "label": "EBP, Interest in Master Trust, Percentage",
        "documentation": "Percentage of plan interest in master trust held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, undivided interest in master trust."
       }
      }
     },
     "auth_ref": [
      "r105"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments at Fair Value",
        "label": "EBP, Investment, Excluding Plan Interest in Master Trust, Fair Value",
        "documentation": "Fair value of investment, excluding plan interest in master trust, held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract not meeting fully-benefit responsive investment criteria."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r16",
      "r17",
      "r24",
      "r25",
      "r27",
      "r28",
      "r35",
      "r36",
      "r38",
      "r93",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total investments",
        "terseLabel": "Total investments",
        "label": "EBP, Investment, Fair Value",
        "documentation": "Fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract not meeting fully-benefit responsive investment criteria."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r16",
      "r17",
      "r24",
      "r25",
      "r27",
      "r28",
      "r35",
      "r36",
      "r38",
      "r64",
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r93",
      "r100",
      "r106",
      "r107",
      "r108",
      "r125",
      "r126",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r136",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavLineItems",
     "presentation": [
      "http://www.aosmith.com/role/Fairvaluemeasurements",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Investment, Fair Value and NAV [Line Items]",
        "label": "EBP, Investment, Fair Value and NAV [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r61",
      "r80",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTable",
     "presentation": [
      "http://www.aosmith.com/role/Fairvaluemeasurements",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Investment, Fair Value and NAV [Table]",
        "label": "EBP, Investment, Fair Value and NAV [Table]",
        "documentation": "Disclosure of information about fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r61",
      "r80",
      "r96",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables",
      "http://www.aosmith.com/role/FairvaluemeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Classification of Investments at Fair Value by Classification",
        "label": "EBP, Investment, Fair Value and NAV [Table Text Block]",
        "documentation": "Tabular disclosure of fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r34",
      "r36",
      "r37",
      "r45",
      "r135",
      "r171",
      "r172",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/Fairvaluemeasurements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value measurements",
        "label": "EBP, Investment, Fair Value and NAV [Text Block]",
        "documentation": "The entire disclosure for fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r31",
      "r32",
      "r35",
      "r36",
      "r38",
      "r41",
      "r42",
      "r43",
      "r44",
      "r61",
      "r80",
      "r82",
      "r93",
      "r94",
      "r135",
      "r138"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfShares",
     "presentation": [
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of Shares/Units (in shares)",
        "label": "EBP, Investment, Number of Shares",
        "documentation": "Number of shares or units of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r62",
      "r87",
      "r145",
      "r149",
      "r150",
      "r151",
      "r153"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan interest in A.O. Smith Corporation Master Trust at Fair Value",
        "label": "EBP, Investment, Plan Interest in Master Trust, Fair Value",
        "documentation": "Fair value of plan interest in master trust held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r70",
      "r136",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentPolicyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Valuation",
        "label": "EBP, Investment [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r96",
      "r97",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanMasterTrustAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanMasterTrustAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Master Trust [Abstract]",
        "label": "EBP, Master Trust [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanMasterTrustLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanMasterTrustLineItems",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrust",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Master Trust [Line Items]",
        "label": "EBP, Master Trust [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r102",
      "r103",
      "r106",
      "r108",
      "r109",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanMasterTrustTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanMasterTrustTable",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrust",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Master Trust [Table]",
        "label": "EBP, Master Trust [Table]",
        "documentation": "Disclosure of information about master trust arrangement in which employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) participates."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r102",
      "r103",
      "r106",
      "r108",
      "r109",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanMasterTrustTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanMasterTrustTableTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Master Trust Net Assets",
        "label": "EBP, Master Trust [Table Text Block]",
        "documentation": "Tabular disclosure of master trust arrangement in which employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) participates."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r34",
      "r36",
      "r136",
      "r176",
      "r178",
      "r180",
      "r181"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanMasterTrustTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanMasterTrustTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrust"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "A. O. Smith Corporation Master Trust",
        "label": "EBP, Master Trust [Text Block]",
        "documentation": "The entire disclosure for master trust arrangement in which employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) participates."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r31",
      "r32",
      "r33",
      "r35",
      "r36",
      "r38",
      "r41",
      "r42",
      "r43",
      "r44",
      "r101",
      "r104",
      "r106",
      "r108",
      "r109",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net assets available for benefits",
        "periodStartLabel": "Beginning of year",
        "periodEndLabel": "End of year",
        "label": "EBP, Net Asset Available for Benefit",
        "documentation": "Amount of asset less liability available to pay benefit of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, aggregation of participants' individual account balances."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r53",
      "r75",
      "r85",
      "r86",
      "r95",
      "r110",
      "r135",
      "r136",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefitAbstract",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net assets available for benefits:",
        "label": "EBP, Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNonconsolidatedMasterTrustAndPlanInterestInMasterTrustAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNonconsolidatedMasterTrustAndPlanInterestInMasterTrustAxis",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Nonconsolidated, Master Trust and Plan Interest in Master Trust [Axis]",
        "label": "EBP, Nonconsolidated, Master Trust and Plan Interest in Master Trust [Axis]",
        "documentation": "Information by master trust and plan interest in master trust for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) reported in note to financial statement. Excludes plan interest in master trust information reported in statement of net asset available for benefit and statement of change in net asset available for benefit."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r102",
      "r103",
      "r106",
      "r108",
      "r109",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNonconsolidatedMasterTrustAndPlanInterestInMasterTrustDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNonconsolidatedMasterTrustAndPlanInterestInMasterTrustDomain",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Nonconsolidated, Master Trust and Plan Interest in Master Trust [Domain]",
        "label": "EBP, Nonconsolidated, Master Trust and Plan Interest in Master Trust [Domain]",
        "documentation": "Master trust and plan interest in master trust for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) reported in note to financial statement. Excludes plan interest in master trust information reported in statement of net asset available for benefit and statement of change in net asset available for benefit."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r102",
      "r103",
      "r106",
      "r108",
      "r109",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNonconsolidatedMasterTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNonconsolidatedMasterTrustMember",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Master Trust",
        "label": "EBP, Nonconsolidated, Master Trust [Member]",
        "documentation": "Master trust in which employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) participates that is reported in note to financial statement. Excludes plan interest in master trust information reported in statement of net asset available for benefit and statement of change in net asset available for benefit."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r102",
      "r103",
      "r106",
      "r109",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNonconsolidatedPlanInterestInMasterTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNonconsolidatedPlanInterestInMasterTrustMember",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan Interest",
        "label": "EBP, Nonconsolidated, Plan Interest in Master Trust [Member]",
        "documentation": "Plan interest in master trust for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) that is reported in note to financial statement. Excludes plan interest in master trust information reported in statement of net asset available for benefit and statement of change in net asset available for benefit."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r108",
      "r109",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipant",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes receivable from participants",
        "label": "EBP, Note Receivable from Participant",
        "documentation": "Amount of unpaid principal plus accrued but unpaid interest for loan from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r91",
      "r135",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum borrowing, amount",
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, Amount",
        "documentation": "Amount of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum borrowing, to total account, percentage",
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, to Total Account, Percentage",
        "documentation": "Percentage of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow to total participant account balance."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum borrowing, amount",
        "label": "EBP, Note Receivable from Participant, Account, Minimum Borrowing, Amount",
        "documentation": "Amount of minimum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pretax, maximum annual compensation to total compensation, percentage",
        "label": "EBP, Participant Contribution, Pretax, Maximum Annual Compensation to Total Compensation, Percentage",
        "documentation": "Percentage of maximum pretax annual compensation that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), is permitted to contribute to total pretax annual compensation."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanParticipantContributionReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Participant contributions",
        "label": "EBP, Participant Contribution, Receivable",
        "documentation": "Amount of contribution receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r90",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanParticipantLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Benefits payable",
        "label": "EBP, Liability to Participant",
        "documentation": "Amount of liability to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r74"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanParticipantLoanInterestRate",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Participant loan, interest rate",
        "label": "EBP, Asset Held for Investment, Participant Loan, Interest Rate",
        "documentation": "Interest rate on participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r147"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Payment of Benefits",
        "label": "EBP, Payment to Participant [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPlanNumber": {
     "xbrltype": "threeDigitItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanPlanNumber",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan number",
        "label": "EBP, Plan Number",
        "documentation": "Plan number of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in three-digit numeric format."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r148",
      "r150",
      "r151",
      "r152",
      "r154",
      "r167",
      "r168",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPlanTerminationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanPlanTerminationTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/PlanTermination"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan Termination",
        "label": "EBP, Plan Termination [Text Block]",
        "documentation": "The entire disclosure for terminating employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, plan under which participant no longer accrues benefit but remains in existence to pay already accrued benefit."
       }
      }
     },
     "auth_ref": [
      "r111",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total receivables",
        "label": "EBP, Receivable",
        "documentation": "Amount of receivable of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanReceivableAbstract",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Receivables:",
        "label": "EBP, Receivable [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems",
     "presentation": [
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Related Party and Party-in-Interest Transactions [Line Items]",
        "label": "EBP, Related Party and Party-in-Interest Transactions [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r160",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable",
     "presentation": [
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Related Party and Party-in-Interest Transactions [Table]",
        "label": "EBP, Related Party and Party-in-Interest Transactions [Table]",
        "documentation": "Disclosure of information about related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r160",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Party-in-Interest and Related Party Transactions",
        "label": "EBP, Related Party and Party-in-Interest Transactions [Text Block]",
        "documentation": "The entire disclosure for related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r48",
      "r49",
      "r50",
      "r51",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/RisksandUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Risks and Uncertainties",
        "label": "EBP, Risk and Uncertainty [Text Block]",
        "documentation": "The entire disclosure for risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r11",
      "r13",
      "r46",
      "r47",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Schedule of Asset Held for Investment [Line Items]",
        "label": "EBP, Schedule of Asset Held for Investment [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r144",
      "r145",
      "r146",
      "r147"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Schedule of Asset Held for Investment [Table]",
        "label": "EBP, Schedule of Asset Held for Investment [Table]",
        "documentation": "Disclosure of information about schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r144",
      "r145",
      "r146",
      "r147"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule H, Line 4i \u2013 Schedule of Assets (Held At End of Year)",
        "label": "EBP, Schedule of Asset Held for Investment [Text Block]",
        "documentation": "The entire disclosure for schedule of asset held for investment for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r167"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Statement of Change in Net Asset Available for Benefit [Line Items]",
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r78",
      "r79",
      "r95"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Statement of Change in Net Asset Available for Benefit [Table]",
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about change in net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r78",
      "r79",
      "r95"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Statement of Net Asset Available for Benefit [Line Items]",
        "label": "EBP, Statement of Net Asset Available for Benefit [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r71",
      "r72",
      "r73",
      "r74",
      "r93",
      "r95",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Statement of Net Asset Available for Benefit [Table]",
        "label": "EBP, Statement of Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r71",
      "r72",
      "r73",
      "r74",
      "r93",
      "r95",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSubsequentEventPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanSubsequentEventPolicyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Events",
        "label": "EBP, Subsequent Event [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for reporting subsequent event in financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusLineItems",
     "presentation": [
      "http://www.aosmith.com/role/IncomeTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Tax Status [Line Items]",
        "label": "EBP, Tax Status [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r159"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusTable",
     "presentation": [
      "http://www.aosmith.com/role/IncomeTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBP, Tax Status [Table]",
        "label": "EBP, Tax Status [Table]",
        "documentation": "Disclosure of information about tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r159"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/IncomeTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax Status",
        "label": "EBP, Tax Status [Text Block]",
        "documentation": "The entire disclosure for tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r63",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanUseOfEstimatePolicyTextBlock",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Use of Estimates",
        "label": "EBP, Use of Estimate [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for use of estimate in preparation of financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r6",
      "r8",
      "r9",
      "r10",
      "r12",
      "r135"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.aosmith.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Central Index Key",
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r137"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrust",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables",
      "http://www.aosmith.com/role/Cover",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies",
      "http://www.aosmith.com/role/Fairvaluemeasurements",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsTables",
      "http://www.aosmith.com/role/IncomeTaxStatus",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails",
      "http://www.aosmith.com/role/PlanTermination",
      "http://www.aosmith.com/role/RisksandUncertainties",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails",
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity [Domain]",
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.aosmith.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Registrant Name",
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r137"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity tax identification number",
        "label": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r137"
     ]
    },
    "us-gaap_EquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "EquitySecuritiesMember",
     "presentation": [
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equities",
        "label": "Equity Securities [Member]"
       }
      }
     },
     "auth_ref": [
      "r162",
      "r167"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]",
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r94",
      "r135"
     ]
    },
    "us-gaap_FairValueInputsLevel12And3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueInputsLevel12And3Member",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total",
        "label": "Fair Value, Inputs, Level 1, Level 2, and Level 3 [Member]"
       }
      }
     },
     "auth_ref": [
      "r156",
      "r172",
      "r174"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 1",
        "label": "Fair Value, Inputs, Level 1 [Member]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r35",
      "r123",
      "r135"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 2",
        "label": "Fair Value, Inputs, Level 2 [Member]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r35",
      "r123",
      "r135"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 3",
        "label": "Fair Value, Inputs, Level 3 [Member]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r123",
      "r135"
     ]
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NAV",
        "label": "Fair Value Measured at Net Asset Value Per Share [Member]"
       }
      }
     },
     "auth_ref": [
      "r38",
      "r123"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r94",
      "r135"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type [Axis]",
        "label": "Investment Type [Axis]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r61",
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r76",
      "r77",
      "r78",
      "r79",
      "r80",
      "r87",
      "r93",
      "r99",
      "r106",
      "r108",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r135",
      "r136",
      "r147",
      "r155",
      "r168"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments [Domain]",
        "label": "Investments [Domain]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r35",
      "r36",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r44",
      "r61",
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r76",
      "r77",
      "r78",
      "r79",
      "r80",
      "r87",
      "r93",
      "r99",
      "r106",
      "r108",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r135",
      "r136",
      "r147",
      "r155",
      "r168"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrust",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustAdditionalInformationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustFairValueofInvestmentsandInvestmentIncomefortheMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsMeasuredatFairValueBasedonNAVPerShareDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustTables",
      "http://www.aosmith.com/role/Cover",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPolicies",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails",
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesPolicies",
      "http://www.aosmith.com/role/Fairvaluemeasurements",
      "http://www.aosmith.com/role/FairvaluemeasurementsDetails",
      "http://www.aosmith.com/role/FairvaluemeasurementsTables",
      "http://www.aosmith.com/role/IncomeTaxStatus",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactions",
      "http://www.aosmith.com/role/PartyinInterestandRelatedPartyTransactionsDetails",
      "http://www.aosmith.com/role/PlanTermination",
      "http://www.aosmith.com/role/RisksandUncertainties",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYear",
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails",
      "http://www.aosmith.com/role/StatementsofChangesinNetAssetsAvailableforBenefits",
      "http://www.aosmith.com/role/StatementsofNetAssetsAvailableforBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Legal Entity [Axis]",
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum",
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r135",
      "r147",
      "r167"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum",
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r135",
      "r147",
      "r167"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "MutualFundMember",
     "presentation": [
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsatFairValuebyClassificationDetails",
      "http://www.aosmith.com/role/AOSmithCorporationMasterTrustInvestmentsinMasterTrustDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mutual Funds",
        "label": "Mutual Fund [Member]"
       }
      }
     },
     "auth_ref": [
      "r113",
      "r124",
      "r125",
      "r134",
      "r135",
      "r136"
     ]
    },
    "aos_NonUnionEmployeesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "NonUnionEmployeesMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Union Employees",
        "label": "Non-Union Employees [Member]",
        "documentation": "Non-Union Employees"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement [Axis]",
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r135",
      "r147",
      "r167"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "RangeMember",
     "presentation": [
      "http://www.aosmith.com/role/ScheduleHline4iScheduleofAssetsHeldatEndofYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement [Domain]",
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r135",
      "r147",
      "r167"
     ]
    },
    "us-gaap_TextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "TextBlockAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Text Block [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "aos_UnionEmployeesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.aosmith.com/20260626",
     "localname": "UnionEmployeesMember",
     "presentation": [
      "http://www.aosmith.com/role/DescriptionofPlanandSignificantAccountingPoliciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Union Employees",
        "label": "Union Employees [Member]",
        "documentation": "Union Employees"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SAB Topic 11.M)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-6"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-12"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-2A"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-4"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-6"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-8"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-20"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-10"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-8"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(5)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-1"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-2"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478844/962-325-35-1B"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2A"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-5"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8C"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479750/962-40-25-1"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479684/962-40-50-1"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-17"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-18"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-23"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r142": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r143": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r144": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r145": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r146": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r147": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r148": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r149": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r150": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r151": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(4)",
   "Publisher": "DOL-EBSA"
  },
  "r152": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r153": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r154": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r155": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r156": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r157": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r158": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r159": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r160": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r161": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r162": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r163": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r164": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r165": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r166": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r167": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r168": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r169": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r170": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479143/962-235-S50-1"
  },
  "r171": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r172": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r173": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r174": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r175": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r176": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r177": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r178": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r179": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r180": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r181": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8C"
  }
 }
}
