| **Commitment and Contingencies (Details) - USD ($) $ in Millions** | Jun. 30, 2023 | Dec. 31, 2022 |
|--------------------------------------------------------------------|---------------|---------------|
| **Commitments and Contingencies [Line Items]**                     |          |          |
| Distributor rebate accruals                                        | $ 1.0         | $ 1.1         |
| Repurchase of inventory                                            |          |          |
| **Commitments and Contingencies [Line Items]**                     |          |          |
| Other commitment                                                   | $ 2.1         | $ 2.4         |

| X                                                                                                                                                                                                                                                              |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Commitments and Contingencies [Line Items]
+ References
No definition available.
+ Details**Name:**aos_CommitmentsAndContingenciesLineItems**Namespace Prefix:**aos_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Represents distributor rebate accruals.
+ References
No definition available.
+ Details**Name:**aos_DistributorRebateAccruals**Namespace Prefix:**aos_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions.
+ References
No definition available.
+ Details**Name:**us-gaap_OtherCommitment**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_OtherCommitmentsAxis=aos_RepurchaseOfInventoryMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |