If I were to donate some clothing, would the write-off be deducted from my pre-tax income or taxes owed?

If I were to donate clothing, and got a slip saying that I had donated $500, would this be off your pre-tax income or would it be off the taxes owed?