High bank leverage is commonly considered a major threat to financial stability. We build a structural credit model to … calculate the optimal leverage for a bank that provides asset backed loans, such as corporate loans and mortgages. The bank …'s assets are loans, which means that the bank's exposure to risk is mitigated by the borrower's equity. We capture the effect …