Description
Return mass*(sale-collection), mass*retainedValue and retention minus net sale value.
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 mass*(sale-collection), mass*retainedValue and retention minus net sale value.
When to use this tool
Use Crop Residue Opportunity Cost Term when checking the stated caller-defined cost, margin, cap, valuation or sensitivity term.
How to use the tool and how it works
- Enter residueMass, salePrice, collectionCostPerMass, retainedValuePerMass. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read saleNet, retentionValue, retentionAdvantage. Use the output convention below.
Require nonnegative residue mass and sale/collection/retention values per matching mass unit. Return mass*(sale-collection), mass*retainedValue and retention minus net sale value.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| residueMass | Residue Mass | Required. Finite number; minimum 0. |
| salePrice | Sale Price | Required. Finite number; minimum 0. |
| collectionCostPerMass | Collection Cost Per Mass | Required. Finite number; minimum 0. |
| retainedValuePerMass | Retained Value Per Mass | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| saleNet | Sale Net | Required. Finite number. |
| retentionValue | Retention Value | Required. Finite number. |
| retentionAdvantage | Retention Advantage | Required. Finite number. |
{
"input": {
"residueMass": 100,
"salePrice": 20,
"collectionCostPerMass": 5,
"retainedValuePerMass": 18
},
"output": {
"saleNet": 1500,
"retentionValue": 1800,
"retentionAdvantage": 300
}
} Limitations and assumptions
- Retained value is assumed, not an ecological valuation or a prediction of soil benefits.
- 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
Similar or alternative tools
- Crop Rotation One Year Margin Term
Margin per area=yield*price-variableCost+precedingCropCredit; total margin multiplies by area.
- Farm Rent Sharecrop Fixed Cost Gap
Compare revenue*share-costs with revenue-costs-rent; return sharecrop minus cash-rent net.