viewof deviceType = Inputs.radio(["Connected", "IoT"], {label: "Device Type", value: "Connected"})
viewof hardwareCost = Inputs.range([50, 300], {
value: deviceType === "Connected" ? 100 : 200,
step: 10,
label: "Hardware Cost ($)"
})
viewof subscriptionFee = Inputs.range([0, 15], {
value: deviceType === "Connected" ? 0 : 4.99,
step: 0.5,
label: "Monthly Subscription ($)"
})
viewof energySavings = Inputs.range([0, 30], {
value: deviceType === "Connected" ? 0 : 15,
step: 1,
label: "Monthly Energy Savings ($)"
})
viewof customerLifetime = Inputs.range([12, 60], {
value: 36,
step: 6,
label: "Customer Lifetime (months)"
})
totalSubscription = subscriptionFee * customerLifetime
totalSavings = energySavings * customerLifetime
totalCost = hardwareCost + totalSubscription
netValue = totalSavings - totalCost
roi = ((netValue / totalCost) * 100).toFixed(1)
html`
<div style="background: #f8f9fa; padding: 20px; border-radius: 8px; border-left: 4px solid #9B59B6;">
<div style="color: #2C3E50; margin-top: 0; font-size: 1rem; font-weight: 700;">ROI Comparison</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 15px;">
<div style="background: white; padding: 12px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
<div style="color: #7F8C8D; font-size: 0.85em; margin-bottom: 4px;">Hardware</div>
<div style="color: #2C3E50; font-size: 1.4em; font-weight: bold;">$${hardwareCost}</div>
</div>
<div style="background: white; padding: 12px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
<div style="color: #7F8C8D; font-size: 0.85em; margin-bottom: 4px;">Subscriptions</div>
<div style="color: #E67E22; font-size: 1.4em; font-weight: bold;">$${totalSubscription.toFixed(0)}</div>
<div style="color: #7F8C8D; font-size: 0.75em;">${customerLifetime} months</div>
</div>
<div style="background: white; padding: 12px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
<div style="color: #7F8C8D; font-size: 0.85em; margin-bottom: 4px;">Total Savings</div>
<div style="color: #16A085; font-size: 1.4em; font-weight: bold;">$${totalSavings.toFixed(0)}</div>
<div style="color: #7F8C8D; font-size: 0.75em;">${customerLifetime} months</div>
</div>
<div style="background: white; padding: 12px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
<div style="color: #7F8C8D; font-size: 0.85em; margin-bottom: 4px;">Net ROI</div>
<div style="color: ${netValue > 0 ? "#16A085" : "#E74C3C"}; font-size: 1.4em; font-weight: bold;">${roi}%</div>
</div>
</div>
<div style="margin-top: 15px; padding: 12px; background: ${netValue > 0 ? "#d4edda" : "#f8d7da"}; border-radius: 6px; border-left: 3px solid ${netValue > 0 ? "#16A085" : "#E74C3C"};">
<strong style="color: ${netValue > 0 ? "#16A085" : "#E74C3C"};">${netValue > 0 ? "✓ Positive ROI" : "✗ Negative ROI"}</strong>
<span style="color: #2C3E50; display: block; margin-top: 6px; font-size: 0.9em;">
${deviceType === "Connected" && netValue <= 0 ?
"Basic connected services struggle with ROI when they charge subscriptions without delivering measurable value. This is why a capability-to-price gap can undermine a launch." :
deviceType === "IoT" && netValue > 0 ?
`IoT devices justify subscriptions by delivering $${(totalSavings - totalSubscription).toFixed(0)} net value over ${customerLifetime} months.` :
"Adjust savings or subscription fee to achieve positive ROI"}
</span>
</div>
</div>
`Connected vs IoT ROI Tool
Connected vs IoT ROI Tool
animation
iot
Try Change Monthly Energy Savings ($), then press Calculate ROI.
Observe After Calculate ROI, compare Subscriptions, Total Savings, and Net ROI.
Explain Explain why Calculate ROI changes Net ROI when savings or subscription fee changes.
Technical boundaries. Total cost includes hardware and lifetime subscriptions; total savings uses constant monthly energy savings. Operating costs and evidence still belong in the business case.
Connected vs IoT ROI Tool
Compare the total cost of ownership and return on investment between Connected and IoT devices over their customer lifetime.
Key Finding: Notice how basic connected services struggle to justify subscription revenue without measurable savings. Adaptive automation may create quantifiable value, but the evidence and operating costs still belong in the business case.
Key Takeaway: The progression from Embedded -> Connected -> IoT represents not just technological advancement, but a fundamental shift in business models (one-time sale -> subscription services), value proposition (features -> outcomes), and customer relationships (transactional -> ongoing engagement).