How to use this calculator
- Enter Interest income ($)。
- Enter Interest expense ($)。
- Enter Average assets ($)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Net interest margin。
What is it
Net Interest Margin — Net interest income over average assets—core bank profitability. Financial-ratio calculators compress balance-sheet and income-statement figures into comparable solvency, efficiency and capital-structure metrics. The core question it answers is: Net interest margin. Income 120k, expense 40k, assets 2M → 4% NIM.
Formula
| Variable | Inputs | Unit |
|---|---|---|
interestIncome | Interest income | $ |
interestExpense | Interest expense | $ |
avgAssets | Average assets | $ |
nim | Net interest margin | % |
nim/100 * avgAssets + interestExpenseinterestIncome - nim/100 * avgAssets(interestIncome - interestExpense) / (nim/100)(interestIncome - interestExpense) / avgAssets * 100The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Interest income = 120000 $
- Interest expense = 40000 $
- Average assets = 2000000 $
Formula used: (interestIncome - interestExpense) / avgAssets * 100
Answer:
- Net interest margin = 4 %
Example 1 (default inputs):Suppose Interest income = 120,000 $, Interest expense = 40,000 $, Average assets = 2.00M $; then giving Net interest margin = 4 %.
Example 2 (one input changed):If you change Interest income to 180,000,giving Net interest margin = 7 %.
Additional information
Assumptions and limitations
- Ratios must be read against industry benchmarks, accounting conventions and period-end timing; a single period is easily distorted by seasonality or one-off items — look at multi-period trends.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.