You are correct. The interest is written off as expense on the corporation side but it’s taxed as income on the personal side. Assuming you don’t have other income and are married, paying tax on the personal side is better up to about $204,000 ($178,150 marginal rate is 22% + $25,900 standard deduction vs. corp rate of 21%).
You will have to give yourself a small salary, and then the rest will be dividends.
IRS publishes a table of rates each month.
Find it here.The rate you are charging yourself needs to be higher than what’s on the table. Type up a loan agreement between yourself and the corp, and just make sure the corp pays you interest each month/quarter.
Edit:
Based on my math, if you do it this way you keep your marginal tax rate at about 36% (21% corp + 15% dividend rate (20% over $501k). It still sucks but it’s better than paying 50%+ if you have another primary income.
I am actually looking into opening a corporation in Singapore as their corp rate is only 17% there. Maybe charge my C Corp for “trading consultation “ and move some money there as a insurance plan before we become a communist country lol