Interactive TCO Comparison Calculator
Try Change Messages per Device per Day, then press Calculate TCO.
Observe After Calculate TCO, compare AWS IoT Core, Azure IoT Hub, and Specialist Platform under Annual TCO Comparison.
Explain Explain why Messages per Device per Day changes Annual TCO Comparison after Calculate TCO.
Calculate TCO
Reset
Technical boundaries. Platform costs use a simplified model with 30 days per month. Real TCO should also include integration, training, and ongoing maintenance costs.
Interactive TCO Comparison Calculator
Compare total cost of ownership across IoT platforms:
viewof deviceCount = Inputs. range ([1000 , 100000 ], {
label : "Number of Devices" ,
step : 1000 ,
value : 10000
})
viewof messagesPerDay = Inputs. range ([50 , 1000 ], {
label : "Messages per Device per Day" ,
step : 50 ,
value : 288
})
viewof dataPerMessage = Inputs. range ([0.1 , 10 ], {
label : "KB per Message" ,
step : 0.1 ,
value : 1
})
monthlyMessages = deviceCount * messagesPerDay * 30
monthlyMessagesM = monthlyMessages / 1000000
monthlyDataGB = (monthlyMessages * dataPerMessage) / (1024 * 1024 )
// Platform costs (simplified model)
aws_monthly = (deviceCount * 0.08 ) + (monthlyMessagesM * 1.00 ) + (monthlyDataGB * 0.023 ) + (monthlyMessagesM * 0.15 ) + 500 + (15000 / 12 )
azure_monthly = (deviceCount * 0.10 ) + (monthlyMessagesM * 1.50 ) + (monthlyDataGB * 0.018 ) + (monthlyMessagesM * 0.20 ) + 100 + (12000 / 12 )
specialist_monthly = 50000 / 12 + (monthlyDataGB > 100 * 1024 ? (monthlyDataGB - 100 * 1024 ) * 0.05 : 0 ) + (20000 / 12 )
aws_annual = aws_monthly * 12
azure_annual = azure_monthly * 12
specialist_annual = specialist_monthly * 12
// Find lowest cost
lowestCost = Math . min (aws_annual, azure_annual, specialist_annual)
html `
<div style="background: linear-gradient(135deg, #6D28D9 0%, #1D4ED8 100%); padding: 25px; border-radius: 8px; color: white; margin: 15px 0;">
<h3 class="fm-panel-title">Annual TCO Comparison</h3>
<div style="font-size: 13px; opacity: 0.9; margin-bottom: 20px;">
${ deviceCount. toLocaleString ()} devices • ${ messagesPerDay} msgs/day • ${ dataPerMessage} KB/msg
= ${ monthlyMessagesM. toFixed (1 )} M msgs/month • ${ monthlyDataGB. toFixed (1 )} GB/month
</div>
<div class="fm-kpi-grid">
<div style="background: ${ aws_annual === lowestCost ? 'rgba(22,160,133,0.3)' : 'rgba(255,255,255,0.1)' } ; padding: 15px; border-radius: 6px; border: ${ aws_annual === lowestCost ? '2px solid #0F766E' : '1px solid rgba(255,255,255,0.2)' } ;">
<div style="font-size: 14px; font-weight: 600; margin-bottom: 8px;">AWS IoT Core</div>
<div style="font-size: 28px; font-weight: bold;"> ${ "$" }${ aws_annual. toLocaleString (undefined , {maximumFractionDigits : 0 })} </div>
<div style="font-size: 12px; opacity: 0.8; margin-top: 5px;"> ${ "$" }${ (aws_monthly). toFixed (0 )} /month</div>
<div style="font-size: 11px; opacity: 0.7; margin-top: 5px;">Pay-per-use model</div>
${ aws_annual === lowestCost ? '<div style="margin-top: 8px; padding: 4px 8px; background: #0F766E; border-radius: 4px; font-size: 11px; font-weight: 600;">LOWEST COST</div>' : '' }
</div>
<div style="background: ${ azure_annual === lowestCost ? 'rgba(22,160,133,0.3)' : 'rgba(255,255,255,0.1)' } ; padding: 15px; border-radius: 6px; border: ${ azure_annual === lowestCost ? '2px solid #0F766E' : '1px solid rgba(255,255,255,0.2)' } ;">
<div style="font-size: 14px; font-weight: 600; margin-bottom: 8px;">Azure IoT Hub</div>
<div style="font-size: 28px; font-weight: bold;"> ${ "$" }${ azure_annual. toLocaleString (undefined , {maximumFractionDigits : 0 })} </div>
<div style="font-size: 12px; opacity: 0.8; margin-top: 5px;"> ${ "$" }${ (azure_monthly). toFixed (0 )} /month</div>
<div style="font-size: 11px; opacity: 0.7; margin-top: 5px;">Pay-per-use model</div>
${ azure_annual === lowestCost ? '<div style="margin-top: 8px; padding: 4px 8px; background: #0F766E; border-radius: 4px; font-size: 11px; font-weight: 600;">LOWEST COST</div>' : '' }
</div>
<div style="background: ${ specialist_annual === lowestCost ? 'rgba(22,160,133,0.3)' : 'rgba(255,255,255,0.1)' } ; padding: 15px; border-radius: 6px; border: ${ specialist_annual === lowestCost ? '2px solid #0F766E' : '1px solid rgba(255,255,255,0.2)' } ;">
<div style="font-size: 14px; font-weight: 600; margin-bottom: 8px;">Specialist Platform</div>
<div style="font-size: 28px; font-weight: bold;"> ${ "$" }${ specialist_annual. toLocaleString (undefined , {maximumFractionDigits : 0 })} </div>
<div style="font-size: 12px; opacity: 0.8; margin-top: 5px;"> ${ "$" }${ (specialist_monthly). toFixed (0 )} /month</div>
<div style="font-size: 11px; opacity: 0.7; margin-top: 5px;">Fixed pricing model</div>
${ specialist_annual === lowestCost ? '<div style="margin-top: 8px; padding: 4px 8px; background: #0F766E; border-radius: 4px; font-size: 11px; font-weight: 600;">LOWEST COST</div>' : '' }
</div>
</div>
<div style="margin-top: 20px; padding: 15px; background: rgba(0,0,0,0.2); border-radius: 6px; font-size: 13px;">
Real TCO should also include integration, training, and ongoing maintenance costs; estimate each for the deployment.
</div>
</div>
`
Back to the chapter