How long will the energy last
Two quantities come up whenever energy is delivered or used: how much, and how fast. If you know both, the time follows. A battery stores a fixed amount of energy and a lamp draws power continuously, so the ratio tells you how long the lamp stays on. A heating element delivers a set power, so the energy needed to warm a tank gives the time to heat it. This page does that division for any consistent pair of values and returns seconds. It suits physics problems, appliance estimates and quick checks on lab setups.
Energy, power and time
Power is the rate of energy transfer, so P = E / t and therefore t = E / P. The SI unit of energy is the joule, the unit of power is the watt, and one watt is defined as one joule per second. With energy in joules and power in watts, the result is in seconds. NIST SP 811 lists these units as coherent SI derived units. The power must be positive, since zero power would transfer no energy and the time would be infinite. The relationship uses a single constant power or the average power over the interval.
Ten joules delivered at two watts
The page starts with 2 W of power and 10 J of energy. Dividing 10 J by 2 W gives 5 s. A small device of 2 W, such as an LED indicator array, would use 10 J in five seconds. The numbers are intentionally small so the arithmetic is transparent, and they also give a feel for the relationship: doubling the power halves the time, and doubling the energy doubles it. The example is also consistent with the companion pages that solve the same relation for power or energy, which let you cross-check a set of three values.
A phone battery
A phone battery rated at 15 Wh holds 15 × 3,600 = 54,000 J, since one watt-hour is 3,600 joules. If the phone draws an average of 5 W during use, the page gives 54,000 / 5 = 10,800 s, which is exactly 3 hours. A lower average, such as 1 W during light use, stretches that to 15 hours. Real battery capacity is rarely fully usable, and power draw varies with screen brightness and signal, so treat the answer as an upper bound unless you enter an average measured over the actual task. Conversion between Wh and J is the step people skip most often. Skipping it by entering 15 as the energy would return 3 s, a thousand-fold underestimate that is easy to spot once you compare it with the three-hour reality. The same pattern applies to laptops, power banks and electric bicycles, where the label gives watt-hours and the draw is quoted in watts.
Heating water in a kettle
Warming 1 kg of water from 20 °C to 100 °C needs about 4,186 × 80 = 334,880 J using a specific heat near 4,186 J/(kg·K). A kettle delivering 2,000 W takes 334,880 / 2,000 = 167.44 s, a little under three minutes. Real kettles lose some heat to the body and the air, so the actual time is somewhat longer, and boiling off water takes extra energy. The calculation also assumes the kettle's heating power is stable. These illustrative numbers show how the page combines with a heat calculation: first find the energy, then divide by the power to get the time.
Kilowatt-hours and bills
Electric bills use kilowatt-hours, where 1 kWh equals exactly 3.6 million joules. A 100 W bulb powered by 1 kWh of energy runs for 3,600,000 / 100 = 36,000 s, which is 10 hours. The same statement in utility units is that 1 kWh is 1 kW for an hour, or 100 W for ten hours. If your energy is in kWh and power in kW, the quotient is in hours directly, and no conversion is needed. Using joules and watts gives seconds. Choose whichever pair matches your data, but do not mix kWh with watts.
Constant versus varying power
The result is correct when power is constant, or when you enter the average over the whole interval. A device that cycles between high and low draw, such as a refrigerator compressor or a 3D printer heater, has an average much lower than its peak. Using the peak power gives a time that is too short. Use a measured average from an energy meter if one is available. If power changes in a known pattern, divide the interval into pieces and calculate each, or use the total energy divided by the average power for the whole stretch.
Common unit errors
Typical mistakes are entering watt-hours where joules are required, using milliwatts as watts, and mixing kilojoules with joules. A battery of 2,000 mAh at 3.7 V holds 7.4 Wh, which is 26,640 J, and mAh alone is not an energy. The page expects energy and power in SI units, so convert first: multiply Wh by 3,600, kJ by 1,000 and mW by 0.001. A result that is 1,000 times off often comes from a missing kilo or milli prefix. After conversion, the time in seconds can be divided by 60 or 3,600 for minutes or hours.
What the result does not include
The page computes an ideal ratio. It does not account for efficiency, losses, battery voltage sag, aging or temperature. It does not verify that the device can sustain the stated power, and it gives no electrical design or safety approval. Real equipment draws less usable energy than its nameplate shows, so a conservative estimate reduces the stored energy by an efficiency factor before dividing. If the kettle in the earlier example is 85 percent efficient, only 85 percent of the 2,000 W reaches the water, so the effective power is 1,700 W and the heating time rises to about 197 s. That adjustment is a change of input, not of formula: enter the effective power and the energy the load actually receives, and the page handles the rest. Applying the same idea to batteries means using the usable capacity, often 80 to 90 percent of the rated figure. Treat any such efficiency as an assumption you state alongside the answer, since it varies with load, temperature and age, and note it next to the result.