Zakat and Student Loan

I recently heard about the student loan being taken into consideration for Zakat calculation. I do not understand how to calculate how much to deduct from the total zakatable amount. Does the IFG calculator do this for us automatically?