viewof hardwareCOGS = Inputs.range([50, 500], {
value: 118,
step: 10,
label: "Hardware Unit Cost (COGS) ($)"
})
viewof monthlyOpsCost = Inputs.range([0, 10], {
value: 2.40,
step: 0.10,
label: "Monthly Per-Unit Operating Cost ($)"
})
viewof customersYear1 = Inputs.range([10, 500], {
value: 100,
step: 10,
label: "Target Customers (Year 1)"
})
// Pricing model options
viewof selectedModel = Inputs.radio(
["Hardware + Subscription", "Subscription-Only", "Hardware + Tiered SaaS", "Outcome-Based"],
{value: "Hardware + Subscription", label: "Select Pricing Model"}
)
// Model-specific parameters
viewof hwPrice = Inputs.range([100, 1000], {
value: 299,
step: 10,
label: "Hardware Price ($)",
disabled: selectedModel === "Subscription-Only" || selectedModel === "Outcome-Based"
})
viewof monthlyFee = Inputs.range([10, 100], {
value: 39,
step: 5,
label: selectedModel === "Hardware + Tiered SaaS" ? "Mid-Tier Monthly Fee ($)" : "Monthly Subscription Fee ($)"
})
viewof outcomeShare = Inputs.range([5, 20], {
value: 10,
step: 1,
label: "% of Customer Savings (Outcome-Based)",
disabled: selectedModel !== "Outcome-Based"
})
viewof avgSavings = Inputs.range([1000, 10000], {
value: 5000,
step: 500,
label: "Avg Monthly Customer Savings ($)",
disabled: selectedModel !== "Outcome-Based"
})
// Calculate 3-year financials
hw_revenue_per_customer = selectedModel === "Subscription-Only" || selectedModel === "Outcome-Based" ? 0 : hwPrice
monthly_recurring = selectedModel === "Outcome-Based" ? (outcomeShare / 100) * avgSavings : monthlyFee
three_year_revenue = hw_revenue_per_customer + (monthly_recurring * 36)
hw_margin_per_customer = selectedModel === "Subscription-Only" || selectedModel === "Outcome-Based" ? -hardwareCOGS : (hwPrice - hardwareCOGS)
recurring_margin = monthly_recurring - monthlyOpsCost
three_year_margin = hw_margin_per_customer + (recurring_margin * 36)
// Total business metrics
total_year1_hw_revenue = hw_revenue_per_customer * customersYear1
total_year1_mrr = monthly_recurring * customersYear1
total_year1_arr = total_year1_mrr * 12
// Cash flow timeline (months 1-12)
cashFlowMonths = Array.from({length: 12}, (_, i) => {
const month = i + 1
const hw_cash = month === 1 ? total_year1_hw_revenue : 0
const recurring_cash = total_year1_mrr * month
const cumulative = hw_cash + recurring_cash - (hardwareCOGS * customersYear1) - (monthlyOpsCost * customersYear1 * month)
return {
month: month,
revenue: hw_cash + recurring_cash,
cumulative: cumulative
}
})
html`<div style="background: linear-gradient(135deg, #9B59B6 0%, #2C3E50 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;">Pricing Model: ${selectedModel}</h3>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px;">
<div style="background: rgba(255,255,255,0.15); padding: 16px; border-radius: 6px; border-left: 4px solid #E67E22;">
<div style="font-size: 0.85em; opacity: 0.9;">Per-Customer Hardware Revenue</div>
<div style="font-size: 1.6em; font-weight: bold; margin-top: 6px;">${"$"}${hw_revenue_per_customer.toLocaleString()}</div>
</div>
<div style="background: rgba(255,255,255,0.15); padding: 16px; border-radius: 6px; border-left: 4px solid #3498DB;">
<div style="font-size: 0.85em; opacity: 0.9;">Monthly Recurring (per customer)</div>
<div style="font-size: 1.6em; font-weight: bold; margin-top: 6px;">${"$"}${monthly_recurring.toLocaleString()}</div>
</div>
<div style="background: rgba(255,255,255,0.15); padding: 16px; border-radius: 6px; border-left: 4px solid #16A085;">
<div style="font-size: 0.85em; opacity: 0.9;">3-Year Revenue per Customer</div>
<div style="font-size: 1.6em; font-weight: bold; margin-top: 6px;">${"$"}${three_year_revenue.toLocaleString()}</div>
</div>
<div style="background: rgba(255,255,255,0.15); padding: 16px; border-radius: 6px; border-left: 4px solid ${three_year_margin > 0 ? '#16A085' : '#E74C3C'};">
<div style="font-size: 0.85em; opacity: 0.9;">3-Year Gross Profit per Customer</div>
<div style="font-size: 1.6em; font-weight: bold; margin-top: 6px;">${"$"}${three_year_margin.toLocaleString()}</div>
<div style="font-size: 0.8em; margin-top: 6px; opacity: 0.85;">Margin: ${((three_year_margin / three_year_revenue) * 100).toFixed(1)}%</div>
</div>
</div>
<div style="background: rgba(255,255,255,0.12); padding: 18px; border-radius: 8px; margin-bottom: 16px;">
<div style="font-size: 1.05em; font-weight: 600; margin-bottom: 12px;">Year 1 Business Metrics (${customersYear1} customers)</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px;">
<div>
<div style="font-size: 0.8em; opacity: 0.8;">Hardware Revenue</div>
<div style="font-size: 1.3em; font-weight: bold;">${"$"}${total_year1_hw_revenue.toLocaleString()}</div>
</div>
<div>
<div style="font-size: 0.8em; opacity: 0.8;">MRR (Month 12)</div>
<div style="font-size: 1.3em; font-weight: bold;">${"$"}${total_year1_mrr.toLocaleString()}</div>
</div>
<div>
<div style="font-size: 0.8em; opacity: 0.8;">ARR (Run Rate)</div>
<div style="font-size: 1.3em; font-weight: bold;">${"$"}${total_year1_arr.toLocaleString()}</div>
</div>
</div>
</div>
<div style="padding: 14px; background: rgba(255,255,255,0.1); border-radius: 6px; font-size: 0.9em; line-height: 1.6;">
<strong>Key Insight:</strong> ${
selectedModel === "Hardware + Subscription" ?
`Upfront hardware revenue covers initial costs quickly, while ${((monthly_recurring * 36 / three_year_revenue) * 100).toFixed(0)}% of 3-year revenue comes from recurring subscriptions.` :
selectedModel === "Subscription-Only" ?
`100% recurring revenue maximizes LTV but requires financing hardware costs. Breakeven occurs around month ${Math.ceil((hardwareCOGS + monthlyOpsCost) / recurring_margin)}.` :
selectedModel === "Outcome-Based" ?
`Revenue tied to customer results (${outcomeShare}% of ${"$"}${avgSavings.toLocaleString()}/mo savings = ${"$"}${monthly_recurring.toLocaleString()}/mo). Requires baseline measurement and outcome tracking.` :
`Tiered pricing allows customer segmentation and upsell opportunities.`
}
</div>
</div>`Pricing Model Comparison
Pricing Model Comparison
animation
iot
business
Try Change Select pricing model to compare revenue and margin. Then press Calculate revenue.
Observe Watch 3-year revenue per customer as Hardware Price ($) changes.
Explain Explain why Monthly Per-Unit Operating Cost ($) changes 3-year gross profit per customer.
Technical boundaries. The 3-year calculations hold monthly recurring revenue and operating cost constant. Year 1 business metrics use the same target customer count throughout.
Pricing Model Comparison
Compare different IoT pricing strategies and their impact on 3-year revenue, customer lifetime value, and cash flow dynamics.
Predict whether doubling the fleet guarantees twice the profit. It doubles the simple contribution only if cost per sensor stays fixed. A new customer with a complex factory connection may need extra integration work. Likewise, a free pilot can prove that alarms help a technician, but it cannot establish willingness to pay the full subscription.
Check the launch decision against a paid cohort with the promised support included. Compare observed tickets and staffing time with the allowance used above. This makes the go-to-market choice testable: the offer must deliver customer value and fund its own service burden. The figures here are model inputs, not supplier quotes or a forecast of demand.