Debts owed to you (that you expect to recover) are added to your Zakat-able assets; debts you owe others are deducted before checking the Nisab.
Loans you've given, or money genuinely due to you, that you reasonably expect to be repaid.
Short-term debts and bills currently due, deducted from your Zakat-able wealth.
Add this net figure to your other Zakat-able wealth (cash, gold, silver, business assets) using the full Zakat Calculator, then compare the combined total to the Nisab. Debts you do not realistically expect to recover (bad debts) are generally not counted as assets until actually received — please confirm uncertain cases with a qualified local scholar.