{
    "name": "EV Charging Cost Calculator",
    "url": "https://calculators.geekmidst.com/calculators/ev-charging-cost-calculator",
    "markdown": "https://calculators.geekmidst.com/calculators/ev-charging-cost-calculator.md",
    "category": "Energy & environment",
    "description": "Work out what it costs to charge an electric car at your electricity price, including charging losses and session fees, plus the cost per 100 km.",
    "summary": "A charge costs the energy drawn from the grid times the price per kWh, plus any session fee. Grid energy is more than the battery receives because of charging losses.",
    "also_called": [
        "Electric car charging cost calculator",
        "Cost to charge calculator"
    ],
    "applies_to": "Worldwide",
    "last_updated": "2026-10-29",
    "computation": "Results are computed in the visitor’s browser on the HTML page. This API describes the calculator; it does not compute results.",
    "inputs": [
        {
            "name": "capacity",
            "label": "Usable battery capacity",
            "type": "number",
            "default": "60",
            "unit": "kWh"
        },
        {
            "name": "start_soc",
            "label": "Starting charge",
            "type": "number",
            "default": "20",
            "unit": "%"
        },
        {
            "name": "target_soc",
            "label": "Target charge",
            "type": "number",
            "default": "80",
            "unit": "%"
        },
        {
            "name": "efficiency",
            "label": "Charging efficiency",
            "type": "number",
            "default": "90",
            "unit": "%"
        },
        {
            "name": "price",
            "label": "Electricity price per kWh",
            "type": "number",
            "default": "0.30"
        },
        {
            "name": "fee",
            "label": "Session or connection fee",
            "type": "number",
            "default": "0",
            "optional": true
        },
        {
            "name": "consumption",
            "label": "Car’s energy use",
            "type": "number",
            "default": "18",
            "unit": "kWh/100 km"
        },
        {
            "name": "currency",
            "label": "Currency",
            "type": "currency",
            "default": "USD"
        }
    ],
    "outputs": [
        {
            "key": "cost",
            "label": "Cost of this charge",
            "format": "currency"
        },
        {
            "key": "grid_kwh",
            "label": "Energy bought",
            "format": "number"
        },
        {
            "key": "energy_added",
            "label": "Energy into the battery",
            "format": "number"
        },
        {
            "key": "range_added_km",
            "label": "Driving range added",
            "format": "number"
        },
        {
            "key": "cost_per_100km",
            "label": "Cost per 100 km",
            "format": "currency"
        }
    ],
    "formula": {
        "text": "Battery kWh = Capacity × (Target% − Start%);  Grid kWh = Battery kWh ÷ Efficiency;  Cost = Grid kWh × Price + Fee;  Range = Battery kWh ÷ Consumption × 100",
        "variables": {
            "Efficiency": "share of grid energy stored in the battery",
            "Consumption": "battery energy used per 100 km"
        }
    },
    "worked_example": {
        "inputs": {
            "capacity": "60",
            "start_soc": "20",
            "target_soc": "80",
            "efficiency": "90",
            "price": "0.30",
            "fee": "0",
            "consumption": "18",
            "currency": "USD"
        },
        "steps": [
            "Battery energy = 60 × 60% = 36 kWh; grid energy = 36 ÷ 0.90 = 40 kWh.",
            "Cost = 40 × 0.30 = 12.00.",
            "Range added = 36 ÷ 18 × 100 = 200 km, so 12 ÷ 2 = 6.00 per 100 km."
        ],
        "result": "Adding 36 kWh to a 60 kWh battery costs 12.00 at 0.30 per kWh, about 6.00 per 100 km."
    },
    "interpretation": "Compare the cost per 100 km with a petrol car’s fuel cost per 100 km, or with public charging prices, to decide where and when to charge.",
    "assumptions": [
        "One price per kWh for the whole session.",
        "Consumption is battery-side energy, as most trip computers report."
    ],
    "limitations": [
        "Public chargers may also bill per minute or for idle time; add those as a session fee."
    ],
    "rules": null,
    "faqs": [
        {
            "question": "Why do I pay for more kWh than the battery receives?",
            "answer": "Some energy is lost as heat in the charger, cables and battery, so the meter records more than is stored."
        },
        {
            "question": "Is off-peak charging worth it?",
            "answer": "If your tariff has a cheaper overnight rate, enter it here to see the difference; scheduling charging on a timer is usually free."
        }
    ],
    "sources": [],
    "related": [
        {
            "name": "EV Charging Time Calculator",
            "url": "https://calculators.geekmidst.com/calculators/ev-charging-duration-calculator"
        },
        {
            "name": "EV vs Petrol Running Cost Calculator",
            "url": "https://calculators.geekmidst.com/calculators/ev-vs-petrol-running-cost-calculator"
        },
        {
            "name": "Fuel Cost Calculator",
            "url": "https://calculators.geekmidst.com/calculators/fuel-cost-calculator"
        }
    ],
    "disclaimer": null,
    "publisher": "GM¹X CalcVerse"
}