Effective Tax Rates for M&A Sellers

I am trying to get a better sense of the overall range for the effective tax rate a seller will pay in an M&A deal. I understand the general differences in the tax treatment for an asset deal vs a stock deal but is it fair to say that for almost all M&A deals, the range of the effective total tax paid by the seller will be between 20-35%? I am under the impression it is usually in this range and typically closer to 20% for stock sales since it is long term capital gains and closer to 30% for asset deals depending on the amount of goodwill, inventory, etc. Is it possible however to be like 40% becuase you have to add state tax as well? What is the top of the range?