Skip to content

Main content

Import Demurrage Free Day Gap Tool

Whole-day linear demurrage under an explicit arrival-day inclusion convention; no port business calendar or tier schedule.

Loading tool…

Description

Count releaseDay - arrivalDay plus one when arrivalDayCounts.

Trade-finance arithmetic combines supplied fees, exchange factors, timing windows, and reporting bases. A local consistency result does not establish document compliance, contract rights, or bank acceptance.

Count releaseDay - arrivalDay plus one when arrivalDayCounts.

When to use this tool

Use Import Demurrage Free Day Gap when you need one transparent cross-border cost or timing component.

How to use the tool and how it works

  1. Enter arrivalDay, releaseDay, freeDays, chargePerDay, arrivalDayCounts. 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 elapsedChargeDays, billableDays, cost. Use the output convention below.

Count releaseDay - arrivalDay plus one when arrivalDayCounts. Subtract freeDays with a zero floor and multiply billableDays by chargePerDay.1

Input fieldMeaning and unitsAccepted input
arrivalDayArrival DayRequired. Safe integer.
releaseDayRelease DayRequired. Safe integer.
freeDaysFree DaysRequired. Safe integer; minimum 0.
chargePerDayCharge Per DayRequired. Finite number; minimum 0.
arrivalDayCountsArrival Day CountsRequired. Boolean.
Output fieldInterpretationReturned shape
elapsedChargeDaysElapsed Charge DaysRequired. Safe integer.
billableDaysBillable DaysRequired. Safe integer.
costCostRequired. Finite number.
json
{
  "input": {
    "arrivalDay": 10,
    "releaseDay": 18,
    "freeDays": 5,
    "chargePerDay": 100,
    "arrivalDayCounts": false
  },
  "output": {
    "elapsedChargeDays": 8,
    "billableDays": 3,
    "cost": 300
  }
}

Limitations and assumptions

  • The convention and rate are supplied; holidays, tariff schedules, contract exceptions, and actual demurrage liability are not determined.
  • 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

Review the complete transaction, contract, bank terms, and applicable accounting policies before acting on a partial calculation.

References

  1. Calculation and input contract: international-business/import-demurrage-free-day-gap — tool.io

Similar or alternative tools

  • Settlement Working Day Gap

    Validate suppliedEligibleDates as real YYYY-MM-DD dates, count distinct strings for availableDays, and subtract requiredWorkingDays for gap.

  • Credit Presentation Deadline Day Basis

    Choose suppliedBusinessDays or elapsedCalendarDays for countedDays according to useBusinessBasis and subtract from allowedDays for margin.