viewof hardware_cost = Inputs.range([50, 500], {
label: "Device Hardware Cost ($)",
value: 150,
step: 10
})
viewof subscription_monthly = Inputs.range([5, 100], {
label: "Monthly Subscription Fee ($)",
value: 25,
step: 5
})
viewof contract_months = Inputs.range([12, 60], {
label: "Customer Lifetime (months)",
value: 36,
step: 6
})
viewof comparisonFreemiumUsers = Inputs.range([100, 10000], {
label: "Total Freemium Users",
value: 1000,
step: 100
})
viewof comparisonFreemiumConversion = Inputs.range([1, 20], {
label: "Freemium Conversion Rate (%)",
value: 8,
step: 0.5
})
// Calculate each model
comparisonTraditionalLtv = hardware_cost
comparisonPaasLtv = hardware_cost * 0.5 + (subscription_monthly * contract_months)
comparisonFreemiumArpu = (comparisonFreemiumUsers * (comparisonFreemiumConversion / 100) * subscription_monthly) / comparisonFreemiumUsers
comparisonFreemiumLtv = comparisonFreemiumArpu * contract_months
// Determine best model
comparisonModels = [
{ name: 'Traditional Sale', ltv: comparisonTraditionalLtv, color: '#4B5563', risk: 'Low' },
{ name: 'Product-as-a-Service', ltv: comparisonPaasLtv, color: '#0F766E', risk: 'Medium' },
{ name: 'Freemium Platform', ltv: comparisonFreemiumLtv, color: '#1D4ED8', risk: 'Low-Medium' }
]
bestRevenueModel = comparisonModels.reduce((a, b) => a.ltv > b.ltv ? a : b)
html`<div style="margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #1F2937;">
<div style="margin: 0 0 0.75rem; color: #1f2937; font-size: 1rem; font-weight: 700;">3-Year Revenue Comparison</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 15px;">
${comparisonModels.map(model => `
<div style="padding: 12px; background: white; border-radius: 6px; border: 2px solid ${model.ltv === bestRevenueModel.ltv ? model.color : '#dee2e6'};">
<div style="color: #4B5563; font-size: 0.75em; margin-bottom: 8px; text-transform: uppercase; font-weight: 600;">
${model.name}
</div>
<div style="color: ${model.color}; font-size: 1.5em; font-weight: bold; margin-bottom: 5px;">
${'$'}${model.ltv.toFixed(0)}
</div>
<div style="color: #4B5563; font-size: 0.8em;">
${model.ltv === bestRevenueModel.ltv ? 'Highest LTV' : 'LTV'}
</div>
<div style="margin-top: 8px; padding: 4px 8px; background: ${model.color}15; border-radius: 4px; font-size: 0.75em; color: ${model.color}; text-align: center;">
${model.risk} Risk
</div>
</div>
`).join('')}
</div>
<div style="margin-top: 15px; padding: 12px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<strong style="color: #1F2937;">Model Multipliers vs. Traditional:</strong>
<div style="margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px;">
<div style="padding: 8px; background: #E8F5F3; border-radius: 4px;">
<div style="color: #4B5563; font-size: 0.8em;">PaaS Advantage</div>
<div style="color: #0F766E; font-size: 1.2em; font-weight: bold;">
${(comparisonPaasLtv / comparisonTraditionalLtv).toFixed(1)}x
</div>
</div>
<div style="padding: 8px; background: #EBF5FB; border-radius: 4px;">
<div style="color: #4B5563; font-size: 0.8em;">Freemium ARPU</div>
<div style="color: #1D4ED8; font-size: 1.2em; font-weight: bold;">
${'$'}${comparisonFreemiumArpu.toFixed(2)}/mo
</div>
</div>
</div>
</div>
<div style="margin-top: 12px; padding: 10px; background: ${bestRevenueModel.color}15; border-radius: 6px; border: 1px solid ${bestRevenueModel.color}40;">
<strong style="color: #1F2937;">Recommendation:</strong> <span style="color: #1F2937;">
<strong style="color: ${bestRevenueModel.color};">${bestRevenueModel.name}</strong> generates the highest lifetime value
(${'$'}${bestRevenueModel.ltv.toFixed(0)}) over ${contract_months} months with ${bestRevenueModel.risk.toLowerCase()} vendor risk.
${bestRevenueModel.name === 'Product-as-a-Service' ?
' This model provides ongoing customer relationships and predictable recurring revenue.' :
bestRevenueModel.name === 'Freemium Platform' ?
` At ${comparisonFreemiumConversion}% conversion, you need ${Math.ceil(1000 / (comparisonFreemiumConversion / 100))} users to reach 1,000 paying customers.` :
' However, consider that you lose the customer relationship after the initial sale.'}
</span>
</div>
</div>`Interactive Revenue Model Comparison
Interactive Revenue Model Comparison
animation
iot
business-models
Try Change Freemium Conversion Rate (%) from 8 to 20.
Observe Watch Freemium ARPU and Freemium Platform LTV as conversion changes from 8 to 20.
Explain Explain why increasing conversion from 8 to 20 increases Freemium ARPU and Freemium Platform LTV.
Technical boundaries. Product-as-a-Service uses half the hardware cost plus subscription revenue. Freemium LTV uses conversion-weighted subscription revenue per user; risk labels remain fixed.
Interactive Revenue Model Comparison
Compare different IoT revenue models side-by-side: