viewof manufacturingCost = Inputs.range([10, 500], {
value: 85,
step: 5,
label: "Manufacturing Cost (BOM + Production) ($)"
})
viewof monthlyCustomerSavings = Inputs.range([10, 1000], {
value: 200,
step: 10,
label: "Monthly Customer Savings ($)"
})
viewof costPlusMarkup = Inputs.range([25, 200], {
value: 75,
step: 5,
label: "Cost-Plus Markup (%)"
})
viewof valueCapturePercent = Inputs.range([10, 50], {
value: 20,
step: 5,
label: "Value Capture (% of First-Year Benefit)"
})
// Calculations
costPlusPrice = manufacturingCost * (1 + costPlusMarkup / 100)
annualSavings = monthlyCustomerSavings * 12
valueBasedPrice = annualSavings * (valueCapturePercent / 100)
costPlusProfit = costPlusPrice - manufacturingCost
valueBasedProfit = valueBasedPrice - manufacturingCost
costPlusCustomerBenefit = annualSavings - costPlusPrice
valueBasedCustomerBenefit = annualSavings - valueBasedPrice
costPlusPayback = costPlusPrice / monthlyCustomerSavings
valueBasedPayback = valueBasedPrice / monthlyCustomerSavings
revenueLeftOnTable = valueBasedPrice - costPlusPrice
function formatPrice(value) {
return "$" + value.toFixed(0);
}
function formatMonths(value) {
return value.toFixed(1) + " months";
}
html`
<div style="background: linear-gradient(135deg, #2C3E50 0%, #9B59B6 100%); padding: 20px; border-radius: 8px; color: white; margin: 20px 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere;">
<h3 style="margin-top: 0; color: white; border-bottom: 2px solid rgba(255,255,255,0.3); padding-bottom: 12px;">Pricing Strategy Comparison</h3>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-bottom: 20px; max-width: 100%; box-sizing: border-box;">
<!-- Cost-Plus Pricing Column -->
<div style="background: rgba(255,255,255,0.1); padding: 14px; border-radius: 6px; border: 2px solid #7F8C8D; min-width: 0; max-width: 100%; box-sizing: border-box;">
<h4 style="margin-top: 0; font-size: 16px; color: #E67E22;">Cost-Plus Pricing</h4>
<div style="text-align: center; padding: 16px 0;">
<div style="font-size: 14px; opacity: 0.9;">Price</div>
<div style="font-size: 36px; font-weight: bold; color: #E67E22;">${formatPrice(costPlusPrice)}</div>
<div style="font-size: 12px; opacity: 0.8; margin-top: 4px;">
${formatPrice(manufacturingCost)} cost + ${costPlusMarkup}% markup
</div>
</div>
<div style="background: rgba(0,0,0,0.2); padding: 12px; border-radius: 4px; margin-top: 12px;">
<div style="font-size: 12px; opacity: 0.9; margin-bottom: 8px;"><strong>Company Perspective:</strong></div>
<div style="font-size: 13px; line-height: 1.5;">
• Profit: ${formatPrice(costPlusProfit)}<br>
• Margin: ${((costPlusProfit / costPlusPrice) * 100).toFixed(0)}%
</div>
</div>
<div style="background: rgba(0,0,0,0.2); padding: 12px; border-radius: 4px; margin-top: 8px;">
<div style="font-size: 12px; opacity: 0.9; margin-bottom: 8px;"><strong>Customer Perspective:</strong></div>
<div style="font-size: 13px; line-height: 1.5;">
• Annual savings: ${formatPrice(annualSavings)}<br>
• Net benefit: ${formatPrice(costPlusCustomerBenefit)}<br>
• Payback: ${formatMonths(costPlusPayback)}<br>
• ROI: ${((costPlusCustomerBenefit / costPlusPrice) * 100).toFixed(0)}%
</div>
</div>
</div>
<!-- Value-Based Pricing Column -->
<div style="background: rgba(255,255,255,0.1); padding: 14px; border-radius: 6px; border: 2px solid #16A085; min-width: 0; max-width: 100%; box-sizing: border-box;">
<h4 style="margin-top: 0; font-size: 16px; color: #16A085;">Value-Based Pricing</h4>
<div style="text-align: center; padding: 16px 0;">
<div style="font-size: 14px; opacity: 0.9;">Price</div>
<div style="font-size: 36px; font-weight: bold; color: #16A085;">${formatPrice(valueBasedPrice)}</div>
<div style="font-size: 12px; opacity: 0.8; margin-top: 4px;">
${valueCapturePercent}% of ${formatPrice(annualSavings)} annual value
</div>
</div>
<div style="background: rgba(0,0,0,0.2); padding: 12px; border-radius: 4px; margin-top: 12px;">
<div style="font-size: 12px; opacity: 0.9; margin-bottom: 8px;"><strong>Company Perspective:</strong></div>
<div style="font-size: 13px; line-height: 1.5;">
• Profit: ${formatPrice(valueBasedProfit)}<br>
• Margin: ${((valueBasedProfit / valueBasedPrice) * 100).toFixed(0)}%
</div>
</div>
<div style="background: rgba(0,0,0,0.2); padding: 12px; border-radius: 4px; margin-top: 8px;">
<div style="font-size: 12px; opacity: 0.9; margin-bottom: 8px;"><strong>Customer Perspective:</strong></div>
<div style="font-size: 13px; line-height: 1.5;">
• Annual savings: ${formatPrice(annualSavings)}<br>
• Net benefit: ${formatPrice(valueBasedCustomerBenefit)}<br>
• Payback: ${formatMonths(valueBasedPayback)}<br>
• ROI: ${((valueBasedCustomerBenefit / valueBasedPrice) * 100).toFixed(0)}%
</div>
</div>
</div>
</div>
<!-- Key Insight Panel -->
<div style="background: ${revenueLeftOnTable > 0 ? 'rgba(230, 126, 34, 0.3)' : 'rgba(22, 160, 133, 0.3)'}; padding: 16px; border-radius: 6px; border: 2px solid ${revenueLeftOnTable > 0 ? '#E67E22' : '#16A085'}; max-width: 100%; box-sizing: border-box;">
<h4 style="margin-top: 0; font-size: 15px; color: ${revenueLeftOnTable > 0 ? '#E67E22' : '#16A085'};">
${revenueLeftOnTable > 0 ? 'Revenue Opportunity' : 'Pricing Aligned'}
</h4>
<div style="font-size: 14px; line-height: 1.6;">
${revenueLeftOnTable > 0 ? `
<strong>Cost-plus pricing leaves ${formatPrice(revenueLeftOnTable)} on the table per unit.</strong><br><br>
Value-based pricing captures ${((valueBasedProfit / costPlusProfit) * 100).toFixed(0)}% more profit while customers still get ${((valueBasedCustomerBenefit / valueBasedPrice) * 100).toFixed(0)}% ROI in year one.
With a ${formatMonths(valueBasedPayback)} payback period, customers see clear value justification.
` : `
Your cost-plus markup is aggressive enough that value-based and cost-plus pricing converge.
Consider market competition and customer willingness to pay when setting final price.
`}
</div>
</div>
<!-- Strategic Recommendations -->
<div style="margin-top: 16px; padding: 16px; background: rgba(0,0,0,0.2); border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); max-width: 100%; box-sizing: border-box;">
<h4 style="margin-top: 0; font-size: 14px; color: #3498DB;">Pricing Strategy Recommendations</h4>
<ul style="font-size: 13px; line-height: 1.6; margin: 8px 0; padding-left: 20px;">
${valueBasedPayback < 3 ?
"<li><strong>Strong value proposition:</strong> Payback under 3 months makes value-based pricing highly defensible. Customers will see immediate ROI.</li>" :
valueBasedPayback < 12 ?
"<li><strong>Acceptable payback:</strong> Less than 1-year payback is reasonable for B2B IoT. Emphasize annual savings in marketing.</li>" :
"<li><strong>Long payback period:</strong> Consider lowering value capture % or highlighting multi-year cumulative savings to justify price.</li>"}
${revenueLeftOnTable > manufacturingCost ?
"<li><strong>Significant upside:</strong> You're leaving more revenue on the table than your manufacturing cost. Shift to value-based pricing for better margins.</li>" :
revenueLeftOnTable > 0 ?
"<li><strong>Moderate opportunity:</strong> Value-based pricing would increase profit. Test pricing sensitivity with customer interviews.</li>" :
"<li><strong>Aggressive cost-plus:</strong> Your markup already approaches value-based pricing. Validate with competitive analysis.</li>"}
<li><strong>Customer win-win:</strong> Even at value-based pricing, customers keep ${formatPrice(valueBasedCustomerBenefit)} annual benefit (${((100 - valueCapturePercent)).toFixed(0)}% of total value).</li>
<li><strong>Next step:</strong> Survey customers: "Would you pay ${formatPrice(valueBasedPrice)} for a device saving you ${formatPrice(monthlyCustomerSavings)}/month?" to validate willingness to pay.</li>
</ul>
</div>
</div>
`Value-Based Pricing Tool
Value-Based Pricing Tool
animation
iot
pricing
Try Change Monthly Customer Savings ($) from 200 to 500.
Observe Watch Price, Profit and Payback after you press Calculate pricing.
Explain Explain why monthly customer savings changes value-based pricing when you press Calculate pricing.
Technical boundaries. Annual savings equal monthly customer savings multiplied by 12. Profit subtracts manufacturing cost only, and customer ROI uses first-year savings minus price.
Value-Based Pricing Tool
Compare cost-plus pricing versus value-based pricing to see how pricing strategy impacts revenue capture and customer ROI.
Sense Energy Monitor Example
Use the calculator with these inputs to replicate the Sense Energy Monitor case study:
- Manufacturing cost: $85
- Monthly customer savings: $200 (from identifying HVAC inefficiencies)
- Cost-plus markup: 75% → Price: $149
- Value capture: 20% of annual savings → Price: $480
Notice how value-based pricing captures $331 more revenue per unit while customers still get $1,920 annual net benefit (4:1 value ratio). This is why Sense raised their price from $299 to $399 with minimal churn.