Skip to content

Main content

Crop Residue Price Basis Gap Tool

Calculate crop residue price basis gap from explicit caller-supplied inputs.

Loading tool…

Description

Return wetPrice/dryFraction and that dry-equivalent price minus reference.

Farm economic comparisons depend on fixed/variable costs, opportunity-cost assumptions, depreciation, discount periods and explicit payment limits. A partial margin or finite-difference response differs from total profitability or an optimization-derived shadow price. Supplied rates and tax flags do not determine actual obligations.

Return wetPrice/dryFraction and that dry-equivalent price minus reference.

When to use this tool

Use Crop Residue Price Basis Gap when checking the stated caller-defined cost, margin, cap, valuation or sensitivity term.

How to use the tool and how it works

  1. Enter wetPrice, dryFraction, dryBasisReference. 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 dryEquivalent, gap. Use the output convention below.

Require nonnegative wet-price and dry-basis reference with dryFraction in (0,1]. Return wetPrice/dryFraction and that dry-equivalent price minus reference.1

Input fieldMeaning and unitsAccepted input
wetPriceCurrency per wet material mass unit; divide by dryFraction to report per dry mass.Required. Finite number; minimum 0.
dryFractionDry Fraction Unit: 1.Required. Finite number; maximum 1; strictly above 0.
dryBasisReferenceDry Basis ReferenceRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
dryEquivalentDry EquivalentRequired. Finite number.
gapGapRequired. Finite number.
json
{
  "input": {
    "wetPrice": 20,
    "dryFraction": 0.5,
    "dryBasisReference": 35
  },
  "output": {
    "dryEquivalent": 40,
    "gap": 5
  }
}

Limitations and assumptions

  • Price is per wet mass before conversion; moisture, quality, transport and market conventions are supplied rather than assessed.
  • 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

Use a complete verified budget and suitable economic analysis; consult qualified financial/legal professionals for actual investment, contract or tax decisions.

References

  1. Calculation and input contract: agricultural-economics/crop-residue-price-basis-gap — tool.io

Similar or alternative tools