Electric car charge time calculator

Before buying an electric car, I spent a long time researching them. One of the questions I had was pretty straightforward, How long does it take to charge? Generally, this question is answered quite simply by dividing the battery capacity in kWh by the charging rate in kWh, giving the charge time in hours. Brochures for cars normally mention this figure for different common outlet types and for charging 0-80%, but it's often presented with a "actual charge times may vary" clause.

Now that I own an electric car, I understand why as I now know that the answer is nearly always complicated. Different cars have different charging capabilities, there's different charging rates for AC and DC across different outlets, some outlets reduce their output based on how full the battery is at the start of the charge - the list goes on, there are so many variables. So I wanted to create a tool that made it less complicated. Well, I've completed a first version and published it online:

Electric car charge time calculator