Edge Processing Savings Calculator
Try Change Edge reduction (%) from 99 to 80.
Observe Compare With Edge (monthly), Monthly Savings, and Gateway Payback at 80% reduction.
Explain Explain why 99% edge reduction changes connectivity costs and gateway payback.
Calculate savings
Reset
Technical boundaries. Connectivity costs use camera data rates for 24 hours per day and 30 days per month. Gateway payback uses total gateway cost and monthly connectivity savings in this illustrative dairy-shed scenario.
Edge Processing Savings Calculator
Adjust the parameters below to see how edge processing affects connectivity costs for a multi-shed IoT deployment. The dominant cost driver is typically the highest-bandwidth device (cameras).
viewof edgeCostSheds = Inputs. range ([1 , 500 ], {value : 200 , step : 1 , label : "Number of sheds" })
viewof edgeCostCameras = Inputs. range ([0 , 20 ], {value : 8 , step : 1 , label : "IP cameras per shed" })
viewof edgeCostCameraRateMB = Inputs. range ([1 , 20 ], {value : 6.75 , step : 0.25 , label : "Camera data rate (MB/min)" })
viewof edgeCostPerGB = Inputs. range ([1 , 50 ], {value : 12 , step : 1 , label : "Connectivity cost ($/GB)" })
viewof edgeCostReduction = Inputs. range ([80 , 99.9 ], {value : 99 , step : 0.1 , label : "Edge reduction (%)" })
viewof edgeCostGatewayPrice = Inputs. range ([100 , 3000 ], {value : 900 , step : 50 , label : "Gateway cost per shed ($)" })
edgeCostCalc = {
const dailyRawGB = edgeCostCameras * edgeCostCameraRateMB * 60 * 24 / 1000 ;
const dailyEdgeGB = dailyRawGB * (1 - edgeCostReduction / 100 );
const monthlyRawCost = dailyRawGB * 30 * edgeCostPerGB;
const monthlyEdgeCost = dailyEdgeGB * 30 * edgeCostPerGB;
const totalMonthlyRaw = monthlyRawCost * edgeCostSheds;
const totalMonthlyEdge = monthlyEdgeCost * edgeCostSheds;
const totalGatewayCost = edgeCostGatewayPrice * edgeCostSheds;
const monthlySavings = totalMonthlyRaw - totalMonthlyEdge;
const paybackDays = monthlySavings > 0 ? totalGatewayCost / (monthlySavings / 30 ) : Infinity ;
return html `<div style="background: var(--bs-light, #f8f9fa); border: 1px solid var(--bs-border-color, #dee2e6); border-radius: 8px; padding: 1.2rem; color: var(--bs-body-color); font-family: Arial, sans-serif;">
<div class="edge-acq-metric-grid">
<div class="edge-acq-metric-card" style="background: var(--bs-body-bg); border-radius: 6px; padding: 0.8rem; border-left: 4px solid #E74C3C;">
<div style="font-size: 0.75rem; color: #7F8C8D; text-transform: uppercase;">Without Edge (monthly)</div>
<div style="font-size: 1.3rem; font-weight: bold; color: #E74C3C; overflow-wrap: anywhere;">$ ${ totalMonthlyRaw >= 1e6 ? (totalMonthlyRaw/ 1e6 ). toFixed (1 ) + 'M' : totalMonthlyRaw. toLocaleString (undefined , {maximumFractionDigits : 0 })} </div>
<div style="font-size: 0.75rem; color: var(--bs-body-color); overflow-wrap: anywhere;"> ${ (dailyRawGB). toFixed (1 )} GB/day/shed</div>
</div>
<div class="edge-acq-metric-card" style="background: var(--bs-body-bg); border-radius: 6px; padding: 0.8rem; border-left: 4px solid #16A085;">
<div style="font-size: 0.75rem; color: #7F8C8D; text-transform: uppercase;">With Edge (monthly)</div>
<div style="font-size: 1.3rem; font-weight: bold; color: #16A085; overflow-wrap: anywhere;">$ ${ totalMonthlyEdge >= 1e6 ? (totalMonthlyEdge/ 1e6 ). toFixed (1 ) + 'M' : totalMonthlyEdge. toLocaleString (undefined , {maximumFractionDigits : 0 })} </div>
<div style="font-size: 0.75rem; color: var(--bs-body-color); overflow-wrap: anywhere;"> ${ (dailyEdgeGB * 1000 ). toFixed (0 )} MB/day/shed</div>
</div>
<div class="edge-acq-metric-card" style="background: var(--bs-body-bg); border-radius: 6px; padding: 0.8rem; border-left: 4px solid #3498DB;">
<div style="font-size: 0.75rem; color: #7F8C8D; text-transform: uppercase;">Gateway Payback</div>
<div style="font-size: 1.3rem; font-weight: bold; color: #3498DB; overflow-wrap: anywhere;"> ${ paybackDays === Infinity ? 'N/A' : paybackDays < 1 ? '<1 day' : paybackDays. toFixed (0 ) + ' days' } </div>
<div style="font-size: 0.75rem; color: var(--bs-body-color); overflow-wrap: anywhere;">$ ${ totalGatewayCost. toLocaleString ()} total HW</div>
</div>
</div>
<div style="text-align: center; padding: 0.6rem; background: var(--bs-body-bg); border-radius: 6px;">
<span style="font-size: 0.95rem; font-weight: bold; color: #2C3E50;">Monthly Savings ( ${ edgeCostSheds} sheds): </span>
<span style="font-size: 1.2rem; font-weight: bold; color: #E67E22;">$ ${ (totalMonthlyRaw - totalMonthlyEdge) >= 1e6 ? ((totalMonthlyRaw - totalMonthlyEdge)/ 1e6 ). toFixed (1 ) + 'M' : (totalMonthlyRaw - totalMonthlyEdge). toLocaleString (undefined , {maximumFractionDigits : 0 })} </span>
</div>
</div>` ;
}
Result: A single Raspberry Pi 4 gateway (NZD 900 with edge ML accelerator) per shed handles all three device categories: protocol translation for Non-IP sensors, video analytics for IP cameras, and pass-through for the SCADA controller. Under this illustrative dairy-shed scenario’s stated prices, the modeled 99% data reduction makes rural 4G connectivity economically viable.
Key Insight: The three device categories in this illustrative dairy-shed scenario map directly to three gateway functions: Big Things need routing (IP to IP), Small IP Things need edge inference (reduce high-bandwidth streams), and Non-IP Things need protocol translation (Modbus/4-20 mA/RFID to MQTT). A single edge gateway serves all three roles, and the dominant cost driver is the highest-bandwidth device category (cameras, in this case).
Back to the chapter