If you're filing single the LTCG threshold is $518,900 in 2024. So as an example, if you made $400,000 in income and $118,000 in LTCG that would put you just under the threshold to pay 15%. you'd calculate ordinary income tax on the $400,000 and then you'd pay $118,000x15%=$17,700 in LTCG.
But if you made just $2000 more in LTCG you'd pay much more as you'd be bumped into the higher 20% rate. You'd end up paying $120,000x20%=$24,000 in LTCG taxes, an increase of $6300 in taxes on just and additional $2000 in gains.