Description
Compare (thresholdQuantity - 1) × unitPriceBelow with thresholdQuantity × unitPriceAtOrAbove and return the signed jump.
Fixed and percentage discounts act differently and may produce different prices when their order changes. Threshold pricing also depends on whether a new rate applies to all units.
Compare (thresholdQuantity - 1) × unitPriceBelow with thresholdQuantity × unitPriceAtOrAbove and return the signed jump.
When to use this tool
Use Promotion Threshold Price Jump when you need a transparent promotional price or eligibility term.
How to use the tool and how it works
- Enter thresholdQuantity, unitPriceBelow, unitPriceAtOrAbove. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read costBefore, costAtThreshold, jump. Use the output convention below.
Compare (thresholdQuantity - 1) × unitPriceBelow with thresholdQuantity × unitPriceAtOrAbove and return the signed jump.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| thresholdQuantity | Threshold Quantity | Required. Safe integer; minimum 1. |
| unitPriceBelow | Unit Price Below | Required. Finite number; minimum 0. |
| unitPriceAtOrAbove | Unit Price At Or Above | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| costBefore | Cost Before | Required. Finite number. |
| costAtThreshold | Cost At Threshold | Required. Finite number. |
| jump | Jump | Required. Finite number. |
{
"input": {
"thresholdQuantity": 10,
"unitPriceBelow": 5,
"unitPriceAtOrAbove": 4
},
"output": {
"costBefore": 45,
"costAtThreshold": 40,
"jump": -5
}
} Limitations and assumptions
- This assumes the new unit price applies to every item at the threshold; tiered marginal pricing, tax, and rounding are omitted.
- 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
Check actual offer terms, item eligibility, taxes, and monetary rounding before applying a computed price.
References
Similar or alternative tools
- Promotion Price Uplift Factor
Divide nonnegative promotionPrice by positive referencePrice for priceFactor and return that ratio minus one as signedUplift.
- Loyalty Tier Spend Progress Margin
Add eligibleSpend and pendingSpend for projectedSpend.