Skip to content

Main content

Deposit Refund Unreturned Container Value Tool

Calculate deposit refund unreturned container value from explicit caller-supplied inputs.

Loading tool…

Description

Return unreturned = sold-returned, retainedDeposits = unreturned*depositPerContainer, handlingCost = returned*handlingCostPerReturn and netBalance = retainedDeposits-handlingCost.

Environmental payment and credit arithmetic depends on eligibility, allocation, withholding and sign conventions. A supplied verification flag or accounting label does not establish that a payment, permit or credit is legally valid or actually available.

Return unreturned = sold-returned, retainedDeposits = unreturned*depositPerContainer, handlingCost = returned*handlingCostPerReturn and netBalance = retainedDeposits-handlingCost.

When to use this tool

Use Deposit Refund Unreturned Container Value when checking a specified allocation, charge or payment balance.

How to use the tool and how it works

  1. Enter sold, returned, depositPerContainer, handlingCostPerReturn. 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 unreturned, retainedDeposits, handlingCost, netBalance. Use the output convention below.

Require nonnegative whole sold and returned <= sold and nonnegative depositPerContainer and handlingCostPerReturn. Return unreturned = sold-returned, retainedDeposits = unreturned*depositPerContainer, handlingCost = returned*handlingCostPerReturn and netBalance = retainedDeposits-handlingCost.1

Input fieldMeaning and unitsAccepted input
soldSoldRequired. Safe integer; minimum 0.
returnedReturnedRequired. Safe integer; minimum 0.
depositPerContainerDeposit Per ContainerRequired. Finite number; minimum 0.
handlingCostPerReturnHandling Cost Per ReturnRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
unreturnedUnreturnedRequired. Safe integer.
retainedDepositsRetained DepositsRequired. Finite number.
handlingCostHandling CostRequired. Finite number.
netBalanceNet BalanceRequired. Finite number.
json
{
  "input": {
    "sold": 1000,
    "returned": 800,
    "depositPerContainer": 0.1,
    "handlingCostPerReturn": 0.02
  },
  "output": {
    "unreturned": 200,
    "retainedDeposits": 20,
    "handlingCost": 16,
    "netBalance": 4
  }
}

Limitations and assumptions

  • Use one currency unit. This local balance omits other program revenues, obligations, operating expenses and timing; retaining deposits in the formula does not establish ownership of unclaimed funds or program profitability.
  • 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 applicable agreement or program rules and reconcile the full ledger before treating a calculated amount as payable or saleable.

References

  1. Calculation and input contract: environmental-economics/deposit-refund-unreturned-container-value — tool.io

Similar or alternative tools