# Battery percent to kWh and km > How many kWh and kilometres is your battery percentage? Turn an electric car's battery level into kilowatt-hours and kilometres, and the other way round. Convert an electric car's battery percent to kWh and kilometres from its usable capacity and consumption, such as what charging from 20 to 80 % adds. - Page: https://how.box/soc-energy/ - 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/soc-energy/?m={m}&cap={cap}&from={from}&to={to}&e={e}&c={c}&cu={cu} - `m` (percent or energy): percent (default) or energy. Example: `percent`. - `cap` (number 0 to 2000): Usable battery capacity, kWh. Example: `60`. - `from` (number 0 to 100): Battery level at the start, percent. Example: `20`. - `to` (number 0 to 100): Battery level at the end, percent (mode percent). Example: `80`. - `e` (number 0 to 2000): Energy added, kWh (mode energy). Example: `30`. - `c` (number 0 to 10000): Consumption in cu. Example: `18`. - `cu` (kwh_100km, wh_km, wh_mi, km_kwh or mi_kwh): kwh_100km, wh_km, wh_mi, km_kwh or mi_kwh. Example: `kwh_100km`. Example answer: https://how.box/soc-energy/?m=percent&cap=60&from=20&to=80&e=30&c=18&cu=kwh_100km A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `soc_energy_calculate`: Converts an electric car battery level to energy and distance. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"soc_energy_calculate","arguments":{"mode":"percent","capacity_kwh":60,"from_percent":20,"to_percent":80,"energy_kwh":30,"consumption":18,"consumption_unit":"kwh_100km"}}}` - GET: https://how.box/mcp/run/soc_energy_calculate?mode=percent&capacity_kwh=60&from_percent=20&to_percent=80&energy_kwh=30&consumption=18&consumption_unit=kwh_100km ## How it works The battery percentage on an electric car is the share of the usable capacity that is left, called the state of charge. Percent is easy to read but hard to compare between cars, because 10 % of a small battery is much less energy than 10 % of a large one. Converting to kWh makes it comparable, and dividing by consumption turns energy into kilometres. Energy = usable capacity × (end level − start level). Charging a 60 kWh battery from 20 % to 80 % adds 60 × 0.6 = 36 kWh. Distance = energy ÷ consumption, so at 18 kWh/100 km that is 36 ÷ 18 × 100 = 200 km. The other way round, 30 kWh added from 20 % gives 20 + 30 ÷ 60 × 100 = 70 %. Miles per kWh and Wh per mile are converted with the exact mile. These are the figures inside the battery. The charger delivers somewhat more than that because of charging losses, so your bill or the charger display shows a larger number. The percentage shown by a car is also an estimate, and the usable capacity of an ageing battery falls over the years. Consumption varies with speed, temperature and load. ## FAQ **Where do I find the usable capacity of my car?** In the technical specifications or the manual, often listed as net or usable capacity. It is lower than the gross capacity, which includes a reserve the car never lets you use. **Why did the charger deliver more kWh than the battery gained?** Charging loses some energy as heat in the charger, the cable and the battery. The energy bought is always higher than what ends up in the battery, and the gap grows with slow charging, cold weather and a warm battery. **Why is charging from 80 to 100 % slow?** Most cars slow the charging rate down at high levels to protect the battery. A common routine is to charge to about 80 % on a trip and stop there. This calculator shows the energy only, not the time. **Which consumption should I use?** Your own average from the trip computer. Use a higher figure for a motorway trip in winter. The brochure figure is lower than most real driving. **Does the percentage mean the same on every car?** No. Each car maps its percentage to its own part of the pack, so 100 % on one car is a different number of kWh than 100 % on another. That is why the usable capacity is needed. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)