It should be pre-tax.  And this "20%"  nonsense is... well, nonsense.  10-15% is reasonable and it is ridiculous that as time goes by that industry has increased its expected percentage.  Inflation increases the cost of the meal/service which increases the tip accordingly.  I have yet to see a logical reason why the *percentage* should go up over time.