I don't think it says anywhere in the Bible that tithing should be calculated on a before-tax basis.

Richard Thaler Where Think Thing