This page explains the energy formula from milliwatts (mW): energy (in joules or watt-hours) equals power (in milliwatts) multiplied by time (in seconds or hours). You enter the power in mW and the duration, and the calculator returns the energy in both joules and watt-hours, using the standard physics formula E = P × t.
Formula
The core formula is E = P × t, where:
- E = energy, in joules (J) or watt-hours (Wh)
- P = power, in watts (W) or milliwatts (mW)
- t = time, in seconds (s) or hours (h)
Since 1 W = 1000 mW, you first convert milliwatts to watts by dividing by 1000. Then, if time is in hours, multiply by 3600 to get seconds (because 1 h = 3600 s) to obtain joules. For watt-hours, simply multiply power in watts by time in hours.
In the calculator above, the first output (energy in joules) is computed as:
E (J) = (P_mW / 1000) × t_h × 3600
The second output (energy in watt-hours) is:
E (Wh) = (P_mW / 1000) × t_h
An Example
Using the default values from the calculator: P = 500 mW, t = 2 hours.
- Convert power to watts: 500 mW ÷ 1000 = 0.5 W
- Convert time to seconds: 2 h × 3600 = 7200 s
- Calculate energy in joules: 0.5 W × 7200 s = 3600 J
- Calculate energy in watt-hours: 0.5 W × 2 h = 1 Wh
So a 500 mW device running for 2 hours consumes 3600 joules, which equals 1 watt-hour. This matches the calculator’s outputs (3600.00 J and 1.00 Wh).
Why Convert mW to Energy?
Milliwatts are commonly used for small electronic components, laser pointers, LED indicators, and IoT sensors. Knowing the energy consumption helps you estimate battery life, compare efficiency, or calculate electricity costs for low-power devices. For example, a 250 mW sensor running 24 hours consumes 6 Wh per day, which is about 2.19 kWh per year.
Energy in joules is the SI unit and is used in physics and engineering contexts. Watt-hours are more practical for everyday electrical usage, especially when dealing with batteries and electricity bills.
How to Read the Result
The calculator returns two values:
- Energy in joules (J): the absolute energy amount. 1 J is roughly the energy needed to lift a small apple one meter. A typical smartphone battery stores about 40,000 J.
- Energy in watt-hours (Wh): the same energy expressed in a unit that is common for batteries and electricity bills. 1 Wh = 3600 J. A 100 Wh battery can power a 1 W device for 100 hours.
Both numbers represent the same physical quantity; choose the unit that fits your context.
Common Mistakes and Misconceptions
- Forgetting to convert mW to W: The formula requires power in watts. If you plug in milliwatts directly, you get an energy value that is 1000 times too large.
- Mixing time units: If you use hours in the formula with seconds in the constant, you’ll be off by a factor of 3600. Always ensure time is in seconds when calculating joules.
- Confusing power and energy: Power is the rate of energy transfer (how fast), energy is the total amount. A 1000 mW laser uses 1 J per second, but over an hour it uses 3600 J.
- Rounding too early: Rounding intermediate values can introduce noticeable errors, especially for long durations.
Practical Applications
Here are a few real-world scenarios where you might use this conversion:
- Battery life estimation: If a device draws 200 mW and the battery has 3 Wh capacity, it will last 3 / 0.2 = 15 hours.
- Solar panel sizing: A small sensor consuming 500 mW for 12 hours needs 6 Wh per day. A solar panel must generate at least that much, accounting for inefficiencies.
- Comparing devices: An LED indicator at 50 mW uses 0.05 Wh per hour, while a Wi-Fi module at 500 mW uses 0.5 Wh per hour—ten times more.
Limitations of the Formula
The formula E = P × t assumes constant power over the entire time period. In reality, many devices have fluctuating power draw (e.g., a microcontroller that sleeps most of the time). For accurate energy measurement of variable loads, you would need to integrate power over time or use an energy meter. Also, the formula gives the energy consumed by the device, not the energy drawn from the wall, which includes conversion losses in power supplies.
Frequently Asked Questions
How many joules are in a milliwatt-hour?
One milliwatt-hour (mWh) equals 3.6 joules. This is because 1 mWh = 0.001 Wh, and 1 Wh = 3600 J, so 0.001 × 3600 = 3.6 J.
What is the difference between mW and mWh?
mW (milliwatt) is a unit of power—the rate of energy use. mWh (milliwatt-hour) is a unit of energy—the total amount consumed. A 100 mW device running for 3 hours consumes 300 mWh of energy.
Can I use this formula for AC power?
Yes, for average power over time. For AC, use the real power (in watts) which accounts for power factor. If you only have apparent power (VA), multiply by the power factor to get real power in watts before applying the formula.
How do I convert mW to kWh?
First convert mW to W (divide by 1000), then multiply by time in hours to get Wh, then divide by 1000 to get kWh. For example, 500 mW for 24 hours = 0.5 × 24 = 12 Wh = 0.012 kWh.
Why is energy sometimes measured in joules and sometimes in watt-hours?
Joules are the SI unit and are used in physics and engineering. Watt-hours are more intuitive for electrical applications because they directly relate to power (watts) and time (hours). Both are valid, and the conversion is 1 Wh = 3600 J.
Related
Formula used
in p | Power | mW | 500 | 0 | 1000000 in t | Time | h | 2 | 0 | 8760 out e_j | Energy (joules) | J | p / 1000 * t * 3600 | 2 out e_wh | Energy (watt-hours) | Wh | p / 1000 * t | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Quantity Calculation Formula: How to Calculate600.00 units
- Pressure Altitude to Density Altitude Formula5,000 ft
- Pressure Altitude Calculation Formula5,000 ft
- Account Growth Calculator: How to Use One
- Production Schedule Adherence Formula & How to Use It95.0 %
- Pace Calculator: Min/km & Speed Converter5.00 min/km