Ref. No. 39 / 0000 In the name of Allah the most Gracious the most Merciful The answer to your question is as follows: Yes, you can subtract loan amount during calculating Zakat. And Allah knows best
Darul Ifta Darul Uloom Waqf Deoband