Solar Panel Installation Calculator

Give your solar installation business an edge with an interactive cost calculator. This template helps potential customers understand the full cost of going solar, including panel quality options, battery storage, and the 30% federal tax credit. Visitors can see estimated annual savings and payback period based on their current electric bills. Capture qualified leads from homeowners ready to make the switch to solar energy.

Home ServicesPopular

Try the Calculator

Solar Panel Installation Estimate
📍 Installation Location
Loading map...
 
📍 Enter address to check service area
🏠 Property Details
 
⚡ System Configuration
 
6
6
315
 
✨ Additional Options

💰 Cost Breakdown
$ 16,500.00
+
$ 0.00
+
$ 500.00
$ -5,100.00
☀️ Your Estimate
$ 11,900.00
$ 1,530.00
/year
Estimated payback period: 7.8 years
Estimates based on average costs. Final price depends on site assessment. Additional state/local incentives may apply.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
export function solarPanelInstallationCalculator(form: FormTs) {
// System size pricing per watt (before incentives)
const pricePerWatt: Record<string, number> = {
'standard': 2.75,
'premium': 3.25,
'high-efficiency': 3.75
};
 
// Roof type adjustments
const roofTypeMultipliers: Record<string, number> = {
'asphalt-shingle': 1.0,
'metal': 1.1,
'tile': 1.25,
'flat': 1.15,
'slate': 1.35
};
 
// Battery storage costs
const batteryPricing: Record<string, number> = {
'none': 0,
'basic': 8000,
'standard': 12000,
'premium': 18000
};
 
form.addRow(row => {
row.addTextPanel('header', {
computedValue: () => 'Solar Panel Installation Estimate',
customStyles: { 'font-size': '1.5rem', 'font-weight': '600', 'color': '#1e293b' }
});
});
 
form.addSpacer({ height: 20 });
 
// Service Location Section
const locationSection = form.addSubform('serviceLocation', { title: '📍 Installation Location' });
 
locationSection.addRow(row => {
row.addAddress('propertyAddress', {
label: 'Property Address',
placeholder: 'Enter your property address...',
showMap: true,
showDistance: true,
referenceAddress: {
formattedAddress: 'Service Center, Denver, CO',
coordinates: { lat: 39.7392, lng: -104.9903 }
},
restrictToCountries: ['US', 'CA'],
distanceUnit: 'miles',
isRequired: true
});
});
 
locationSection.addRow(row => {
row.addTextPanel('serviceAreaInfo', {
computedValue: () => {
const addressField = locationSection.address('propertyAddress');
const miles = addressField?.distance();
if (miles == null) return '📍 Enter address to check service area';
if (miles <= 30) return '📍 Within service area - No travel fee';
if (miles <= 60) return '📍 Extended area - $200 travel fee';
if (miles <= 100) return '📍 Remote area - $400 travel fee';
return '📍 Outside service area - Please call for availability';
},
customStyles: { 'font-size': '0.9rem', 'color': '#0369a1', 'background': '#e0f2fe', 'padding': '10px', 'border-radius': '6px' }
});
});
 
// Property Details Section
const propertySection = form.addSubform('propertyDetails', { title: '🏠 Property Details' });
 
propertySection.addRow(row => {
row.addDropdown('roofType', {
label: 'Roof Type',
options: [
{ id: 'asphalt-shingle', name: 'Asphalt Shingle' },
{ id: 'metal', name: 'Metal Roof' },
{ id: 'tile', name: 'Tile Roof' },
{ id: 'flat', name: 'Flat Roof' },
{ id: 'slate', name: 'Slate Roof' }
],
defaultValue: 'asphalt-shingle',
isRequired: true
}, '1fr');
row.addDropdown('roofAge', {
label: 'Roof Age',
options: [
{ id: 'new', name: 'Less than 5 years' },
{ id: 'moderate', name: '5-15 years' },
{ id: 'old', name: '15-25 years' },
{ id: 'very-old', name: 'Over 25 years' }
],
defaultValue: 'moderate',
isRequired: true
}, '1fr');
});
 
propertySection.addRow(row => {
row.addInteger('monthlyBill', {
label: 'Average Monthly Electric Bill ($)',
min: 50,
max: 1000,
defaultValue: 150,
placeholder: 'e.g. 150',
isRequired: true
}, '1fr');
row.addDropdown('sunExposure', {
label: 'Sun Exposure',
options: [
{ id: 'excellent', name: 'Excellent (Full sun)' },
{ id: 'good', name: 'Good (Some shade)' },
{ id: 'moderate', name: 'Moderate (Partial shade)' },
{ id: 'limited', name: 'Limited (Significant shade)' }
],
defaultValue: 'good',
isRequired: true
}, '1fr');
});
 
// System Configuration Section
const systemSection = form.addSubform('systemConfig', { title: '⚡ System Configuration' });
 
systemSection.addRow(row => {
row.addRadioButton('panelQuality', {
label: 'Panel Quality',
options: [
{ id: 'standard', name: 'Standard (18% efficiency)' },
{ id: 'premium', name: 'Premium (20% efficiency)' },
{ id: 'high-efficiency', name: 'High-Efficiency (22%+ efficiency)' }
],
defaultValue: 'standard',
orientation: 'vertical',
isRequired: true
});
});
 
systemSection.addRow(row => {
row.addSlider('systemSize', {
label: 'System Size (kW)',
min: 3,
max: 15,
step: 0.5,
defaultValue: 6,
showValue: true
});
});
 
systemSection.addRow(row => {
row.addRadioButton('batteryStorage', {
label: 'Battery Storage',
options: [
{ id: 'none', name: 'No Battery' },
{ id: 'basic', name: 'Basic (5 kWh) +$8,000' },
{ id: 'standard', name: 'Standard (10 kWh) +$12,000' },
{ id: 'premium', name: 'Premium (15 kWh) +$18,000' }
],
defaultValue: 'none',
orientation: 'vertical',
isRequired: true
});
});
 
// Additional Options Section
const addonsSection = form.addSubform('addons', { title: '✨ Additional Options' });
 
addonsSection.addRow(row => {
row.addCheckbox('monitoring', {
label: 'Smart Monitoring System (+$500)',
defaultValue: true
}, '1fr');
row.addCheckbox('evCharger', {
label: 'EV Charger Ready Wiring (+$800)',
defaultValue: false
}, '1fr');
});
 
addonsSection.addRow(row => {
row.addCheckbox('critterGuard', {
label: 'Critter Guard (+$400)',
defaultValue: false
}, '1fr');
row.addCheckbox('extendedWarranty', {
label: 'Extended Warranty (+$1,200)',
defaultValue: false
}, '1fr');
});
 
addonsSection.addRow(row => {
row.addCheckbox('roofReinforcement', {
label: 'Roof Reinforcement (if needed) (+$2,500)',
defaultValue: false,
isVisible: () => {
const roofAge = propertySection.dropdown('roofAge')?.value();
return roofAge === 'old' || roofAge === 'very-old';
}
}, '1fr');
});
 
form.addSpacer({ height: 20, showLine: true, lineStyle: 'dashed' });
 
// Helper to calculate travel fee
const getTravelFee = () => {
const addressField = locationSection.address('propertyAddress');
const miles = addressField?.distance();
if (miles == null || miles <= 30) return 0;
if (miles <= 60) return 200;
if (miles <= 100) return 400;
return 600;
};
 
// Price Summary Section
const summarySection = form.addSubform('summary', { title: '💰 Cost Breakdown', isCollapsible: false });
 
summarySection.addRow(row => {
row.addPriceDisplay('systemCost', {
label: 'Solar Panel System',
computedValue: () => {
const panelQuality = systemSection.radioButton('panelQuality')?.value() || 'standard';
const systemSize = systemSection.slider('systemSize')?.value() || 6;
const roofType = propertySection.dropdown('roofType')?.value() || 'asphalt-shingle';
 
const basePrice = pricePerWatt[panelQuality] || 2.75;
const roofMultiplier = roofTypeMultipliers[roofType] || 1.0;
const systemWatts = systemSize * 1000;
 
return Math.round(systemWatts * basePrice * roofMultiplier);
},
variant: 'default'
}, '1fr');
row.addPriceDisplay('batteryCost', {
label: 'Battery Storage',
computedValue: () => {
const battery = systemSection.radioButton('batteryStorage')?.value() || 'none';
return batteryPricing[battery] || 0;
},
variant: 'default',
prefix: '+'
}, '1fr');
});
 
summarySection.addRow(row => {
row.addPriceDisplay('addonsCost', {
label: 'Additional Options',
computedValue: () => {
let total = 0;
if (addonsSection.checkbox('monitoring')?.value()) total += 500;
if (addonsSection.checkbox('evCharger')?.value()) total += 800;
if (addonsSection.checkbox('critterGuard')?.value()) total += 400;
if (addonsSection.checkbox('extendedWarranty')?.value()) total += 1200;
if (addonsSection.checkbox('roofReinforcement')?.value()) total += 2500;
return total;
},
variant: 'default',
prefix: '+'
}, '1fr');
row.addPriceDisplay('travelFee', {
label: 'Travel Fee',
computedValue: () => getTravelFee(),
variant: 'default',
prefix: '+',
isVisible: () => getTravelFee() > 0
}, '1fr');
});
 
summarySection.addRow(row => {
row.addPriceDisplay('federalTaxCredit', {
label: 'Federal Tax Credit (30%)',
computedValue: () => {
const panelQuality = systemSection.radioButton('panelQuality')?.value() || 'standard';
const systemSize = systemSection.slider('systemSize')?.value() || 6;
const roofType = propertySection.dropdown('roofType')?.value() || 'asphalt-shingle';
const battery = systemSection.radioButton('batteryStorage')?.value() || 'none';
 
const basePrice = pricePerWatt[panelQuality] || 2.75;
const roofMultiplier = roofTypeMultipliers[roofType] || 1.0;
const systemWatts = systemSize * 1000;
const systemCost = systemWatts * basePrice * roofMultiplier;
const batteryCost = batteryPricing[battery] || 0;
 
let addonsCost = 0;
if (addonsSection.checkbox('monitoring')?.value()) addonsCost += 500;
if (addonsSection.checkbox('evCharger')?.value()) addonsCost += 800;
if (addonsSection.checkbox('critterGuard')?.value()) addonsCost += 400;
if (addonsSection.checkbox('extendedWarranty')?.value()) addonsCost += 1200;
if (addonsSection.checkbox('roofReinforcement')?.value()) addonsCost += 2500;
 
const travelFee = getTravelFee();
const totalBeforeCredit = systemCost + batteryCost + addonsCost + travelFee;
return -Math.round(totalBeforeCredit * 0.30);
},
variant: 'success',
prefix: ''
});
});
 
const finalSection = form.addSubform('final', {
title: '☀️ Your Estimate',
isCollapsible: false,
sticky: 'bottom'
});
 
finalSection.addRow(row => {
row.addPriceDisplay('totalCost', {
label: 'Estimated Cost After Incentives',
computedValue: () => {
const panelQuality = systemSection.radioButton('panelQuality')?.value() || 'standard';
const systemSize = systemSection.slider('systemSize')?.value() || 6;
const roofType = propertySection.dropdown('roofType')?.value() || 'asphalt-shingle';
const battery = systemSection.radioButton('batteryStorage')?.value() || 'none';
 
const basePrice = pricePerWatt[panelQuality] || 2.75;
const roofMultiplier = roofTypeMultipliers[roofType] || 1.0;
const systemWatts = systemSize * 1000;
const systemCost = systemWatts * basePrice * roofMultiplier;
const batteryCost = batteryPricing[battery] || 0;
 
let addonsCost = 0;
if (addonsSection.checkbox('monitoring')?.value()) addonsCost += 500;
if (addonsSection.checkbox('evCharger')?.value()) addonsCost += 800;
if (addonsSection.checkbox('critterGuard')?.value()) addonsCost += 400;
if (addonsSection.checkbox('extendedWarranty')?.value()) addonsCost += 1200;
if (addonsSection.checkbox('roofReinforcement')?.value()) addonsCost += 2500;
 
const travelFee = getTravelFee();
const totalBeforeCredit = systemCost + batteryCost + addonsCost + travelFee;
const federalCredit = totalBeforeCredit * 0.30;
 
return Math.round(totalBeforeCredit - federalCredit);
},
variant: 'large'
}, '1fr');
row.addPriceDisplay('estimatedSavings', {
label: 'Estimated Annual Savings',
computedValue: () => {
const monthlyBill = propertySection.integer('monthlyBill')?.value() || 150;
const sunExposure = propertySection.dropdown('sunExposure')?.value() || 'good';
 
const exposureMultiplier: Record<string, number> = {
'excellent': 0.95,
'good': 0.85,
'moderate': 0.70,
'limited': 0.50
};
 
const offsetPercent = exposureMultiplier[sunExposure] || 0.85;
return Math.round(monthlyBill * 12 * offsetPercent);
},
variant: 'success',
suffix: '/year'
}, '1fr');
});
 
finalSection.addRow(row => {
row.addTextPanel('payback', {
computedValue: () => {
const panelQuality = systemSection.radioButton('panelQuality')?.value() || 'standard';
const systemSize = systemSection.slider('systemSize')?.value() || 6;
const roofType = propertySection.dropdown('roofType')?.value() || 'asphalt-shingle';
const battery = systemSection.radioButton('batteryStorage')?.value() || 'none';
const monthlyBill = propertySection.integer('monthlyBill')?.value() || 150;
const sunExposure = propertySection.dropdown('sunExposure')?.value() || 'good';
 
const basePrice = pricePerWatt[panelQuality] || 2.75;
const roofMultiplier = roofTypeMultipliers[roofType] || 1.0;
const systemWatts = systemSize * 1000;
const systemCost = systemWatts * basePrice * roofMultiplier;
const batteryCost = batteryPricing[battery] || 0;
 
let addonsCost = 0;
if (addonsSection.checkbox('monitoring')?.value()) addonsCost += 500;
if (addonsSection.checkbox('evCharger')?.value()) addonsCost += 800;
if (addonsSection.checkbox('critterGuard')?.value()) addonsCost += 400;
if (addonsSection.checkbox('extendedWarranty')?.value()) addonsCost += 1200;
if (addonsSection.checkbox('roofReinforcement')?.value()) addonsCost += 2500;
 
const travelFee = getTravelFee();
const totalCost = (systemCost + batteryCost + addonsCost + travelFee) * 0.70;
 
const exposureMultiplier: Record<string, number> = {
'excellent': 0.95,
'good': 0.85,
'moderate': 0.70,
'limited': 0.50
};
const annualSavings = monthlyBill * 12 * (exposureMultiplier[sunExposure] || 0.85);
const paybackYears = Math.round(totalCost / annualSavings * 10) / 10;
 
return `Estimated payback period: ${paybackYears} years`;
},
customStyles: { 'font-size': '0.95rem', 'color': '#059669', 'font-weight': '500' }
});
});
 
finalSection.addRow(row => {
row.addTextPanel('disclaimer', {
computedValue: () => 'Estimates based on average costs. Final price depends on site assessment. Additional state/local incentives may apply.',
customStyles: { 'font-size': '0.85rem', 'color': '#64748b', 'font-style': 'italic' }
});
});
 
form.configureSubmitButton({
label: 'Get Free Quote'
});
}
 

Frequently Asked Questions

Can I customize the pricing for my local market?

Yes. You can adjust the price per watt, roof type multipliers, battery costs, and add-on pricing to match your actual installation costs in your service area.

Does it include federal and state incentives?

The template includes the 30% federal tax credit by default. You can add state-specific incentives, rebates, or utility credits to reflect the full savings in your area.

Can I add different panel brands?

Yes. You can customize the panel quality options to show specific brands you install, with their actual efficiency ratings and pricing.

How accurate are the savings estimates?

The savings are calculated based on the customer's monthly bill and sun exposure. You can adjust the formulas to match real-world production data from your installations.

Can I collect customer information for follow-up?

Yes. The submit button captures contact details so you can follow up with qualified leads. Connect to your CRM via webhooks for automatic lead routing.