Skip to content

Main content

Food Security Seasonal Price Gap Tool

Absolute price difference after an explicit signed transport-cost adjustment.

Loading tool…

Description

Return their difference and subtract signed transportDifference for adjustedGap.

Food affordability calculations combine prices, basket quantities, currency factors and available resources. Fixed-basket arithmetic does not by itself account for substitution, actual benefit rights or an individual household's circumstances.

Return their difference and subtract signed transportDifference for adjustedGap.

When to use this tool

Use Food Security Seasonal Price Gap when you need a supplied food-cost or purchasing-power calculation.

How to use the tool and how it works

  1. Enter leanSeasonPrice, harvestPrice, transportDifference. 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 rawGap, adjustedGap. Use the output convention below.

Require nonnegative lean-season/harvest prices. Return their difference and subtract signed transportDifference for adjustedGap.1

Input fieldMeaning and unitsAccepted input
leanSeasonPriceLean Season PriceRequired. Finite number; minimum 0.
harvestPriceHarvest PriceRequired. Finite number; minimum 0.
transportDifferenceTransport DifferenceRequired. Finite number.
Output fieldInterpretationReturned shape
rawGapRaw GapRequired. Finite number.
adjustedGapAdjusted GapRequired. Finite number.
json
{
  "input": {
    "leanSeasonPrice": 15,
    "harvestPrice": 10,
    "transportDifference": 2
  },
  "output": {
    "rawGap": 5,
    "adjustedGap": 3
  }
}

Limitations and assumptions

  • Price and transport differences share a currency and unit quantity. No causal seasonal explanation, forecast or household affordability judgment is established.
  • 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

Align basket contents, currency, price date and household scope before comparison. Verify actual assistance rules and seek the appropriate financial or service guidance for consequential decisions.

References

  1. Calculation and input contract: food-security/food-security-seasonal-price-gap — tool.io

Similar or alternative tools