{"id":292159,"date":"2026-04-29T09:10:54","date_gmt":"2026-04-29T13:10:54","guid":{"rendered":"https:\/\/dbclimatisation.com\/savings-calculator\/"},"modified":"2026-10-21T14:55:34","modified_gmt":"2026-10-21T18:55:34","slug":"savings-calculator","status":"publish","type":"page","link":"https:\/\/dbclimatisation.com\/en\/savings-calculator\/","title":{"rendered":"Savings Calculator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"292159\" class=\"elementor elementor-292159 elementor-567\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a7f8672 e-flex e-con-boxed e-con e-parent\" data-id=\"a7f8672\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-94e3997 elementor-widget elementor-widget-heading\" data-id=\"94e3997\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Savings Calculator<\/h1>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ac28dca e-flex e-con-boxed e-con e-parent\" data-id=\"ac28dca\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-97a5b1a elementor-widget elementor-widget-html\" data-id=\"97a5b1a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div style=\"max-width:700px;margin:auto;font-family:Arial;padding:20px;border:1px solid #ddd;border-radius:10px\">\r\n<h2>Savings calculator - Heat pump<\/h2>\r\n<label>Current heating type<\/label>\r\n<select id=\"type\" style=\"width:100%;padding:8px;background:#fff;color:#000;border:1px solid #ccc;border-radius:4px\">\r\n<option value=\"electricite\">Electricity<\/option>\r\n<option value=\"mazout\">Heating oil<\/option>\r\n<\/select>\r\n<br>\r\n<label>Annual consumption<\/label>\r\n<input id=\"consommation\" type=\"number\" placeholder=\"e.g. 1800 litres or 20000 kWh\" style=\"width:100%;padding:8px;background:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-sizing:border-box\">\r\n<br><br>\r\n<label>Current energy price ($)<\/label>\r\n<input id=\"prixenergie\" type=\"number\" step=\"0.01\" placeholder=\"e.g. 1.65 heating oil or 0.10 electricity\" style=\"width:100%;padding:8px;background:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-sizing:border-box\">\r\n<br><br>\r\n<label>Average heat pump COP<\/label>\r\n<input id=\"cop\" type=\"number\" step=\"0.1\" value=\"3\" style=\"width:100%;padding:8px;background:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-sizing:border-box\">\r\n<br><br>\r\n<label>Installation cost ($)<\/label>\r\n<input id=\"installation\" type=\"number\" placeholder=\"e.g. 15000\" style=\"width:100%;padding:8px;background:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-sizing:border-box\">\r\n<br><br>\r\n<label>Subsidies ($)<\/label>\r\n<input id=\"subvention\" type=\"number\" placeholder=\"e.g. 5000\" style=\"width:100%;padding:8px;background:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-sizing:border-box\">\r\n<br><br>\r\n<button onclick=\"calculer()\" style=\"background:#0a7cff;color:white;border:none;padding:12px 20px;border-radius:6px;font-size:16px;cursor:pointer\">\r\nCalculate my savings\r\n<\/button>\r\n<div id=\"resultats\" style=\"margin-top:25px;font-size:18px\"><\/div>\r\n<\/div>\r\n<style>\r\n#consommation:focus, #prixenergie:focus, #cop:focus, #installation:focus, #subvention:focus, #type:focus {\r\n  background: #fff !important;\r\n  color: #000 !important;\r\n  outline: 2px solid #0a7cff;\r\n}\r\n<\/style>\r\n<script>\r\nfunction calculer(){\r\nlet type = document.getElementById(\"type\").value\r\nlet consommation = parseFloat(document.getElementById(\"consommation\").value)\r\nlet prixenergie = parseFloat(document.getElementById(\"prixenergie\").value)\r\nlet cop = parseFloat(document.getElementById(\"cop\").value)\r\nlet installation = parseFloat(document.getElementById(\"installation\").value)\r\nlet subvention = parseFloat(document.getElementById(\"subvention\").value)\r\nlet energieMaison\r\nif(type === \"mazout\"){\r\nenergieMaison = consommation * 10.35\r\n} else {\r\nenergieMaison = consommation\r\n}\r\nlet coutActuel = consommation * prixenergie\r\nlet electriciteThermopompe = energieMaison \/ cop\r\nlet prixElectricite = 0.10\r\nlet coutThermopompe = electriciteThermopompe * prixElectricite\r\nlet economie = coutActuel - coutThermopompe\r\nlet coutNet = installation - subvention\r\nlet retour = coutNet \/ economie\r\nlet economie15ans = economie * 15\r\ndocument.getElementById(\"resultats\").innerHTML = `\r\n<b>Current heating cost:<\/b> $${coutActuel.toFixed(0)} \/ year<br><br>\r\n<b>Cost with a heat pump:<\/b> $${coutThermopompe.toFixed(0)} \/ year<br><br>\r\n\ud83d\udd25 <b>Annual savings:<\/b> $${economie.toFixed(0)}<br><br>\r\n\ud83d\udcb0 <b>Payback period:<\/b> ${retour.toFixed(1)} years<br><br>\r\n\ud83d\udcc8 <b>Savings over 15 years:<\/b> $${economie15ans.toFixed(0)}\r\n`\r\n}\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Savings calculator &#8211; Heat pump Current heating type ElectricityHeating oil Annual consumption Current energy price ($) Average heat pump COP Installation cost ($) Subsidies ($) Calculate my savings<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-292159","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/pages\/292159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/comments?post=292159"}],"version-history":[{"count":5,"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/pages\/292159\/revisions"}],"predecessor-version":[{"id":292409,"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/pages\/292159\/revisions\/292409"}],"wp:attachment":[{"href":"https:\/\/dbclimatisation.com\/en\/wp-json\/wp\/v2\/media?parent=292159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}