They are based on what state (and sometimes what locality).
And we usually know what % to expect.
And we don't expect additional individual fees/taxes above that baseline.
I have NO IDEA what plane tickets cost until I've hit the final checkout, and sometime even then I'm not sure.
This is an "about damn time" rule.