And now you can see why owners may not want to go over the luxury cap. In three of the four years listed, the tax is greater than the actual salary paid.
Here is something from Hoops Hype on the tax.
https://hoopshype.com/2018/10/11/nba-luxury-tax/