viewof total_users = Inputs.range([1000, 100000], {
label: "Total Users",
value: 10000,
step: 1000
})
viewof conversion_rate = Inputs.range([1, 25], {
label: "Conversion Rate (%)",
value: 10,
step: 0.5
})
viewof premium_price = Inputs.range([5, 100], {
label: "Premium Tier Price ($/month)",
value: 15,
step: 5
})
viewof cost_per_user = Inputs.range([0.5, 10], {
label: "Cost per Free User ($/month)",
value: 2,
step: 0.5
})
// Calculations
freemiumPaidUsers = Math.round(total_users * (conversion_rate / 100))
freemiumFreeUsers = total_users - freemiumPaidUsers
freemiumMonthlyRevenue = freemiumPaidUsers * premium_price
freemiumMonthlyCosts = total_users * cost_per_user
freemiumMonthlyProfit = freemiumMonthlyRevenue - freemiumMonthlyCosts
freemiumAverageRevenuePerUser = freemiumMonthlyRevenue / total_users
// Conversion health
function getFreemiumConversionHealth(rate) {
if (rate >= 10) return { status: 'Strong', color: '#0F766E' };
if (rate >= 5) return { status: 'Target Range', color: '#1D4ED8' };
return { status: 'Needs Work', color: '#B45309' };
}
freemiumConversionHealth = getFreemiumConversionHealth(conversion_rate)
html`<div style="margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #1D4ED8;">
<div style="margin: 0 0 0.75rem; color: #1f2937; font-size: 1rem; font-weight: 700;">Freemium Model Performance</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 15px;">
<div style="padding: 12px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<div style="color: #4B5563; font-size: 0.85em; margin-bottom: 5px;">Free Users</div>
<div style="color: #4B5563; font-size: 1.3em; font-weight: bold;">${freemiumFreeUsers.toLocaleString()}</div>
</div>
<div style="padding: 12px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<div style="color: #4B5563; font-size: 0.85em; margin-bottom: 5px;">Paid Users</div>
<div style="color: #0F766E; font-size: 1.3em; font-weight: bold;">${freemiumPaidUsers.toLocaleString()}</div>
</div>
</div>
<div style="margin-top: 12px; padding: 15px; background: white; border-radius: 6px; border: 2px solid ${freemiumConversionHealth.color};">
<div style="text-align: center;">
<div style="color: #4B5563; font-size: 0.85em; margin-bottom: 5px;">Conversion Rate</div>
<div style="color: ${freemiumConversionHealth.color}; font-size: 2em; font-weight: bold;">
${conversion_rate.toFixed(1)}%
</div>
<div style="color: ${freemiumConversionHealth.color}; margin-top: 5px; font-weight: 600;">
${freemiumConversionHealth.status}
</div>
</div>
</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 15px;">
<div style="padding: 10px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<div style="color: #4B5563; font-size: 0.8em; margin-bottom: 3px;">Monthly Revenue</div>
<div style="color: #0F766E; font-size: 1.1em; font-weight: bold;">${'$'}${freemiumMonthlyRevenue.toLocaleString()}</div>
</div>
<div style="padding: 10px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<div style="color: #4B5563; font-size: 0.8em; margin-bottom: 3px;">Monthly Costs</div>
<div style="color: #B45309; font-size: 1.1em; font-weight: bold;">${'$'}${freemiumMonthlyCosts.toLocaleString()}</div>
</div>
<div style="padding: 10px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<div style="color: #4B5563; font-size: 0.8em; margin-bottom: 3px;">Profit</div>
<div style="color: ${freemiumMonthlyProfit > 0 ? '#0F766E' : '#B91C1C'}; font-size: 1.1em; font-weight: bold;">
${'$'}${freemiumMonthlyProfit.toLocaleString()}
</div>
</div>
</div>
<div style="margin-top: 12px; padding: 10px; background: white; border-radius: 6px; border: 1px solid #dee2e6;">
<div style="color: #4B5563; font-size: 0.85em; margin-bottom: 5px;">Average Revenue Per User (ARPU)</div>
<div style="color: #1D4ED8; font-size: 1.2em; font-weight: bold;">${'$'}${freemiumAverageRevenuePerUser.toFixed(2)}/month</div>
</div>
<div style="margin-top: 12px; padding: 10px; background: #E8F5F3; border-radius: 6px;">
<strong style="color: #1F2937;">Key Insight:</strong> <span style="color: #1F2937;">
${conversion_rate >= 5 ?
'Your conversion rate is in the healthy 5-15% target range. ' +
(freemiumPaidUsers > 0 ? 'Paid users subsidize ' + Math.round(freemiumFreeUsers / freemiumPaidUsers) + ' free users each.' : '') :
'Conversion below 5% indicates a value gap - consider enhancing premium features or reducing free tier limits.'}
</span>
</div>
</div>`Freemium Model Calculator
Freemium Model Calculator
animation
iot
business-models
Try Change Conversion Rate (%), then press Calculate monthly profit.
Observe After Calculate monthly profit, compare Paid Users, Monthly Revenue, Monthly Costs, and Profit.
Explain Explain why Calculate monthly profit can show a gap between Monthly Revenue and Monthly Costs.
Technical boundaries. Monthly costs apply Cost per Free User ($/month) to total users, including paid users. Revenue uses paid users multiplied by premium tier price.
Model your freemium conversion economics:
Worked Example: 10,000 Connected Devices
Suppose 10,000 users activate a connected-device app. If 10% upgrade to a $15/month premium tier, the business gets 1,000 paying users and $15,000 in monthly revenue. If the free tier costs $2/user/month to support, the business also carries $20,000 in monthly service cost. That gap is why freemium needs disciplined onboarding, clear upgrade triggers, and tight cost control.
Healthy freemium models usually share three traits:
- the premium tier removes a real operational pain point rather than adding cosmetic features
- the free tier drives adoption but limits the support burden from heavy users
- activation flows move the user to the first high-value outcome quickly enough that conversion can happen before churn