There seems to be a lot of misunderstanding of this tax but I'm reluctant to go into detail myself because there is still quite a bit we don't know.
Firstly, it is a tax on profits. The Feds grab 40% of the sales of each individual mine after state royalties, expenses and other "allowable"...