ForHosting KIT · Travel & geography

Calculate EV charging session cost from kWh, rate, and fees

42.5 kWh at the charger's rate, plus a session fee and an idle fee, becomes one total with the energy cost and the extra fees shown apart, so a low advertised rate cannot hide a large fixed charge. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Energy kwh
42.5
Price per kwh
0.31
Session fee
1.25
Idle fee
3.5
Currency
EUR
You get
Energy cost
13.175
Fees total
4.75
Total cost
17.925

An EV charger may show a simple electricity rate, but the final receipt can also include a fixed connection charge or an idle fee. This calculator turns those pieces into one clear charging-session total. Enter the kilowatt-hours actually added to the battery, the price charged for each kilowatt-hour, and any optional session or idle amount. The result separates the energy cost from the extra fees, making it useful for checking a receipt, planning a charging budget, comparing networks, or adding a reliable calculation to a fleet or expense workflow.

Turn charger readings into a transparent session total

A charging receipt usually begins with two values: the amount of energy delivered and the tariff for each kilowatt-hour. Keeping every component in the response makes the result easier to audit than a single unexplained number. For example, if two networks advertise the same electricity rate but one applies a connection charge, the detailed result shows exactly why their final costs differ.

Use the energy delivered by the charger rather than the nominal capacity of the vehicle battery. A battery advertised as 75 kWh rarely accepts exactly 75 kWh in an ordinary stop, and charging losses or the operator’s metering policy may affect what appears on the bill. The calculator does not retrieve prices or interpret a tariff sheet; it applies the explicit numbers supplied by you, so the assumptions remain visible and reproducible.

Enter rates and fees consistently

If there is no such fee, omit the field and it defaults to zero. All monetary figures must use the same currency because the calculator labels values but does not perform foreign-exchange conversion. The optional currency field defaults to USD and may instead contain a label such as EUR or GBP.

Taxes can be included if you already know their total, but there is no dedicated tax calculation or percentage field; add a known fixed tax to the appropriate supplied fee only when that matches your accounting policy. Zero energy is accepted, allowing fee-only receipts to be represented without inventing electricity consumption.

Use the result for comparisons, reimbursements, and automation

Small differences can come from tax treatment, tariff changes during a session, time-based charging, or the operator rounding intermediate values differently. The breakdown prevents a low advertised rate from hiding a large fixed charge. The function uses no network lookup, current time, random value, or mutable state.

It rounds returned numeric fields to eight decimal places for stable machine consumption. This tool estimates the monetary charge only; it does not predict charging duration, battery state of charge, usable pack capacity, efficiency losses, route energy needs, or whether a particular station is available.

Check a public charging receipt

Rebuild the total from delivered energy, the posted per-kWh tariff, and listed session or idle fees.

Compare charging networks

Apply competing tariffs and fixed fees to the same energy amount to compare realistic session totals.

Automate fleet reimbursements

Create a consistent cost breakdown for driver expenses without relying on spreadsheet formulas.

Are session and idle fees required?

No. Both are optional and default to zero when omitted.

Does the calculator convert currencies or fetch charger prices?

No. Supply all monetary inputs in one currency. The currency field is only a label, and no live tariffs or exchange rates are retrieved.

Should I enter my battery size or the energy delivered?

The energy delivered, as shown on the charger screen or receipt. A battery advertised as 75 kWh rarely takes exactly 75 kWh in an ordinary stop, and charging losses or the operator's metering can change what is billed.

How do I enter an idle fee that is charged per minute?

Enter the full overstay amount the network has already worked out, not the rate per minute. The calculator adds that figure as it is, together with any session fee, to the energy cost.

How do I compare two charging networks?

Run each network with the same kilowatt-hours and its own price and fees. Because the energy cost and the fees are reported separately, you can see exactly why two stations with the same advertised rate end up costing different amounts.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/travel/ev-charging-cost-estimate

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/travel/ev-charging-cost-estimate \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"energy_kwh":42.5,"price_per_kwh":0.31}'
{
  "energy_kwh": 42.5,
  "price_per_kwh": 0.31
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "travel.ev_charging_cost_estimate",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Turn charger readings into a transparent session total

This capability multiplies energy_kwh by price_per_kwh to produce energy_cost. It then adds the optional fixed session_fee and the optional total idle_fee, reports those additions together as fees_total, and returns total_cost.

Enter rates and fees consistently

Provide energy_kwh as a non-negative finite number and price_per_kwh as the monetary price for one kilowatt-hour. The price cannot be negative; a negative value produces an invalid_input error instead of a misleading credit. The optional session_fee represents a fixed amount charged for starting or using the session. The optional idle_fee represents the complete overstay amount already calculated by the network, not an idle rate per minute.

Use the result for comparisons, reimbursements, and automation

For a one-off check, copy the delivered kWh and tariff from the charger screen or receipt, enter any listed fees, and compare total_cost with the operator’s total. For comparisons, run each candidate network with the same energy_kwh and its own price and fees. In fleet automation, save the returned inputs beside energy_cost, fees_total, total_cost, and currency so reviewers can reconstruct every reimbursement decision. The API costs $0.002 per request, while deterministic arithmetic means identical inputs always produce identical outputs.

How is the total EV charging cost calculated?

Energy cost equals energy_kwh multiplied by price_per_kwh. Total cost equals energy cost plus session_fee and idle_fee.

What happens if the price per kWh is negative?

The request fails with invalid_input because a negative electricity price is not valid for this charging-cost estimate.

Does idle_fee accept a rate per minute?

No. Enter the complete idle charge as a monetary amount. Calculate duration-based idle charges before calling this capability.

Read the full KIT documentation →