# Loan calculator

> Calculate the monthly payment of a business loan or a mortgage, the total interest and a year-by-year repayment schedule. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/loan-calculator

See what a loan really costs before you sign. Enter the amount, the yearly interest rate and the term to get the monthly payment and how the balance falls each year.

1. Enter the amount you borrow.
2. Enter the yearly interest rate and the term in years.
3. Press Calculate and read the payment and the schedule.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `principal` | number | yes | Amount borrowed. |
| `annual_rate_percent` | number | yes | Interest rate per year (%). |
| `years` | number | yes | Term (years). |

## Example

Input:

```json
{
  "principal": 50000,
  "annual_rate_percent": 6.5,
  "years": 5
}
```

Result:

```json
{
  "monthly_payment": 978.31,
  "total_paid": 58698.44,
  "total_interest": 8698.44,
  "payments": 60,
  "schedule": [
    {
      "year": 1,
      "principal_paid": 8747.23,
      "interest_paid": 2992.46,
      "balance": 41252.77
    },
    {
      "year": 2,
      "principal_paid": 9333.05,
      "interest_paid": 2406.64,
      "balance": 31919.71
    },
    {
      "year": 3,
      "principal_paid": 9958.1,
      "interest_paid": 1781.59,
      "balance": 21961.61
    },
    {
      "year": 4,
      "principal_paid": 10625.02,
      "interest_paid": 1114.67,
      "balance": 11336.59
    },
    {
      "year": 5,
      "principal_paid": 11336.59,
      "interest_paid": 403.1,
      "balance": 0
    }
  ]
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "loan-calculator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/loan-calculator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"principal":50000,"annual_rate_percent":6.5,"years":5}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**How is the monthly payment calculated?**

With the standard amortisation formula: equal payments in which the interest share shrinks and the repayment share grows each month.

**Does it include fees and insurance?**

No. Arrangement fees, insurance and taxes are not in the figure; ask the lender for the APR, which includes them.

**Why is so much of the first payments interest?**

Interest is charged on what you still owe, and at the start that is the whole loan. Paying extra early saves the most.

All free tools: https://orkosi.com/tools.md
