Description
targetUnitPrice = quotedPrice*targetQuantity/sourceQuantity; provenanceKey = JSON.stringify([source,dateLabel,commodity]).
Historical price series need compatible quantities, quality, dates and currency conventions. Rebasing or splicing a series changes its numerical scale without resolving source comparability or proving a change in living standards.
targetUnitPrice = quotedPrice*targetQuantity/sourceQuantity; provenanceKey = JSON.stringify([source,dateLabel,commodity]).
When to use this tool
Use Historical Price Unit Factor when checking a supplied historical price or index transformation.
How to use the tool and how it works
- Enter quotedPrice, sourceQuantity, targetQuantity, commodity, source, dateLabel. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read targetUnitPrice, provenanceKey. Use the output convention below.
Require positive sourceQuantity and targetQuantity. targetUnitPrice = quotedPrice*targetQuantity/sourceQuantity; provenanceKey = JSON.stringify([source,dateLabel,commodity]).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| quotedPrice | Quoted Price | Required. Finite number. |
| sourceQuantity | Source Quantity | Required. Finite number; strictly above 0. |
| targetQuantity | Target Quantity | Required. Finite number; strictly above 0. |
| commodity | Commodity | Required. Text; maximum UTF-16 length 8192. |
| source | Caller-supplied source label, not independently authenticated provenance. | Required. Text; maximum UTF-16 length 8192. |
| dateLabel | Date Label | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| targetUnitPrice | Target Unit Price | Required. Finite number. |
| provenanceKey | Provenance Key | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"quotedPrice": 100,
"sourceQuantity": 20,
"targetQuantity": 5,
"commodity": "grain-A",
"source": "ledger-2",
"dateLabel": "year-X"
},
"output": {
"targetUnitPrice": 25,
"provenanceKey": "[\"ledger-2\",\"year-X\",\"grain-A\"]"
}
} Limitations and assumptions
- The quote is per sourceQuantity and the output per targetQuantity on a common physical basis. Provenance records supplied labels rather than authenticating sources or resolving historical units.
- 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
Verify the original quotation basis and comparable series concepts, and use appropriate historical evidence for quality and unit adjustments.
References
Similar or alternative tools
- Historical Money Price Base Gap
rebasedAmount = nominalAmount*targetPriceIndex/sourcePriceIndex; comparisonGap subtracts suppliedComparison.
- Historical Share Quoted PAR Value Gap
marketPrice = parValue*quotePercent/100; paidCapital = parValue*paidFraction; premiumToPaid = marketPrice-paidCapital.