HomePhysics › Electric Power Calculator

Electric Power Calculator

Computes electrical power from voltage and current (or the current drawn by a known power at a given voltage), the equivalent resistance, and, with hours of use and a tariff, the energy in kWh and its cost.

When to use

You need the wattage or amperage of an appliance, whether it fits a circuit rating, or how much energy and money it uses over a period.

Do not use when: The load has a power factor below 1 (motors, some electronics: P = V·I·cos φ), you only need V, I and R relations (use ohms-law), or you want a multi-appliance bill (use electricity-cost).

Formula

power_w = voltage_v × current_a (or current_a = power_w / voltage_v); resistance_ohm = voltage_v / current_a; energy_kwh = power_w × usage_hours / 1000; energy_cost = energy_kwh × price_per_kwh

Inputs

ParameterTypeUnitRequiredDescription
voltage_vnumberVyesSupply voltage in volts (e.g. 230 in Europe, 120 in North America, 12 for automotive). Range: > 0
current_anumberAnoCurrent drawn in amperes. Give either current_a or power_w. Range: ≥ 0
power_wnumberWnoRated power in watts. Give either current_a or power_w. Range: ≥ 0
usage_hoursnumberhnoOptional operating time; enables the energy output. Range: ≥ 0
price_per_kwhnumberper kWhnoOptional tariff in your currency per kilowatt-hour; enables the cost output. Range: ≥ 0

Outputs

OutputTypeUnitDescription
power_wnumberWP = V × I.
power_kwnumberkWPower in kilowatts.
current_anumberAI = P / V.
resistance_ohmnumberΩR = V / I for a purely resistive load.
energy_kwhnumberkWhP × usage_hours / 1000 (only when usage_hours is given).
energy_costnumberenergy_kwh × price_per_kwh (only when usage_hours and price_per_kwh are given).

Example

230 V, 6.5 A for 2 h at 0.30 per kWh: {"voltage_v":230,"current_a":6.5,"usage_hours":2,"price_per_kwh":0.3}{"power_w":1495,"power_kw":1.495,"current_a":6.5,"resistance_ohm":35.3846,"energy_kwh":2.99,"energy_cost":0.9}

1500 W heater on 120 V: {"voltage_v":120,"power_w":1500}{"power_w":1500,"current_a":12.5,"resistance_ohm":9.6}

GET https://tttkmbb.com/api/v1/calculate/electric-power?voltage_v=230&current_a=6.5&usage_hours=2&price_per_kwh=0.3

Machine access

Sources

FAQ

Is the nameplate wattage the actual consumption?

It is the maximum rating. Thermostat-controlled appliances (heaters, fridges) draw it only part of the time, so real energy use is lower.

What about three-phase or AC loads?

For single-phase AC the formula gives apparent power (VA); real power is V·I·cos φ. Three-phase power is √3 × V_line × I × cos φ and is not covered here.

Related calculators