Here is how to calculate unused credit:
Total Asset-Based Line Size - Funds Borrowed = Unused Credit