curatedapi

ASC 842 lease calculator: finance and operating leases

Lessee accounting under US GAAP ASC 842: lease liability, right-of-use asset and the schedule for a finance or an operating lease.

Lease classification. Options: finance: finance lease; operating: operating lease
The first lease payment. Later payments rise by annual_increase_percent once a year.
How often payments are made. Options: 1: yearly; 2: half-yearly; 4: quarterly; 12: monthly
Number of payments over the lease term.
When each payment is made within its period. Options: arrears: at the end of each period; advance: at the start of each period (the first at commencement)
Annual discount rate: the rate implicit in the lease or your incremental borrowing rate.
How the annual rate becomes a rate per period when payments are more often than yearly. Options: nominal: annual rate ÷ payments a year; effective: (1 + annual rate)^(1 / payments a year) − 1, to 15 decimals
Fixed yearly increase in the payments (each new year's payment is rounded like the results).
Paid at the end of the term: a purchase option you are reasonably certain to exercise, a termination penalty, or the amount expected under a residual value guarantee.
Initial direct costs (added to the asset).
Lease incentives received (taken off the asset).
Lease payments made before commencement, other than the first payment in advance.
Periods to depreciate the asset over: the lease term (the default) or the useful life when ownership transfers or a purchase option is reasonably certain.
Commencement date of the lease.
How the schedule is rounded. Options: ledger: each period's interest and depreciation is rounded and the next period works from the rounded balance, as in a ledger; exact: each balance is the exact balance rounded, and each period's charge is the change in the rounded balances
More options: rounding and decimals
Precision and rounding
Rounding mode applied once to each result. Default half_even.
Round results to this many digits after the decimal point.

Examples

Example: ASC 842 Example 4: operating lease, $10,000 rising 5% a year, 10 years at 6%

Classification
Lease classification.
operating
Periodic rate percent
Discount rate per period, in percent.
6
Initial liability
Lease liability at commencement.
90,434 rounded
Initial ROU asset
Right-of-use asset at commencement.
85,434 rounded
Total payments
All payments in the schedule.
125,779 exact
Total interest
Interest over the term.
35,345 exact
ROU asset end of term
Right-of-use asset left at the end of the term (above 0 when it is depreciated over a longer useful life).
0 exact
Total lease cost
Operating lease: total straight-line lease cost.
120,779 exact

Schedule

PeriodStartEndPaymentInterestLiabilityLease costROU amortizationROU asset
12026-01-012026-12-3110,0005,42685,86012,0786,65278,782
22027-01-012027-12-3110,5005,15280,51212,0786,92671,856
32028-01-012028-12-3111,0254,83174,31812,0787,24764,609
42029-01-012029-12-3111,5764,45967,20112,0787,61956,990
52030-01-012030-12-3112,1554,03259,07812,0788,04648,944
62031-01-012031-12-3112,7633,54549,86012,0778,53240,412
72032-01-012032-12-3113,4012,99239,45112,0789,08631,326
82033-01-012033-12-3114,0712,36727,74712,0789,71121,615
92034-01-012034-12-3114,7751,66514,63712,07810,41311,202
102035-01-012035-12-3115,513876012,07811,2020

Rounding: Half even, 0 decimal places. Calculator accounting/lease/asc842@1.

How it is calculated

liability = Σ payment × (1 + i)^−t; operating cost = (payments + IDC − incentives) / periods

Both classes start the same way: the liability is the present value of the unpaid lease payments, and the right-of-use asset adds initial direct costs and payments made at or before commencement, less incentives received. A finance lease then has interest on the liability and straight-line amortization of the asset. An operating lease has one straight-line lease cost (all payments plus initial direct costs, less incentives, spread evenly), and the asset is reduced by that cost less the interest on the liability (ASC 842-20-25-6 and 35-3).

  • By default (schedule_rounding: ledger) each period's interest and depreciation is rounded and the next period starts from the rounded balance, as when the entries are booked. With schedule_rounding: exact, each balance is the exact balance rounded and each charge is the change between rounded balances. Either way every row adds up and the last row ends at exactly zero; the two can differ by one unit in a period. The FASB's ASC 842 examples round the first way, the IASB's IFRS 16 examples and HMRC's the second.
  • Not covered: variable payments, remeasurement after a change in the lease, short-term and low-value exemptions, and sale-and-leaseback.
  • Asset retirement obligations are outside ASC 842 (ASC 410) and are not added to the asset here.

References

Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.

Use it from your code

POST /v1/calc/accounting/lease/asc842Version 1
curl https://api.curatedapi.com/v1/calc/accounting/lease/asc842 \
  -H "Authorization: Bearer $CURATEDAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "classification": "operating",
    "payment": "10000",
    "number_of_payments": 10,
    "annual_increase_percent": "5",
    "discount_rate_percent": "6",
    "initial_direct_costs": "5000",
    "lease_incentives": "10000",
    "commencement_date": "2026-01-01",
    "options": {"decimals": 0}
  }'
The same call in Python
import os

import requests

payload = {
    "classification": "operating",
    "payment": "10000",
    "number_of_payments": 10,
    "annual_increase_percent": "5",
    "discount_rate_percent": "6",
    "initial_direct_costs": "5000",
    "lease_incentives": "10000",
    "commencement_date": "2026-01-01",
    "options": {
        "decimals": 0,
    },
}
response = requests.post(
    "https://api.curatedapi.com/v1/calc/accounting/lease/asc842",
    headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
    json=payload,
    timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
    "classification": "operating",
    "payment": "10000",
    "number_of_payments": 10,
    "annual_increase_percent": "5",
    "discount_rate_percent": "6",
    "initial_direct_costs": "5000",
    "lease_incentives": "10000",
    "commencement_date": "2026-01-01",
    "options": {
        "decimals": 0,
    },
};
const response = await fetch("https://api.curatedapi.com/v1/calc/accounting/lease/asc842", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(payload),
});
console.log((await response.json()).result);

MCP tool calc_accounting_lease_asc842 at https://mcp.curatedapi.com. Inputs, outputs and errors in the API reference.

Put it on your website

<div data-curatedapi-widget="accounting/lease/asc842" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>

Use a public key registered for your site. Calculations are billed like API calls. How widgets work.

Related calculators

Lease schedules from your own software

For property, fleet and equipment-leasing apps and accounting firms: the lease liability, the right-of-use asset and the whole schedule from one call.