As a highly skilled consultant/freelancer that chargers per project or hourly... could possibly be much more.
This is in the USA btw.
1. If you make it to upper-management (VP of Eng. / CTO, etc) you can expect to make an additional 100k or so.
2. Your "total comp" is going to vary widely. If you're lucky enough to work for a public company who comps you options, the actual value of your package could me many multiples of your salary.