In keeping with current accounting guidance, since January 2018 we have amortized sales commissions for our license-based products over the shorter of the weighted-average customer life or the useful life of our software, which we estimate to be 36 months, with costs aggregated by legal entity on a geographical basis.
We apply the accounting guidance across our legal entities. As of year-end (December 31) 2018, 2019, 2020, and 2021, our weighted-average customer life was between two and three years for at least one legal entity or geography and, as a result, we amortized sales commissions over a period of two to three years for these legal entities and geographies (based on the weighted-average customer life). We amortized sales commissions over a period of three years for legal entities and geographies, which had a weighted-average customer life of more than three years. As of year-end 2022 and 2023, our weighted average customer life exceeded three years across legal entities and geographies, and as a result, the period of transfer was approximately three years, consistent with the useful life of our software. Across the business there is no difference in how we amortize sales commissions directly attributable to obtaining a customer contract; these generally relate to license-based products. Sales commissions, which are not considered directly attributable to obtaining a customer contract, generally related to non-license-based products, are expensed as incurred.