power

Estimates battery charge time given capacity in mAh, charge current in mA, charger efficiency, and initial state of charge. Accounts for real-world charging losses (typically 80-90% efficient) to produce time in hours and minutes, energy required in Wh (at an optional voltage, default 3.7V for Li-ion), and the C-rate of the charge. Useful for solar charge controller sizing, USB charging time estimation, lead-acid float charging, and EV battery planning. The C-rate output helps verify the charge current is within safe limits (typically 0.5C-1C for Li-ion). Chain from solar_sizing charge_controller_amps to size a solar charging system end-to-end.

post/api/battery_charge_time

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/battery_charge_time
  • Auth: none declared

Request body

capacity_mahnumber required

Total battery capacity in milliamp-hours (mAh)

charge_current_manumber required

Charge current in milliamps (mA)

efficiencynumber

Charger efficiency factor (0-1), default 0.85

initial_soc_pctnumber

Initial state of charge as percentage (0-100), default 0 (empty)

voltage_vnumber

Nominal battery voltage for energy calculation (V), default 3.7 for Li-ion

Response

Computed result for battery_charge_time

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.