I develop a structural model to quantify the costs of tax avoidance. In the model, the firm trades off tax savings with tax-audit risk, financial-reporting benefits, and non-tax costs (which affect pre-tax income). The comparative statics suggest tax avoidance is path-dependent, which can help...