# EV charging calculator > How long and how much does it cost to charge your electric car? Charging time, energy from the grid and cost for any charger, with losses and the car's own limits. Work out how long an electric car takes to charge and what it costs from battery size, start and target percent, charger power, losses and electricity price. - Page: https://how.box/ev-charging/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/ev-charging/?cap={cap}&from={from}&to={to}&type={type}&kw={kw}&ac={ac}&dc={dc}&loss={loss}&p={p}&c={c}&use={use}&du={du}&lead={lead} - `cap` (number 1 to 300): Usable battery capacity in kWh. Example: `60`. - `from` (number 0 to 99): Starting state of charge in percent. Example: `10`. - `to` (number 1 to 100): Target state of charge in percent. Example: `80`. - `type` (ac or dc): ac or dc. Example: `ac`. - `kw` (number 0.5 to 400): Charger power in kW. Example: `11`. - `ac` (number 1 to 50): The car's maximum AC power in kW (type ac). Example: `11`. - `dc` (number 5 to 500): The car's maximum DC power in kW (type dc). Example: `150`. - `loss` (text): Charging losses in percent of the grid energy. Example: `10`. - `p` (number 0 to 100): Electricity price per kWh in major units of c. Example: `0.25`. - `c` (AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XCD, XCG, XDR, XOF, XPF, XSU, YER, ZAR, ZMW, ZWG or ZWL): ISO 4217 denomination; never converts the price. Example: `EUR`. - `use` (text): Consumption at the battery in kWh per 100 distance unit du. Example: `17`. - `du` (km or mi): km or mi for the consumption. Example: `km`. - `lead` (cost or time): Which answer leads the page: cost or time. Presentation only. Example: `cost`. Example answer: https://how.box/ev-charging/?cap=60&from=10&to=80&type=ac&kw=11&ac=11&dc=150&loss=10&p=0.25&c=EUR&use=17&du=km&lead=cost A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `ev_charging_calculate`: Cost, time and energy of charging an electric car. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ev_charging_calculate","arguments":{"battery_kwh":60,"start_percent":10,"target_percent":80,"charge_type":"ac","charger_kw":11,"car_max_ac_kw":11,"car_max_dc_kw":150,"losses_percent":10,"price_per_kwh":0.25,"currency":"EUR","consumption":17,"distance_unit":"km","lead":"cost"}}}` - GET: https://how.box/mcp/run/ev_charging_calculate?battery_kwh=60&start_percent=10&target_percent=80&charge_type=ac&charger_kw=11&car_max_ac_kw=11&car_max_dc_kw=150&losses_percent=10&price_per_kwh=0.25¤cy=EUR&consumption=17&distance_unit=km&lead=cost ## How it works A battery stores less energy than the grid supplies: some of it turns into heat in the charger, the cable and the battery. So the energy from the grid is the energy into the battery divided by (1 − losses), and the cost is that grid energy times your price per kWh. Typical losses are about 10 % on AC and 8 % on DC, from published measurements (the California ETCC and ADAC) that range from about 5 % to 20 %. The car and the charger share the work, so charging runs at the lower of the charger's power and the car's limit (its onboard charger on AC, its DC peak on DC). On AC the power is held constant. On DC it is held up to 80 %, the point makers quote as "10–80 %", and then falls steadily to a fifth of the power at 100 %. Time is the energy divided by the power, added up over the charge. Real curves differ by car, battery temperature and state of charge, and chargers may share power between cars. Treat the time as a fair guess, not a promise, and the cost as the energy you pay for at the price you enter. Fixed fees, parking and idle charges are not included. ## FAQ **Why is the energy from the grid more than goes into the battery?** Charging loses energy as heat in the charger, cable and battery. Entering your own loss percentage replaces the typical value. **Why does charging slow down after 80 %?** To protect the battery, the car lowers the power as the cells fill up. That is why makers quote 10–80 % times and why the last 20 % takes disproportionately long. **Which battery capacity should I enter?** The usable capacity, not the larger gross figure. It is in the car's specification and is often a few kWh lower than the number in the model name. **Why is my 22 kW wallbox charging at 11 kW?** The car's onboard charger sets the AC limit. Many cars accept 7 or 11 kW, so a faster wallbox cannot go beyond that. **Is DC always more efficient than AC?** Often a little, because the charger does the conversion. But losses depend on the charger, the car and the temperature, so enter your own figure if you know it. **Can I use this for a public charger with a different price?** Yes. Enter that charger's price per kWh. Session or idle fees are not included. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)