You have to count FICA.
https://smartasset.com/taxes/income-taxes#ETOQK0yg9H
Put in 168,100, SS tax highest income limit. You'll get
for single status: income tax + FICA = 42790 => 25.45% effective tax rate.
for married filing jointly: income tax + FICA = 33873=> 20.15% effective tax rate.
top capital gain is 20% + NIIT 3.8%