viewof directPercent = Inputs.range([0, 100], {
value: 50,
step: 5,
label: "Direct Sales (% of customers)"
})
viewof directCAC = Inputs.range([0, 50000], {
value: 25000,
step: 1000,
label: "Direct Sales CAC ($)"
})
viewof partnerPercent = Inputs.range([0, 100], {
value: 30,
step: 5,
label: "System Integrators (% of customers)"
})
viewof partnerCAC = Inputs.range([0, 30000], {
value: 8000,
step: 500,
label: "System Integrator CAC ($)"
})
viewof distributorPercent = Inputs.range([0, 100], {
value: 15,
step: 5,
label: "Distributors (% of customers)"
})
viewof distributorCAC = Inputs.range([0, 20000], {
value: 10000,
step: 500,
label: "Distributor CAC ($)"
})
viewof oemPercent = Inputs.range([0, 100], {
value: 5,
step: 5,
label: "OEM Partnerships (% of customers)"
})
viewof oemCAC = Inputs.range([0, 15000], {
value: 3000,
step: 500,
label: "OEM CAC ($)"
})
// Calculate total and normalize
totalPercent = directPercent + partnerPercent + distributorPercent + oemPercent
// Normalized percentages
normalizedDirect = directPercent / totalPercent * 100
normalizedPartner = partnerPercent / totalPercent * 100
normalizedDistributor = distributorPercent / totalPercent * 100
normalizedOEM = oemPercent / totalPercent * 100
// Blended CAC calculation
blendedCAC = (
(normalizedDirect / 100) * directCAC +
(normalizedPartner / 100) * partnerCAC +
(normalizedDistributor / 100) * distributorCAC +
(normalizedOEM / 100) * oemCAC
)
// Channel cost breakdown
channelData = [
{channel: "Direct Sales", percent: normalizedDirect, cac: directCAC, weighted: (normalizedDirect/100) * directCAC, color: "#2C3E50"},
{channel: "System Integrators", percent: normalizedPartner, cac: partnerCAC, weighted: (normalizedPartner/100) * partnerCAC, color: "#16A085"},
{channel: "Distributors", percent: normalizedDistributor, cac: distributorCAC, weighted: (normalizedDistributor/100) * distributorCAC, color: "#E67E22"},
{channel: "OEM Partners", percent: normalizedOEM, cac: oemCAC, weighted: (normalizedOEM/100) * oemCAC, color: "#3498DB"}
].filter(d => d.percent > 0)
html`<div style="background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%); padding: 24px; border-radius: 8px; color: white; margin-top: 20px;">
<h3 style="margin-top: 0; color: white; border-bottom: 2px solid rgba(255,255,255,0.3); padding-bottom: 12px;">Channel Mix Analysis</h3>
${totalPercent !== 100 ? `<div style="background: #E74C3C; padding: 12px; border-radius: 6px; margin-bottom: 16px;">
Channel percentages total ${totalPercent.toFixed(0)}% (normalizing to 100%)
</div>` : ''}
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px;">
${channelData.map(d => `
<div style="background: rgba(255,255,255,0.12); padding: 14px; border-radius: 6px; border-left: 4px solid ${d.color};">
<div style="font-size: 0.85em; opacity: 0.9;">${d.channel}</div>
<div style="font-size: 1.5em; font-weight: bold; margin: 4px 0;">${d.percent.toFixed(1)}%</div>
<div style="font-size: 0.9em; opacity: 0.85;">CAC: ${"$"}${d.cac.toLocaleString()}</div>
<div style="font-size: 0.85em; opacity: 0.75; margin-top: 4px;">Weighted: ${"$"}${d.weighted.toLocaleString()}</div>
</div>
`).join('')}
</div>
<div style="background: rgba(255,255,255,0.15); padding: 20px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.3);">
<div style="font-size: 1.1em; opacity: 0.9; margin-bottom: 8px;">Blended Customer Acquisition Cost</div>
<div style="font-size: 2.5em; font-weight: bold; color: #16A085;">${"$"}${blendedCAC.toLocaleString()}</div>
<div style="font-size: 0.9em; opacity: 0.85; margin-top: 12px;">
Compared to 100% direct sales at ${"$"}${directCAC.toLocaleString()}, this channel mix
${blendedCAC < directCAC ? `<span style="color: #16A085;">saves ${"$"}${(directCAC - blendedCAC).toLocaleString()} per customer (${((1 - blendedCAC/directCAC) * 100).toFixed(1)}% reduction)</span>` :
blendedCAC > directCAC ? `<span style="color: #E67E22;">costs ${"$"}${(blendedCAC - directCAC).toLocaleString()} more per customer</span>` :
'has the same cost'}
</div>
</div>
<div style="margin-top: 16px; padding: 14px; background: rgba(255,255,255,0.1); border-radius: 6px; font-size: 0.9em; line-height: 1.5;">
<strong>Strategy Insight:</strong> ${blendedCAC < directCAC * 0.7 ?
`Excellent channel diversification! You've reduced CAC by ${((1 - blendedCAC/directCAC) * 100).toFixed(0)}% through partners.` :
blendedCAC > directCAC * 0.85 ?
`Channel mix is still expensive. Increase partner/distributor percentage to lower blended CAC.` :
`Balanced approach. Monitor partner conversion rates to ensure quality remains high at lower CAC.`
}
</div>
</div>`Channel Mix and Blended CAC
Channel Mix and Blended CAC
animation
iot
business
Try Change Direct Sales (% of customers) to adjust the channel mix. Then press Calculate blended CAC.
Observe After pressing Calculate blended CAC, watch blended customer acquisition cost as Direct Sales (% of customers) changes.
Explain Describe how Direct Sales CAC ($) contributes to blended customer acquisition cost through normalized percentages after you press Calculate blended CAC.
Technical boundaries. Channel percentages are normalized to 100%. Blended CAC is a weighted calculation of the selected channel acquisition costs.
Channel Mix and Blended CAC
Model your go-to-market channel strategy by adjusting the percentage of customers acquired through each channel and their respective acquisition costs.