Capital Gains from Property Sold Out of State

I sold real estate in another state in 2024 and thus have a capital gain to report. I understand that I won’t owe a capital gain tax if my adjusted gross income is less than $94,500. However, it appears my income will be slightly above that amount. How do I determine how much additional withholding I must do to avoid a penalty? I think I need to make a payment to my home state of California as well. The property was sold in Hawaii, and that state has already withheld 7.25% from the property sale.