I once considered calculating it.
Pick a starting point. Say, 1914.
Count all tax revenues in terms of current dollars.
Count all the compliance and regulatory costs.
Add in all the market distortions created by the government. All the businesses NOT created, all the inventions NOT developed, etc...
Then you'd need some way to account for all the foregone opportunity that those dollars could have created over the last 100 years... The dynamics of wealth upon wealth over generations.
I'd say we've pissed away colonies on the moon and Mars at a minimum. Wide scale fusion power? Interstellar travel? A cure for Cancer?
Who knows. But I know this :
The US Government is the most vast waste of wealth in human history.
Retired from government service, I know something about waste.