Heat loss through a building element is one multiplication: a U-value, times an area, times the temperature difference across it, and the answer is a rate in watts. This free calculator does that multiplication and its three rearrangements, and prints your own numbers multiplied out beside the answer, the element as a conductance in watts per kelvin, the air-change term, the thermal-bridging uplift, the total in watts and in British thermal units per hour, and the kilowatt hours that rate adds up to in a day. Nothing needs converting by hand first: every box carries its own unit menu.
Two things sit outside that multiplication, and this page keeps them separate rather than hiding them in it. Air change scales with the volume of the room, not with the area of a wall, so it has its own boxes and its own chip — and a 0 in either of them means not supplied, which the chip says in words. Thermal bridging is a flat percentage on top of the fabric figure, for the junctions and fixings a layer stack cannot see.
Declared ranges. q 1e-6 to 1e12 W · U 1e-4 to 1e3 W/(m2·K) · A 1e-6 to 1e9 m2 · ΔT 1e-4 to 1e4 K · V 0 to 1e9 m3 · n 0 to 50 per hour · f 0 to 100 per cent. The first four must be above zero in every mode; the last three may be zero, and zero means not supplied.
Each button writes a complete, self-consistent set of seven figures into the boxes, so the answer changes the moment you press it and it is the right answer whichever of the four targets you have chosen. The line underneath quotes back whatever the widget then works out, so nothing in it is stored text. Pick your target from the Solve for menu before you press a preset, because switching that menu clears every box.
Pick a case above, or type your own figures.

The heat loss calculator is a free online tool for the one calculation the phrase usually means: the rate at which one building element gives heat away, q = U · A · ΔT, in watts. Give it a U-value, an area and a temperature difference and it returns the loss with your own three numbers multiplied out beside it, the element as a conductance in watts per kelvin, the air-change term, the thermal-bridging uplift, the total in watts and in British thermal units per hour, and the kilowatt hours that rate adds up to in a day. It opens on 39 m2 of wall at 0.30 W/(m2·K) across 24 K, where the headline reads 280.8 W.
The answer is a RATE, and that is the first thing to be clear about. Watts are joules per second, so a heat loss figure says how fast a room is losing energy right now at that temperature difference, not how much it has lost. Multiply by the hours to get the energy: the same wall at 280.8 W, with the room's air change and the bridging allowance added, comes to 492.84 W and 11.82816 kWh in 24 h. Watts size a heater; kilowatt hours are what a meter counts.
A U-value is a property of an assembly, never of a material, and that is the mistake this topic turns on. It is the transmittance of the finished build-up with the still-air films on both faces already counted in, so a conductivity off a data sheet cannot be typed into the U box. You build it from the layers: add the outside surface resistance, each layer's thickness divided by its conductivity, and the inside surface resistance, then take the reciprocal. For the reference cavity wall this page uses, those insulances are 0.04, 0.13, 1.25, 0.09 and 0.13 K·m2/W, the total is 1.64 and the transmittance is therefore 0.61 W/(m2·K). A thermal insulance is the reciprocal of a thermal transmittance, which is the one line worth memorising.
Two terms sit outside that multiplication and the page keeps them visible rather than folding them in. Air change scales with the volume of the room, not with the area of a wall, so it has its own boxes and its own reading: on the opening state the chip prints 0.33 × 0.5 × 50 × 24 = 198 W. Thermal bridging is a flat percentage on the fabric figure, standing in for the junctions, lintels and fixings a one-dimensional layer stack cannot see, and at the default five per cent it reads 280.8 × 5/100 = 14.04 W. A 0 in the volume or the air-change box means not supplied, and the chip then says not included (volume or air-change rate is 0) instead of printing a zero that would read like an answer.
The quantity that adds up across a building is U · A, not U. That is why the second chip reports the element as a conductance in watts per kelvin: 11.7 W/K, and 11.7 × 24 = 280.8 W on the defaults. Work through the four air-facing elements of the worked room — 39 m2 of wall at 0.30, 4 of window at 1.60, 2 of door at 1.50 and 20 of roof at 0.25 — and the calculator returns 280.8, 153.6, 72 and 120 W, a fabric subtotal of 626.4 W and an envelope UA of 26.1 W/K. Once you hold the UA, any other temperature difference is one multiplication away.
The two air constants in circulation are one quantity in two costumes, and the gap between them is a trap. Metric practice writes it as 0.33 W·h/(m3·K) and imperial practice as 0.018 BTU/(ft3·°F); in a common unit those are 1188 and 1207.189844 J/(m3·K), about 1.6 per cent apart, and the unrounded 0.335 closes the gap to under 0.1 per cent. The ducted 1.08 factor is 0.018 × 60 exactly. What matters is the bare ratio: 0.33 ÷ 0.018 is 18.333, so putting the imperial constant into a metric formula under-reports the ventilation loss by about eighteen times while the answer still looks reasonable.
A ground floor is the one element that must not take the outdoor-air difference, and the honest way to say so is to show the size of the error rather than publish a figure nobody can source. The same 0.25 W/(m2·K) over 20 m2 reads 120 W against a 24 K air difference and 55 W against an 11 K ground difference — about 2.18 times too big — and at the air difference it reads exactly like the roof above it, which is the tell. The 10 °C ground temperature behind that 11 K is illustrative, so the worked room on this page has four elements and no floor.
It runs backwards as well, and the backwards direction is the design one. Point Solve for at the U-value and it turns a loss you are allowed into the transmittance the build-up has to reach, printing the insulance R = 1 ÷ U beside it; point it at the area and it says how much of a given build-up a watt allowance buys; point it at the temperature difference and it says what difference a known rate corresponds to. Switching that menu rebuilds every box from its default and only the unit survives, so the page tells you to choose the target first and type the figures afterwards.
What the page does not do is worth naming as plainly as what it does. It takes no conductivity and no thickness, which is the thermal conduction calculator and the Fourier's law guide linked beside it; it reports no loss per unit area, which is the heat flux calculator; it computes no film coefficient of its own, which is the thermal convection calculator. It answers one element at a time on purpose, because a whole-house total that hides its working is exactly what this page is an alternative to. And it is steady-state arithmetic on figures you supply: it describes a building that has already settled at the difference you typed, it cannot see uncontrolled air leakage, and a heat loss is still a step short of the heat load a system is sized against.
| Symbol | Quantity | Default unit | Also accepts | Example value |
|---|---|---|---|---|
| q | Heat loss rate | W | kW, BTU/h, MW. Strictly above 0, from 1e-6 to 1e12 W | 280.8 |
| U | U-value of the assembly | W/(m²·K) | BTU/(h·ft²·°F), whose multiplier is the derived 5.678263341. Never a material conductivity, and strictly above 0 | 0.3 |
| A | Area of the element | m² | ft², cm². Strictly above 0, one element at a time | 39 |
| ΔT | Temperature difference | K | °C, which is the same interval, and °F, which is 5/9 of it. A difference, never a temperature, and strictly above 0 | 24 |
| V | Room volume | m³ | ft³, L. May be 0, which means the air-change term is not supplied. Never a solve target | 50 |
| n | Air changes per hour | 1/h | no other unit. May be 0, which means the air-change term is not supplied. Never a solve target | 0.5 |
| f | Bridging allowance | % | no other unit. 0 to 100, applied to the fabric figure. Never a solve target | 5 |
U is the transmittance of the finished build-up with its surface films counted in, so a conductivity off a material data sheet is not a U-value and cannot go in this box — the thermal conduction calculator is the tool for a single material and a thickness.39 m2 of wall, then 4 of window, then 2 of door. The calculator does the multiplication and you do the adding up, which is the honest division of labour: an envelope is a sum, not a single number.21 °C inside and -3 °C outside is 24, not 21. K and °C are both 1 in the menu because a one-kelvin interval is a one-degree-Celsius interval, and °F is 5/9 — the guide to the heat loss formula works through why a difference and a temperature behave differently here.0. On the defaults the chip reads 0.33 × 0.5 × 50 × 24 = 198 W. Put a 0 in either box and it reads not included (volume or air-change rate is 0) instead, because a zero here is a missing figure rather than an answer.This element, as a product prints 0.3 × 39 × 24 = 280.8 W on the defaults, so the answer can be checked by hand in one line. Envelope UA for this element gives 11.7 W/K, and that is the figure that adds up across an envelope where a U-value does not.492.84 W, 1681.6399 BTU/h and 11.82816 kWh in 24 h. Watts size a heater; kilowatt hours are what a meter counts, and the guide to heat versus temperature is where the two quantities are separated properly.R = 1 ÷ U beside it; the Area target says how much of a given build-up a loss allowance buys; the Temperature difference target says what difference a known rate corresponds to.One warning is worth having before the first answer. A steady-state figure describes a building that has already settled at that temperature difference, so it is the right number for sizing and the wrong number for predicting the next hour of a cold morning.
0.3 W/(m2·K) over 39 m2 at 24 K. The first chip prints 0.3 × 39 × 24 = 280.8 W, so the headline can be checked by hand in one line, and the air-change term is reported separately rather than folded into it.The table below holds the area at 39 m2, the difference at 24 K, the room at 50 m3 with 0.5 air changes an hour and the bridging allowance at 5 per cent, and moves one thing: the U-value. Every headline and chip cell was read out of the running widget rather than worked out by hand. Where a cell and the tool ever part company, believe the tool.
| U-value you type | Headline watts | Envelope UA chip | Total with bridging and air change chip | Energy at this rate chip |
|---|---|---|---|---|
| 0.25 | 234 | 9.75 W/K, and 9.75 × 24 = 234 W | 443.7 W, 1513.9672 BTU/h | 10.6488 kWh in 24 h |
| 0.3 | 280.8 | 11.7 W/K, and 11.7 × 24 = 280.8 W | 492.84 W, 1681.6399 BTU/h | 11.82816 kWh in 24 h |
| 0.61 | 571 | 23.79 W/K, and 23.79 × 24 = 570.96 W | 797.508 W, 2721.2102 BTU/h | 19.140192 kWh in 24 h |
| 1.5 | 1404 | 58.5 W/K, and 58.5 × 24 = 1404 W | 1672.2 W, 5705.7832 BTU/h | 40.1328 kWh in 24 h |
| 1.6 | 1498 | 62.4 W/K, and 62.4 × 24 = 1497.6 W | 1770.48 W, 6041.1285 BTU/h | 42.49152 kWh in 24 h |
| 2.2 | 2059 | 85.8 W/K, and 85.8 × 24 = 2059.2 W | 2360.16 W, 8053.2002 BTU/h | 56.64384 kWh in 24 h |
Three things are worth reading off that table. The U-value column is the only one doing any work, and the headline moves in exact proportion to it: 0.3 gives 280.8 W and 0.6 would give twice that, because the relation is a plain multiplication with no exponent anywhere in it.
The second is the last column, which is where a wall stops being abstract. The same 39 square metres costs 10.6488 kWh a day at 0.25 and 56.64384 kWh a day at 2.2, and that is the whole argument for insulation written as a meter reading rather than as a U-value.
The third is the 198 W of air change, which is in every total in that table and never moves. It depends on the room volume and the air-change rate, so no amount of insulating a wall touches it — which is why it is reported as its own chip and not folded into the headline. At U = 0.25, the lowest U-value in the table, the air change is about 85 per cent of the wall loss beside it; at the highest U-value it is under a tenth of that loss.
| Symbol | What it is | Unit | On this page |
|---|---|---|---|
| q | The heat loss rate of one element: what it gives away per second at this temperature difference. The headline, and the default solve target | W | Its box reads W, kW, BTU/h or MW, and that box exists when the rate is an INPUT — solving for a U-value, an area or a difference, where it defaults to 280.8. Accepts 1e-6 to 1e12 W. |
| U | The thermal transmittance of the finished ASSEMBLY, surface films included. Never the conductivity of one material | W/(m2·K) | Menu reads W/(m²·K) or BTU/(h·ft²·°F), whose multiplier is the derived 5.678263341. Default 0.3; accepts 1e-4 to 1e3. |
| A | The area of that one element, measured on the face the heat crosses | m2 | Menu reads m², ft² or cm². Default 39 m2, the wall area of the worked room; accepts 1e-6 to 1e9. |
| ΔT | The temperature DIFFERENCE across the element, inside minus outside. A difference, never a temperature | K | Menu reads K, °C or °F. K and °C are both 1 because a one-kelvin interval is a one-degree-Celsius interval; °F is 5/9. Default 24; accepts 1e-4 to 1e4. |
| V | The volume of the room, for the air-change term only. 0 means not supplied | m3 | Menu reads m³, ft³ or L, the first two exact powers of the 0.3048 m foot. Default 50 m3; accepts 0 to 1e9. Never a solve target. |
| n | Air changes per hour: how many times the room’s air is replaced. 0 means not supplied | 1/h | One unit only. Default 0.5; accepts 0 to 50. Either this or the volume at 0 switches the air-change chip to not included. Never a solve target. |
| f | The thermal-bridging allowance, as a flat percentage of the fabric figure | % | One unit only. Default 5; accepts 0 to 100. At 0 the chip reads no allowance applied (f is 0). Never a solve target. |
| UA = U · A | The element as a conductance: the watts it loses per kelvin. This is the quantity that ADDS across an envelope, which a U-value does not | W/K | Printed by the second chip. On the defaults it reads 11.7 W/K, and 11.7 × 24 = 280.8 W; across the four elements of the worked room the four conductances come to 26.1 W/K. |
| qv = 0.33 · n · V · ΔT | The air-change term, which is NOT inside U·A·ΔT: it scales with the volume of the room, not with the area of a wall | W | The constant is 0.33 W·h/(m3·K), the volumetric heat capacity of air over an hour. On the defaults the chip reads 0.33 × 0.5 × 50 × 24 = 198 W. |
| R = 1 ÷ U | The thermal insulance of the assembly: the reciprocal of its transmittance, surface films included | K·m2/W | Printed in the working whenever you solve for a U-value. From the sourced 0.61 assembly it reads R = 1 / 0.61 = 1.639344262 K·m²/W, which rounds to the 1.64 its five layer insulances add up to. |
The three rows at the bottom of that table are the reason this page exists rather than being a single division. UA is what adds across an envelope, the air-change term is what a fabric-only calculation forgets, and R = 1 ÷ U is the step between a specification written in insulance and a calculation written in transmittance.
A U-value is not a property of a material. It is a property of a finished assembly, and it already has the two still-air films on its faces counted inside it, which is why nothing on this page asks you for a surface coefficient.
Build it from the layers. Take the outside surface resistance, add each layer’s thickness divided by its conductivity, add the inside surface resistance, and the total is the assembly’s insulance in K·m2/W. The transmittance is its reciprocal. That single division — a thickness over a conductivity — is conduction through a slab, which is the guide to Fourier's law of thermal conduction’s subject and not this page’s; here it is used once, for that one step, and then the layer is just a number in a sum.
The reference assembly behind the fourth preset is a cavity wall of clay brick, glasswool and concrete block. Its five insulances are 0.04 outside, 0.13, 1.25 and 0.09 for the three layers, and 0.13 inside, for a total of 1.64 K·m2/W and a transmittance of 0.61 W/(m2·K). Solve this calculator for the U-value with that preset loaded and the working prints R = 1 / 0.61 = 1.639344262 K·m²/W, which rounds back to the same 1.64.
One coincidence in that stack is worth naming so nobody repeats it as evidence. 0.13 appears twice and the two are unrelated: one is the inside surface resistance, and the other is separately what 0.10 m of clay brick at a conductivity of 0.77 happens to come to. The interactive Fourier’s law lab drives a single slab and reports its resistance and its U-value live, which is a useful way to feel how one layer of that stack behaves before it is summed with four others.
An envelope, though, is not one assembly. It is several, each with its own transmittance and its own area, and the quantity that adds is U · A rather than U. The worked room below is four elements at the same 24 K, each read off this calculator with the room volume and the bridging allowance set to 0 so that nothing is counted twice.
| Element | U-value | Area in square metres | Headline watts | Envelope UA chip |
|---|---|---|---|---|
| Walls | 0.3 | 39 | 280.8 | 11.7 W/K, and 11.7 × 24 = 280.8 W |
| Windows | 1.6 | 4 | 153.6 | 6.4 W/K, and 6.4 × 24 = 153.6 W |
| Door | 1.5 | 2 | 72 | 3 W/K, and 3 × 24 = 72 W |
| Roof | 0.25 | 20 | 120 | 5 W/K, and 5 × 24 = 120 W |
Add the four headline figures and the fabric subtotal is 626.4 W; add the four conductances and the envelope UA is 26.1 W/K, and 26.1 × 24 gives the same 626.4. That identity is the useful one: once you have the UA, any other temperature difference is one multiplication away.
Now switch the room back on. The fifth preset puts the whole 65 m2 and the whole 626.4 W in at once, and the chips read 0.33 × 0.5 × 50 × 24 = 198 W for air change, 626.4 × 5/100 = 31.32 W for bridging and 855.72 W, 2919.8378 BTU/h for the total, which is 20.53728 kWh in 24 h. Solving that preset for the U-value returns 0.4015 W/(m2·K), the average transmittance the fabric behaves like rather than any one build-up’s figure.
That room has four elements and no floor, deliberately. A ground floor does not see outdoor air, and the standard that covers a floor is not the one that covers a wall or a roof, so giving a floor the full air difference overstates it badly.
65 m2 of fabric at the average transmittance it behaves like, giving 626.4 W of fabric loss, 26.1 W/K of envelope UA and a total of 855.72 W, 2919.8378 BTU/h once the air change and the bridging allowance are added.0.04 for glasswool into the U box is not a very good wall, it is a category error. Divide the thickness by the conductivity to get that layer’s insulance, add the other layers and the two surface resistances, then take the reciprocal — or use the thermal conduction calculator for the single-material step and bring the result back here.0.25 over 20 m2 reads 120 W at 24 K and 55 W at 11 K, about 2.18 times too big. Notice the tell as well — at the air difference that floor reads exactly like the roof above it, which is what a floor row looks like when nobody has thought about it. The 11 K here comes from an illustrative 10 °C ground temperature; this page will not print a single “correct” floor loss, because the ground temperature under your building is a site figure and not something a general tool can supply.0.33 W·h/(m3·K); imperial practice writes it as 0.018 BTU/(ft3·°F); ducted work uses 1.08, which is 0.018 × 60 exactly. Those are one physical quantity, not three: in a common unit they come to 1188 and 1207.189844 J/(m3·K), about 1.6 per cent apart, and the unrounded 0.335 closes the gap to under 0.1 per cent. The trap is the bare ratio. 0.33 ÷ 0.018 is 18.333, so dropping the imperial constant into a metric formula under-reports the ventilation loss by about eighteen times, and the answer still looks perfectly reasonable.n box describes controlled ventilation: a design air-change rate for a room. Uncontrolled leakage through gaps, around service penetrations and under doors is a separate loss, it varies with wind and with the temperature difference itself, and it is not a thing a single air-change figure can carry. In a leaky building it can exceed everything on this page put together. Treat the ventilation chip as the planned part, and treat a measured air-tightness test as the only way to know the rest.5 per cent is a modest one. A proper treatment calculates the extra loss at each junction individually, which needs a two-dimensional model rather than a layer stack, and a wall whose insulation is crossed by metal can be much worse than any flat allowance suggests. If you have a calculated figure, type it; if you do not, know that this number is a placeholder with the right order of magnitude.855.72 W, so a 1 kW emitter covers it with a little in hand. The same figure in British thermal units per hour, 2919.8378, is what equipment is catalogued in across a good deal of the trade.39 m2 wall from 2.2 to 0.25 moves the daily total from 56.64384 to 10.6488 kWh in the table above. Multiply the difference by a heating season and by a tariff and the payback period falls out of it, which is a calculation a U-value on its own can never give you.4 m2 against the wall’s 39 — a tenth of the area — and still loses 153.6 W against the wall’s 280.8, because its transmittance is more than five times higher. That ratio is what tells you where to spend, and it is invisible in any tool that returns only a house total.U · A terms, that ventilation is counted on volume, that bridging is usually an allowance rather than a calculation, and that a floor takes a different temperature difference, is enough to see which assumption a surprising result is resting on. The thermal convection calculator covers the surface-film half that a U-value quietly swallows, which is often where a disagreement actually lives.0 or an imperial constant used in a metric formula; and the temperature box catches the commonest slip of all, a temperature typed where a difference belongs. Reading those three before the headline is the quickest way to find the slip.
39 m2 at 24 K built badly: 2059.2 W of fabric loss and 56.64384 kWh in 24 h. The headline reads 2059 because the engine rounds it to four significant figures; the chip beside it keeps the .2. That U-value is illustrative and is not offered as a standard figure.For the three-step version with the diagrams, the worked problems and the full ventilation reconciliation, read the guide to the heat loss formula, which this tool is the arithmetic half of. The guide to Fourier's law of thermal conduction owns the single-material half and the conductivity table, the guide to conduction, convection and radiation sets the three transport mechanisms side by side, and the guide to heat flux is where loss per unit area is argued out.
Four tools sit beside this one. The thermal conduction calculator handles one material and a thickness, the heat flux calculator works in watts per square metre, the thermal convection calculator covers the surface films, and the specific heat calculator turns a rate into a warm-up. The full physics lab library and the calculator index are open too.
It takes a U-value, an area and a temperature difference and returns the heat loss rate of that one building element, q = U times A times the temperature difference, in watts. Beside it the panel prints your own three numbers multiplied out, the same element as a conductance in watts per kelvin, the air-change loss as its own separate term, the thermal-bridging uplift, the total of all three in watts and British thermal units per hour, and the energy that rate adds up to over a day. It also runs the same relation backwards, so it will give you the U-value, the area or the temperature difference that a known loss implies.
The fabric part is q = U times A times the temperature difference. A U-value in watts per square metre per kelvin, times an area in square metres, times a difference in kelvin, leaves watts, which is a RATE rather than an amount of energy. Two things sit outside that multiplication and have to be added separately: the air-change term, which depends on the volume of the room rather than on the area of a wall, and an allowance for thermal bridging. Multiply the watts by the hours to get the energy, which is why the panel also reports kilowatt hours over a day.
Yes, and that is why both appear in the menu with the same multiplier of one. A temperature DIFFERENCE of one kelvin is a difference of one degree Celsius exactly, because the two scales have the same degree size and differ only in where zero sits, and a difference cancels the offset. The Fahrenheit entry is five ninths for the same reason: that is the size of a Fahrenheit interval, not a scale conversion. The mistake to avoid is typing a TEMPERATURE into the box instead of a difference, so 21 degrees inside and minus 3 outside goes in as 24, never as 21.
A U-value is the transmittance of a finished assembly: how many watts cross a square metre of it for every kelvin of difference, with the still-air films on both faces already counted in. You build it from the layers rather than look it up: add the outside surface resistance, each layer thickness divided by its conductivity, and the inside surface resistance, then take the reciprocal of the total. For the cavity wall this page uses as a reference, those insulances are 0.04, 0.13, 1.25, 0.09 and 0.13, the total is 1.64 and the transmittance is therefore 0.61. A thermal insulance is the reciprocal of a thermal transmittance, which is the one line worth memorising.
Ventilation loss is the air-change rate times the room volume times the temperature difference times a constant for the heat capacity of air, and it is counted once for the room rather than once for each wall. The constant is 0.33 watt hours per cubic metre per kelvin in metric practice and 0.018 British thermal units per cubic foot per degree Fahrenheit in imperial practice. Those are the same physical quantity in different costumes, and what separates the two figures is rounding rather than disagreement. The trap is the bare ratio 0.33 divided by 0.018, which is 18.333: drop the imperial constant into a metric formula and the ventilation loss comes out roughly eighteen times too small.
For walls, roofs, windows and doors the difference is between the inside design temperature and the outside design air temperature, which is the cold condition the heating has to cope with rather than an average. A ground floor is the exception, because the ground under it is nothing like outdoor air and is far steadier through the year. Give a floor the full air difference and you overstate it badly, which is why the worked room below has four elements and no floor. The size of that error is set out in the section on where this arithmetic breaks down, together with the illustrative ground temperature it rests on.
This tool never returns a negative loss, by design. Every box has to be above zero, and a temperature difference with the warm side outside describes a heat GAIN of identical size rather than a negative loss, so it is a different question with its own sign convention. Heat loss and heat load are also not quite the same thing: the loss is what the fabric and the ventilation give away at a design condition, while the load a heating system is sized against starts from that figure and then allows for intermittent heating, for warming the structure back up and for anything the room is given for free by people, lighting and sunlight.
Because this answers one element at a time and a house is a sum. Work through each wall, roof, window, door and floor separately, add the watts, count the air-change term once for the volume rather than once per element, and apply the bridging allowance to the fabric subtotal. Two further things move a real figure away from this arithmetic: the loss is steady-state, so it describes a house that has already settled at that temperature rather than one warming up, and a draughty building can lose far more through uncontrolled air leakage than any U-value predicts. The answer here is the right starting point and not the finished calculation.