Skip to content

Main content

Affiliate Sale Commission Base Tool

Apply a supplied affiliate commission fraction after explicit exclusions from the sale subtotal.

Loading tool…

Description

Subtract excludedCharges from saleSubtotal and multiply commissionableBase by commissionFraction in [0, 1].

Advertising cost metrics use different bases: impressions, clicks, sales, and elapsed campaign time. A conversion between them is meaningful only when the population, charging basis, and currency match.

Subtract excludedCharges from saleSubtotal and multiply commissionableBase by commissionFraction in [0, 1].

When to use this tool

Use Affiliate Sale Commission Base when you need one explicit campaign-cost component from supplied rates and counts.

How to use the tool and how it works

  1. Enter saleSubtotal, excludedCharges, commissionFraction. 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 commissionableBase, commission. Use the output convention below.

Subtract excludedCharges from saleSubtotal and multiply commissionableBase by commissionFraction in [0, 1].1

Input fieldMeaning and unitsAccepted input
saleSubtotalSale SubtotalRequired. Finite number; minimum 0.
excludedChargesExcluded ChargesRequired. Finite number; minimum 0.
commissionFractionCommission FractionRequired. Finite number; minimum 0; maximum 1.
Output fieldInterpretationReturned shape
commissionableBaseCommissionable BaseRequired. Finite number.
commissionCommissionRequired. Finite number.
json
{
  "input": {
    "saleSubtotal": 120,
    "excludedCharges": 20,
    "commissionFraction": 0.1
  },
  "output": {
    "commissionableBase": 100,
    "commission": 10
  }
}

Limitations and assumptions

  • Excluded charges cannot exceed subtotal; all amounts share one currency and the supplied exclusions do not establish contractual commission rights or tax treatment.
  • 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 calculation with actual delivery records, billing terms, and the complete campaign budget.

References

  1. Calculation and input contract: advertising/affiliate-sale-commission-base — tool.io

Similar or alternative tools

  • Booking Channel Fee Net Room Rate

    Subtract nonnegative taxPassThrough within grossRate, apply commissionRate in [0, 1] to that base, then subtract commission and nonnegative fixedFee for netRate.

  • Room Upgrade Supplement Tax Order

    Apply taxRate to base plus supplement only when supplementTaxable, then add the full supplement and tax to base.