| **CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) - $ / shares** | Mar. 31, 2022 | Dec. 31, 2021 |
|------------------------------------------------------------------------|---------------|---------------|
| Class A Common Stock                                                   |          |          |
| Common Stock, par value (in USD per share)                             | $ 5           | $ 5           |
| Common Stock, shares authorized (in shares)                            | 27,000,000    | 27,000,000    |
| Common Stock, shares issued (in shares)                                | 26,103,785    | 26,104,441    |
| Common Stock                                                           |          |          |
| Common Stock, par value (in USD per share)                             | $ 1           | $ 1           |
| Common Stock, shares authorized (in shares)                            | 240,000,000   | 240,000,000   |
| Common Stock, shares issued (in shares)                                | 164,603,809   | 164,603,153   |

| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Face amount or stated value per share of common stock.
+ References
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682
+ Details**Name:**us-gaap_CommonStockParOrStatedValuePerShare**Namespace Prefix:**us-gaap_**Data Type:**dtr-types:perShareItemType**Balance Type:**na**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The maximum number of common shares permitted to be issued by an entity's charter and bylaws.
+ References
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682
+ Details**Name:**us-gaap_CommonStockSharesAuthorized**Namespace Prefix:**us-gaap_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.
+ References
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682
+ Details**Name:**us-gaap_CommonStockSharesIssued**Namespace Prefix:**us-gaap_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**instant |
| X                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                             |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_StatementClassOfStockAxis=aos_CommonStockClassUndefinedMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |