Why kW and kWh are the first thing to get right
If you run a small business, manage a building, work in finance or simply have been handed a smart-meter export and asked "why is our electricity bill so high?", this lesson is for you. The export usually arrives as a long column of numbers, one every 15 minutes, labelled something like "kW" or "demand". The bill, on the other hand, talks about kWh, peak kW, energy charges and demand charges. Before you can explain a single line of that bill, you need to know how the two sets of numbers connect.
The connection is simple, but it is also where most spreadsheet mistakes start. People add up the kW column and call the result kWh. With 15-minute data that overstates energy by a factor of four. Others average the kWh column and call it demand, which understates the load by the same factor. Both errors look plausible in a report, so nobody notices until a supplier, an auditor or an engineer asks an awkward question.
In this free first lesson you work with the same data as in the lab above: six hours of smart-meter readings from Brightloaf Bakery, a fictional small bakery, during its early bake shift on Thursday 15 October 2026, from 04:00 to 10:00. The data are synthetic and every price used here is only an example. By the end you will convert the readings into energy, calculate the average and peak demand, and understand why a bill charges for both.
The core idea: power is a rate, energy is an amount
A kilowatt (kW) measures power: how fast energy is being used at a moment. A kilowatt-hour (kWh) measures energy: how much has been used over a period. The usual analogy is a car. kW is the speed shown on the speedometer, kWh is the distance on the trip counter. Driving at 60 km/h for half an hour covers 30 km. In the same way, an oven drawing 20 kW for half an hour uses 20 × 0.5 = 10 kWh.
So the conversion is always energy (kWh) = power (kW) × time (hours). The only thing you need to be careful about is the unit of time. Meters and spreadsheets usually store the interval length in minutes, so the working formula becomes kWh = kW × minutes ÷ 60. For a 15-minute interval that is kW × 0.25, for a 30-minute interval kW × 0.5, and for hourly data the kW and kWh values happen to be the same number.
A smart meter does not photograph the power at one instant. For each interval it records the average power over those 15 minutes, which is exactly why multiplying by 0.25 h gives the correct energy of the interval. A reading of 70.2 kW for the 07:00 interval means the bakery used 70.2 × 0.25 = 17.55 kWh between 07:00 and 07:15. If some ovens were on full power and others were just switching on, the average already reflects that.
Two more numbers come straight out of the interval data. The average demand is the total energy divided by the hours covered. With intervals of equal length, that is the same as the plain average of the kW values. The peak demand is the highest single interval, the busiest quarter-hour. Average and peak describe different things: the average tells you how much energy the business needs, the peak tells you how big the connection has to be and, on many business tariffs, how much you pay in demand charges.
Worked example: Brightloaf Bakery, 04:00 to 10:00
The table below shows the lab result for a selection of the 24 intervals. Column B is the meter reading in kW, column C is the energy you calculate. The bold row is the peak interval. Notice how small the kWh numbers look compared with the kW: each one is exactly a quarter of the reading, because each interval lasts a quarter of an hour.
| Interval start (A) | Average kW (B) | Formula in C | Energy kWh (C) |
|---|---|---|---|
| 04:00 | 28.3 | =B2*$B$27/60 | 7.075 |
| 04:15 | 34.2 | =B3*$B$27/60 | 8.550 |
| 04:30 | 36.5 | =B4*$B$27/60 | 9.125 |
| 04:45 | 37.0 | =B5*$B$27/60 | 9.250 |
| … | … | … | … |
| 06:30 | 65.5 | =B12*$B$27/60 | 16.375 |
| 06:45 | 63.7 | =B13*$B$27/60 | 15.925 |
| 07:00 | 70.2 | =B14*$B$27/60 | 17.550 |
| 07:15 | 66.8 | =B15*$B$27/60 | 16.700 |
| … | … | … | … |
| 09:30 | 61.1 | =B24*$B$27/60 | 15.275 |
| 09:45 | 56.9 | =B25*$B$27/60 | 14.225 |
| Total (B28) | 1391.0 (sum of kW, meaningless) | =SUM(C2:C25) | 347.75 kWh |
| Average demand (B29) | =B28/(COUNT(B2:B25)*$B$27/60) or =AVERAGE(B2:B25) | 57.96 kW | |
| Peak demand (B30) | =MAX(B2:B25) | 70.2 kW at 07:00 | |
Read the bottom of the table carefully, because it holds the whole lesson. The sum of the 24 kW readings is 1391.0, a number with no physical meaning. The correct energy is 347.75 kWh, a quarter of that. The six hours therefore averaged 57.96 kW, and the busiest quarter-hour reached 70.2 kW at 07:00, when the bread ovens and the proofers run at the same time. The quietest interval was the first one, 28.3 kW at 04:00, when the ovens were still heating up.
The first chart shows the 24 readings as columns. The ramp-up between 04:00 and 05:00 is the ovens coming on, the plateau from 06:00 to 08:30 is the main bake, and the slow decline after 08:30 is the bake winding down while the shop opens. The dashed line is the average demand. Most of the morning sits above it, because the early, lighter intervals pull the average down.
The second chart groups the same data into hours. For each hour, the energy is the average kW of its four intervals times one hour, which is also the sum of the four kWh values. Grouping by hour makes the shape easier to talk about: the first hour used about half the energy of the busiest hour, 07:00 to 08:00. In lesson 2 you will do the same grouping for two whole days with AVERAGEIFS and turn it into a proper load profile.
One more number is worth calculating, even though the lab does not ask for it yet: the load factor, average demand divided by peak demand. For this shift it is 57.96 ÷ 70.2 = 83%. A load factor near 100% means a flat load that uses its connection evenly. A low load factor means the business pays for capacity it only needs for a short time. Over a full day, including the quiet afternoon and the night, the bakery's load factor is much lower, which is the subject of lesson 3.
What does this mean in money? Suppose, for example, an energy price of $0.20 per kWh. The six hours of energy would then cost 347.75 × 0.20 = $69.55. If the tariff also had a demand charge of, say, $15 per kW of monthly peak, and 70.2 kW turned out to be the highest quarter-hour of the month, that single interval would set a demand charge of 70.2 × 15 = $1,053 for the month. These are illustrative numbers, not real rates, but the proportions explain why energy analysts care so much about one quarter-hour.
How to do it in Excel, step by step
- Paste or import the meter export so that the time stamps are in column A and the kW readings are in column B, starting in row 2 with headers in row 1. If the time stamps arrive as text, convert them with Data > Text to Columns or with
=DATEVALUE()and=TIMEVALUE(). - Format the time stamps so you can read them: select A2:A25, press Ctrl+1, choose Custom and type
dd.mm.yyyy hh:mmor simplyhh:mm. - Put the interval length in its own cell: B27 = 15. Label it in A27 so nobody has to guess the unit.
- In C2, type
=B2*$B$27/60. While the cursor is on B27 in the formula bar, press F4 once to add the dollar signs. Without them, the reference would slide down to B28, B29 and so on when you copy. - Copy the formula down: select C2 and double-click the small square at the bottom-right corner of the cell (the fill handle). Excel fills down to C25, as far as column B has data.
- Check one value by hand: C14 should be 70.2 × 15 ÷ 60 = 17.55.
- In B28, total the energy with
=SUM(C2:C25). Selecting C2:C25 and pressing Alt+= below it does the same in one keystroke. - In B29, calculate the average demand:
=B28/(COUNT(B2:B25)*$B$27/60), which divides the energy by the 6 hours covered.=AVERAGE(B2:B25)gives the same 57.96 kW and is a useful cross-check. - In B30, find the peak:
=MAX(B2:B25). Note the column: demand is in kW, column B, not in the kWh column C. - Optional: find out when the peak happened with
=INDEX(A2:A25,MATCH(B30,B2:B25,0))or, in Excel 365,=XLOOKUP(B30,B2:B25,A2:A25). Format the result ashh:mm. - Optional: chart the readings. Select A1:B25, choose Insert > Charts > Clustered Column, then give the chart a title that includes the unit, for example "Average kW per 15-minute interval".
Why a business bill charges for kWh and kW
Household bills are usually simple: a fixed charge and a price per kWh. Many business tariffs add a second variable part, the demand charge, calculated from the highest 15-minute (or 30-minute) demand of the billing period. The logic behind it is that the grid has to be built for the peak. Cables, transformers and generation capacity must cope with the busiest quarter-hour, whether it lasts all day or happens once a month.
That is why the same amount of energy can cost very different amounts. Imagine two bakeries that both use 347.75 kWh in a morning. The first one runs all its ovens together and peaks at 70 kW. The second one staggers its ovens, starts the dishwasher after the main bake and peaks at 55 kW. Their energy charge is the same, but on a tariff with a demand charge the second bakery pays noticeably less. Lesson 5 values exactly this kind of peak-shaving plan for Brightloaf.
The details vary a lot between countries, suppliers and network operators. Some tariffs use the monthly peak, some use the highest peak of the last 12 months (a "ratchet"), some only count peaks in certain hours, and some use kVA instead of kW. Always read the tariff sheet of the actual contract. The method in this course stays the same: calculate the energy correctly, find the right peak, and multiply each by its own rate.

Common mistakes and how to spot them
- Adding up kW and calling it kWh. With 15-minute data the result is four times too high. Spot it by plausibility: 24 readings of about 60 kW over six hours cannot be 1,391 kWh, because 60 kW for 6 h is only about 360 kWh.
- Forgetting to divide by 60.
=B2*B27multiplies kW by minutes and gives a number 60 times too high. If the total looks like tens of thousands of kWh for one morning, this is the reason. - Typing 0.25 instead of referencing the interval cell. It works today, but the next export with 30-minute data silently halves your energy. Keep the interval length in one cell.
- Missing dollar signs. Without
$B$27the copied formula points at B28, B29, which are empty or contain other results. The first row is right and all other rows are wrong, so always check a value in the middle of the column. - Taking the peak from the kWh column.
=MAX(C2:C25)returns 17.55, the energy of the busiest interval. A demand charge is based on kW, so the peak must come from column B. - Dividing by the number of intervals instead of hours. 347.75 ÷ 24 = 14.49 is kWh per interval, not average kW. Divide by COUNT × interval length ÷ 60.
- Gaps and duplicate rows. Exports around daylight-saving changes or meter outages may contain 23 or 25 hours, or repeated time stamps. Compare
=COUNT(B2:B25)with the number of intervals you expect before you trust a total.
Quick reference: the Excel functions and shortcuts used
| Function or shortcut | What it does in this lesson |
|---|---|
=B2*$B$27/60 | Converts one 15-minute kW reading into kWh. The $ signs lock the interval length when you copy down. |
SUM(range) | Adds the kWh of all intervals: the energy figure that matches the energy line of a bill. |
AVERAGE(range) | Average demand in kW. With equal intervals it equals total kWh ÷ hours. |
COUNT(range) | Counts the readings, so COUNT × 15 ÷ 60 gives the hours covered (24 readings = 6 h). |
MAX(range) / LARGE(range,k) | Highest 15-minute demand, or the k-th highest (useful to see whether the peak is a one-off). |
INDEX(A2:A25,MATCH(B30,B2:B25,0)) | Returns the time stamp of the peak interval. |
XLOOKUP(B30,B2:B25,A2:A25) | Same as INDEX/MATCH in Excel 365 and 2021. |
| F4 | Cycles a reference through $B$27, B$27, $B27 and B27 while you edit a formula. |
| Double-click the fill handle | Copies a formula down as far as the neighbouring column has data. |
| Alt+= | AutoSum: inserts =SUM() for the cells above. |
| Ctrl+1 | Format Cells, e.g. a custom number format hh:mm for the time stamps. |
| Ctrl+` | Shows formulas instead of results, to audit the sheet quickly. |
Real-world uses
- Checking a supplier bill. Total the kWh of the billing period from the meter export and compare it with the energy line on the invoice. Find the highest 15-minute kW and compare it with the billed peak demand.
- Sizing a solar system or battery. Installers need hourly or 15-minute energy use to see how much of a solar yield the business can use on site, and how big a battery must be to cover the morning peak.
- Planning an EV charger or a new machine. Adding a 22 kW charger on top of a 70 kW peak changes the connection and the demand charge. Interval data show whether there is headroom at the times the charger would run.
- Energy reporting for managers. Monthly kWh, peak kW and load factor are the three numbers most energy dashboards start with, and they all come from the same column of readings.
- Spotting waste. Readings that stay high when the business is closed point at equipment left running. Lesson 6 turns this into a baseload figure and a cost per year.
What you will build in the rest of this course
Lesson 1 is free. The next 19 lessons are part of the full course, a one-time purchase of $9.90. Each one is a hands-on lab with Brightloaf Bakery's data, checked step by step by the Coach, and together they take you from raw readings to a tariff decision.
Daily Load Profiles: Average kW by Hour with AVERAGEIFS (and a Chart). You take 192 readings from a Friday and a Saturday, extract the hour with HOUR, and build an hourly load profile per day type with a single AVERAGEIFS formula and mixed references. Then you chart both days and find the peak hour, the picture every energy review starts with.
Peak Demand & Load Factor: How Peaky Is the Load?. You calculate the average demand and the load factor month by month and for the whole period, and find the month with the peakiest load. You will see why a low load factor makes every kWh more expensive.
Time-of-Use Tariff: Pricing Every Hour with an Approximate Lookup. You price a month of consumption hour by hour on a time-of-use tariff with an approximate-match VLOOKUP or XLOOKUP, then calculate the peak share and the average price per kWh the bakery really pays.
Demand Charges & Peak Shaving: What a Lower Peak Saves. You split six bills into energy cost and demand charge and put a value on a plan that caps the monthly peak by staggering the ovens. It is the lesson that turns the 07:00 peak of this lab into a business case.
Baseload vs Variable Load: What Runs When Nobody Is There?. You measure the night baseload from a week of hourly data with AVERAGEIFS over a time window, its share of the weekly energy, and what it costs per year. A practical way to find the fridges, heaters and lights nobody switched off.
Weather Normalisation with Degree Days: SLOPE, INTERCEPT & a Scatter Chart. You fit monthly kWh against heating degree days with SLOPE, INTERCEPT and RSQ, draw the scatter chart, separate weather-driven from baseline use and restate the year for normal weather, so a mild winter no longer looks like an efficiency gain.
Tariff Comparison & Savings Dashboard. In lab 8 you price twelve months on three tariffs with one formula and mixed references, pick the cheapest, calculate the saving and highlight the winner of every month with conditional formatting: a dashboard you can reuse for your own contract renewal.
Summary
kW is power, a rate. kWh is energy, an amount. A 15-minute meter reading is an average kW, so the energy of each interval is kW × 15 ÷ 60, and the energy of a period is the sum of those values. The average demand is energy ÷ hours, the peak demand is the highest interval. For Brightloaf's bake shift that gives 347.75 kWh, 57.96 kW average and 70.2 kW peak at 07:00. Keep the interval length in one cell, lock it with $, and always take the peak from the kW column.
Now scroll up and do it yourself in the free lab: convert the 24 readings into kWh, total them, and find the average and peak demand. The Coach checks every answer and explains what went wrong if a number is off.
Frequently asked questions
What is the difference between kW and kWh?
kW (kilowatt) is power, the rate at which energy is used at a moment. kWh (kilowatt-hour) is energy, the amount used over time: 1 kW running for 1 hour uses 1 kWh.
How do I convert 15-minute kW readings to kWh in Excel?
Multiply each reading by the interval length in hours: =B2*15/60, or better =B2*$B$27/60 with the 15 minutes in B27. Then add the results with SUM to get the energy of the period.
Why can I not just add up the kW values?
Adding kW readings gives a sum of rates, not an amount of energy. With 15-minute data the sum is four times the real kWh, with 30-minute data twice.
How do I calculate average demand in kW?
Divide the total kWh by the number of hours covered. With readings of equal length this is the same as =AVERAGE() of the kW column.
What is peak demand on an electricity bill?
Peak demand is the highest average kW in any single metering interval, usually 15 or 30 minutes, of the billing period. Many business tariffs charge for it separately per kW; the exact rules depend on the contract.
What is a load factor?
Load factor is average demand divided by peak demand. A value close to 100% means a flat load, a low value means short, high peaks relative to the energy used.
Keep going: Energy Bill & Load Profile Analytics: kWh, Peak Demand & Tariffs
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.
- Daily Load Profiles: Average kW by Hour with AVERAGEIFS (and a Chart)
- Peak Demand & Load Factor: How Peaky Is the Load?
- Time-of-Use Tariff: Pricing Every Hour with an Approximate Lookup
- Demand Charges & Peak Shaving: What a Lower Peak Saves
- Baseload vs Variable Load: What Runs When Nobody Is There?
- Weather Normalisation with Degree Days: SLOPE, INTERCEPT & a Scatter Chart
- Tariff Comparison & Savings Dashboard
- Meter Data Quality: Gaps, Impossible Spikes & Simple Gap Filling
- Checking the Bill: Billed vs Metered kWh, Estimated Reads & a Claim List
- Load Duration Curve: Sorting a Week of Demand with LARGE
- Sub-Meters: Splitting the Main Meter into End Uses and the Unmetered Rest
- Demand Ratchets: When One Bad Month Sets the Bill for a Year
- Power Factor & Reactive Energy: kVArh, the Reactive Charge and a Capacitor Payback
- Rooftop Solar on the Meter: Self-Consumption, Export and What a Solar Day Is Worth
- Battery Sizing for Peak Shaving: Power, Energy and Whether the Cap Holds
- Spotting Unusual Days: Weekday Baselines, Deviations and a Flag Rule
- Energy per Loaf & CUSUM: Did the New Oven Really Save Energy?
- Next Year's Energy Budget: Volume × Price Scenarios in a Sensitivity Grid
- Final Project: Brightloaf's Energy KPI Dashboard for the Year