Is this Employee Stock Purchase Plan worth it when adding my student loan into the equation?
In many ESPP programs (i.e. every one I've had the opportunity to be a part of in my career), your purchase is at a discount from the lower of the stock prices at the start and end of the period. So a before-tax 5% return is the minimum you should expect; if the price of the stock appreciates between July 1 and December 31, you benefit from that gain as well. More concretely: Stock closes at $10/share on July 1, and $11/share on December 31. The plan buys for you at $9.50/share. If you sell immediately, you clear $1.50/share in profit, or a nearly 16% pre-tax gain. If the price declines instead of increases, though, you still see that 5% guaranteed profit. Combine that with the fact that you're contributing every paycheck, not all at once at the start, and your implied annual rate of return starts to look pretty good. So if it was me, I'd pay the minimum on the student loan and put the excess into the ESPP.