It is total revenue minus total cost. It is the amount on which the tax is levied.
https://thelawdictionary.org/profit/