Free widget
Free EV charging cost calculator widget (embed code)
Rates checked 22 October 2026 for E.ON; 11 November 2026 for Intelligent Octopus Go; 30 October 2026 for Octopus Go; 15 October 2026 for the Ofgem cap · PlugLater
This page is the free EV charging cost calculator widget: copy the iframe embed code and preview it below.
Add a free EV charging cost calculator to your website. It compares a home tariff with the Ofgem price cap and public rapid charging for all 162 UK EVs on the charging costs page, or any car’s miles per kWh. Cars that have more than one version on this site can be switched in the widget. A slider sets the share charged at home. The rest uses the public rapid rate. Paste one snippet; nothing else to install.
Privacy-friendly by design. The widget loads this site’s rates file, so the “Rates checked” line stays current, and the same car list as the charging costs page. It does not use cookies, local storage, analytics, external fonts or third-party scripts, and it does not track your visitors, so it doesn’t add anything to your cookie banner. It only sends its own height to your page (for the optional auto-resize script below).
Preview
Copy-paste code
Use the auto-resize script on a narrow column. A fixed iframe height can clip the calculator when the column is narrow, including the 300px example below. Paste this script once, anywhere after the iframe. It is the reliable way to keep the whole calculator in view.
Standard (light):
Dark sites:
Start on a car and mileage (example: BYD Sealion 7, 10,000 miles):
A car version and a tariff (Tesla Model 3 Performance, Octopus Go):
Narrow column (about 300px): a fixed height can clip this. Use the auto-resize script at the top of this section.
Home and public split (Tesla Model Y, 80% at home, public charging at 55p):
Options
theme=dark: dark colours.compact=1: stacks the fields for a column about 300px wide.miles=10000: starting mileage.tariff=eon-smart,tariff=iog,tariff=eon,tariff=goortariff=cap: starting home tariff, from the rates file. Default is Intelligent Octopus Go.home=7.5: starting home rate in pence, if you don’t want one of those tariffs. Default 7.9p (£50 exit fee).car=…: starting car. IDs:abarth600,a290,a2,a6,q4,q4sb,q6,i3-50,i4-35,i4,i4-m60,i5,ix1,ix1-x30,ix3,ix4-40,ix4-50,atto2,atto3,dolphin,surf,seal-awd,seal,sealion7,c5,ec3,ec4,born,born-79,raval,tavascan,spring,dsn4,f500,f600,capri-awd,capri,explorer,expl-awd,mache,puma,gv60,supern,inster-lr,inster-sr,ioniq3,ioniq5-63,ioniq5-awd,ioniq5,ioniq6,ioniq6-awd,kona,jaecoo,avenger,compass,ev2,ev3,ev3-sr,ev4-fb,ev4-h58,ev4-h81,ev5,ev5-awd,ev6-awd,ev6-gt,ev6,ev9-awd,ev9,b05,b10,t03,rz,cla,eqe-suv,eqs-suv,gla,glc,cyber,mgs5-lr,mgs5-sr,mg4-er,mg4-lr,mg4,mg4-x,mini-aceman,mini-cooper,mini-se,mini-se-f56,mini-country,ariya-63,ariya,leaf-75,leaf,micra,omoda,e208,e2008,e3008,e3008-dm,e3008-lr,e5008,p2-dm,polestar-2,p2-sr,polestar-3,p4-dm,polestar-4,macan,r4,r5-40,r5,megane,scenic,elroq-60,elroq,elroq-rs,enyaq-60,enyaq,enyaq-85x,enyaq-rs,epiq,peaq,smart1,smart3,solterra,vitara,model-3,m3-perf,m3-awd,model3p,model-y,my-perf,my-awd,modelyp,bz-awd,bz4x,chr,astra,corsa,frontera-44,frontera-54,grandland,mokka,idbuzz,id-polo,id3-50,id3,id3-79,id4,id4-4m,id4-pure,id5,id7-gtx,id7-pro,id7-tourer,ex30,ex30-p8,ex5,ex60,ex90,g6-awd,g6-lr.variant=…: a version of that car, where the car page has more than one. Use the short name, such asperformanceorpremium-rwd, or a number starting at 0.mpk=3.61: miles per kWh, from 1 to 8. A valid car still sets this from that car unlessmpkis in the link.home_share=80: percent of the mileage charged at home, from 0 to 100. Values are clamped and rounded to a step of 5. Default 100, which is all home. Divide that percent by 100 before using it as a fraction. Yearly mix cost is miles ÷ miles per kWh × ((home_share ÷ 100) × home rate + (1 − home_share ÷ 100) × public rate). The result shows the home part, the public part and the total.public=55: public charging rate in pence per kWh. Leave it out, or leave the box blank, to use the named-operator pay-as-you-go range from the rates file. The field is shown when home share is under 100% and hidden at 100%. A value from 0 to 200 is kept. A missing value, a value that is not a number, or a value below 0 or above 200 clears the box and uses that range. Example:home_share=80&public=55. The olderpub=name still sets the same rate. At 100% home the mix row is hidden.winter=1: use 21% more energy per mile.winter=0leaves it off.
Adding it
In WordPress, add a Custom HTML block and paste the snippet. In Wix, add an Embed element and paste it. In Squarespace, add a Code block and paste it. Leave the “Powered by PlugLater” line in place.
Terms
- Free for any website, including commercial ones such as installers, dealers, EV clubs and blogs.
- Please keep the small “Powered by PlugLater” credit. You don’t need to add any other link.
- The widget loads from this site, so when its rates are updated your embed shows the new figures without any change on your side. Current figures were checked 22 October 2026 for E.ON; 11 November 2026 for Intelligent Octopus Go; 30 October 2026 for Octopus Go; 15 October 2026 for the Ofgem cap.
- The figures are worked examples, not financial advice or a quote.
Questions about the embed: stephen@smartshift-uk.com.
Questions people ask
Is the PlugLater calculator widget free?
Yes. It is free for any website, including commercial sites. Please keep the small “Powered by PlugLater” credit.
Does the widget use cookies or track visitors?
No. It loads this site’s rates file, so the checked date stays current, and the same car list as the charging costs page. It does not use cookies, local storage, analytics or third-party scripts, so it doesn’t need a consent banner.
Which rates does it use?
A tariff list from the PlugLater rates file: E.ON Next Drive Smart at 6.5p/kWh (00:00–06:00), Intelligent Octopus Go at 7.9p/kWh (£50 exit fee), E.ON Next Drive Fixed V37 at 8.5p/kWh (00:00–06:00), Octopus Go at 9.4p/kWh (£50 exit fee) and the 26.32p average price cap (1 October–31 December 2026), plus the named-operator pay-as-you-go rapid range from the rates file. E.ON controls when the car charges on Next Drive Smart. E.ON says you need an eligible electric vehicle and charger, and a smart meter with half-hourly consent (E.ON’s Next Drive page, checked 25 November 2026). Rates checked 22 October 2026 for E.ON; 11 November 2026 for Intelligent Octopus Go; 30 October 2026 for Octopus Go; 15 October 2026 for the Ofgem cap. Intelligent Octopus Go (IOG-SMB-FIX-12M-26-11-11) checked 11 November 2026 (new customers from 11 November 2026). Octopus Go (GO-FIX-12M-26-10-30) checked 30 October 2026 (new customers from 30 October 2026). The Ofgem cap was checked on 15 October 2026. Visitors can pick a tariff or type another home or public rate.
How do I change the size?
Set the iframe height, or paste the optional auto-resize script once on the page.
Not financial advice. These are worked examples from published rates and EV-Database consumption estimates, for planning only. Your own tariff, day rate, standing charge, car, driving and weather will change the numbers. Check your bill and your supplier’s current terms before you switch or buy anything.
Sources
- Octopus Energy, Intelligent Octopus Go product IOG-SMB-FIX-12M-26-11-11 (checked 11 November 2026, new customers from 11 November 2026)
- Octopus Energy, Octopus Go product GO-FIX-12M-26-10-30 (checked 30 October 2026, new customers from 30 October 2026)
- Ofgem, price cap 1 October–31 December 2026
- EV-Database, UK real-world consumption list (Wh/mile)
This page has no affiliate links. The calculator on the homepage is free and runs in your browser.