Formualizer Docs

ACCRINT

Returns accrued interest for a coupon-bearing security.

ACCRINT calculates interest from either issue or the previous coupon date up to settlement, depending on calc_method.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=ACCRINT(issue, first_interest, settlement, rate, par, frequency, [basis], [calc_method])

Arguments

ArgumentTypeRequiredDefault
issuenumberRequired—
first_interestnumberRequired—
settlementnumberRequired—
ratenumberRequired—
parnumberRequired—
frequencynumberRequired—
basisnumberOptional—
calc_methodnumberOptional—

Remarks

  • Date inputs are spreadsheet serial dates; settlement must be after issue.
  • rate is the annual coupon rate as a decimal (for example, 0.06 for 6%), and par is principal amount; both must be positive.
  • frequency must be 1 (annual), 2 (semiannual), or 4 (quarterly).
  • basis codes: 0=US(NASD)30/360, 1=Actual/Actual, 2=Actual/360, 3=Actual/365, 4=European30/360.
  • calc_method: non-zero accrues from issue; 0 accrues from the previous coupon date.
  • Return value is in the same currency units as par and is positive for valid positive inputs.

Examples

Compute accrued interest between issue and a settlement before the first coupon.

Formula =ACCRINT(DATE(2024,1,1),DATE(2024,7,1),DATE(2024,5,1),0.06,1000,2)

Expected result 20

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Use an actual-day count and a 365-day year instead of the default basis.

Formula =ACCRINT(DATE(2024,1,1),DATE(2024,7,1),DATE(2024,5,1),0.06,1000,2,3)

Expected result 19.8904109589041

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Measure accrued interest one day after issue.

Formula =ACCRINT(DATE(2024,1,1),DATE(2024,7,1),DATE(2024,1,2),0.06,1000,2)

Expected result 0.166666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A frequency of three is outside the supported coupon schedules.

Formula =ACCRINT(DATE(2024,1,1),DATE(2024,7,1),DATE(2024,5,1),0.06,1000,3)

Expected result #NUM!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Accrue from issue date (default calc_method)

Formula =ACCRINT(DATE(2024,1,1), DATE(2024,7,1), DATE(2024,7,1), 0.06, 1000, 2, 0)

Expected result 30

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Accrue from previous coupon (calc_method = 0)

Formula =ACCRINT(DATE(2024,1,1), DATE(2024,7,1), DATE(2024,10,1), 0.08, 1000, 2, 0, 0)

Expected result 20

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

When does calc_method change the result?

calc_method=0 accrues from the previous coupon date; any non-zero value accrues from issue.

Which inputs return #NUM!?

Invalid basis, non-positive rate/par, unsupported frequency, or settlement <= issue return #NUM!.

Implementation

Engine source

On this page