An S corporation can deduct these contributions in an amount up to 50 percent of adjusted gross income, minus the deductions for all other charitable contributions.