Description
Multiply referrals by qualificationFraction for qualifiedExpected.
A campaign cost term combines supplied counts, rewards, credits, and prices. Expected counts can be fractional, and net costs can be negative when credits exceed charges.
Multiply referrals by qualificationFraction for qualifiedExpected.
When to use this tool
Use Referral Incentive Two Party Cost when you need an explicit incentive, fee, or campaign-cost component.
How to use the tool and how it works
- Enter referrals, qualificationFraction, referrerReward, refereeReward, fixedCost. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read qualifiedExpected, incentiveCost, totalCost. Use the output convention below.
Multiply referrals by qualificationFraction for qualifiedExpected. Multiply that expectation by both parties' reward sum and add fixedCost for totalCost.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| referrals | Referrals | Required. Safe integer; minimum 0. |
| qualificationFraction | Qualification Fraction | Required. Finite number; minimum 0; maximum 1. |
| referrerReward | Referrer Reward | Required. Finite number; minimum 0. |
| refereeReward | Referee Reward | Required. Finite number; minimum 0. |
| fixedCost | Fixed Cost | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| qualifiedExpected | Qualified Expected | Required. Finite number. |
| incentiveCost | Incentive Cost | Required. Finite number. |
| totalCost | Total Cost | Required. Finite number. |
{
"input": {
"referrals": 100,
"qualificationFraction": 0.5,
"referrerReward": 10,
"refereeReward": 5,
"fixedCost": 100
},
"output": {
"qualifiedExpected": 50,
"incentiveCost": 750,
"totalCost": 850
}
} Limitations and assumptions
- Expected qualified referrals can be fractional; qualification is supplied and this does not model variability, fraud, taxes, or payment terms.
- 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
Reconcile the complete campaign ledger and applicable contractual, tax, and rounding rules before budgeting from a partial term.
References
Similar or alternative tools
- Referral Return Clawback Term
Multiply nonnegative reward by returnedShare in [0, 1] for totalClawback, then subtract priorClawback for additionalDue.
- Influencer Fee Usage Period Proration
Charge extraDailyRate for max(0, usageDays - includedDays), then add baseFee.