Skip to content

Main content

Accrued Interest Dirty Clean Roundtrip Tool

Calculate accrued interest dirty clean roundtrip from explicit caller-supplied inputs.

Loading tool…

Description

Add clean and accrued for dirty, then subtract accrued for recoveredClean.

Financial accounting arithmetic tracks amounts, balances, fees and allocations on a declared currency and sign basis. An algebraically consistent result does not authorize a transaction or establish an amount legally due.

Add clean and accrued for dirty, then subtract accrued for recoveredClean.

When to use this tool

Use Accrued Interest Dirty Clean Roundtrip when you need a specified monetary balance or allocation calculation.

How to use the tool and how it works

  1. Enter clean, accrued. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read dirty, recoveredClean. Use the output convention below.

Add clean and accrued for dirty, then subtract accrued for recoveredClean.1

Input fieldMeaning and unitsAccepted input
cleanCleanRequired. Finite number.
accruedAccruedRequired. Finite number.
Output fieldInterpretationReturned shape
dirtyDirtyRequired. Finite number.
recoveredCleanRecovered CleanRequired. Finite number.
json
{
  "input": {
    "clean": 98.5,
    "accrued": 1.25
  },
  "output": {
    "dirty": 99.75,
    "recoveredClean": 98.5
  }
}

Limitations and assumptions

  • Signed inputs are accepted. Binary floating-point cancellation can affect roundtrip equality; accrued interest, price basis and actual settlement are not independently validated.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Reconcile source ledgers and governing agreements using the intended currency precision and accounting policy. Include omitted fees, tax, timing and legal requirements before acting on a result.

References

  1. Calculation and input contract: finance/accrued-interest-dirty-clean-roundtrip — tool.io

Similar or alternative tools