Skip to content

Add the solar payback calculator to your website

Free embeddable solar payback calculator for installers, bloggers and anyone writing about home solar. Paste one snippet; it runs in the visitor’s browser and stores nothing.

What your visitors get

  • The same calculator as this site, with the same published starting figures and sources.
  • Payback period, yearly and 25-year savings, and a year-by-year table, from their own bill and quote.
  • No sign-up, no fee, no ads inside the widget, and nothing typed into it is sent anywhere.
  • It works on phones and resizes to fit when the optional script is included.

Pick a version and copy the code

Paste the code where you want the calculator to appear, using your site builder’s HTML or code block. If your site removes script tags, the calculator still works: it shows at a fixed height of 1700 pixels and scrolls inside its frame. Please keep the “Powered by” line.

United States

US dollars, US electricity prices and PVWatts solar output for US cities. Asks for the quoted price to show payback.

Code without the script

United Kingdom

Pounds sterling, the Ofgem price cap unit rate, PVGIS solar output for UK towns and the government median installed price.

Code without the script

Both, with a country switch

Starts on the US version; visitors can switch to the UK version.

Code without the script

Preview

This is the version with the country switch, exactly as it appears on another site.

Good to know

  • Starting figures update when we refresh our data, so the widget never needs changing on your side. Every figure and its source is listed on the methodology page.
  • The results are estimates, not a quote. The calculator values only electricity a home no longer buys; payments for power sent to the grid are not counted.
  • The script only listens for the calculator’s height from this site. It does not load anything else.