Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

Truncation error

Truncation error is the error you get when Heat and Mass Transfer turns an exact process, like a derivative or infinite series, into a finite numerical approximation. It shows up in finite difference models for unsteady-state diffusion.

Last updated July 2026

What is truncation error?

Truncation error is the mismatch between the exact mathematical result and the value you get after you replace part of the problem with a finite approximation. In Heat and Mass Transfer, you run into it when derivatives in diffusion equations are turned into finite differences on a grid of points.

The idea is simple: the real equation is continuous, but your numerical method only uses a few selected points in space and time. That means the method is not carrying out the full exact operation. The difference created by that replacement is the truncation error.

A common place to see this is unsteady-state diffusion. The temperature or concentration field changes with time, and you usually cannot solve the equation by hand for realistic boundary conditions. So you divide the domain into small steps, estimate slopes and curvature, and march the solution forward. Each estimate introduces some error because the method stops short of the exact derivative or exact integral behavior.

First-order truncation error means the approximation error shrinks roughly in proportion to the grid spacing or time step. Higher-order methods shrink the error faster as you refine the mesh or reduce the time step. That is why a Crank-Nicolson style approach is usually more accurate than a very basic explicit step, assuming stability is handled correctly.

Truncation error is not the same thing as rounding error. Rounding error comes from the computer storing numbers with limited precision. Truncation error comes from the math behind the method itself, the part where you decide to approximate instead of solve exactly. If your time step is too large or your spatial grid is too coarse, the numerical profile can drift away from the true concentration or temperature curve even if the computer arithmetic is perfect.

A useful way to think about it is this: refining the mesh usually lowers truncation error, but it also raises the number of calculations. In Heat and Mass Transfer problems, that tradeoff matters because you want a solution that is accurate enough to trust without making the computation unnecessarily expensive.

Why truncation error matters in Heat and Mass Transfer

Truncation error is one of the main reasons numerical heat and mass transfer solutions can look slightly off even when the setup seems correct. If you are solving an unsteady diffusion problem, the shape of the temperature or concentration profile depends on how well your finite difference formulas mimic the real derivatives.

This term also helps you read method comparisons. When a problem asks why one scheme is more accurate than another, truncation error is usually the reason. A higher-order method can capture curvature in the profile better, while a low-order method may smear the front or lag behind the true time evolution.

It also connects directly to the practical choices you make in a problem set or lab simulation. Smaller grid spacing and smaller time steps usually reduce truncation error, but they can make the run slower or the hand calculation longer. That balance is a standard engineering tradeoff in Heat and Mass Transfer, where the goal is not just a number, but a number you can trust for design or interpretation.

If you are checking a numerical answer, truncation error helps explain why two solutions with the same physical model can still differ. The equation may be the same, but the discretization is not, and that changes the quality of the approximation.

Keep studying Heat and Mass Transfer Unit 8

Official unit cheatsheet

open one-pager

How truncation error connects across the course

Discretization

Discretization is the step that creates truncation error in the first place. When you turn a continuous diffusion equation into values at discrete nodes and time levels, you replace exact calculus with approximate algebra. The finer your grid, the less information you lose at each step, so truncation error usually drops.

Finite Difference Method

The finite difference method is the main setting where truncation error shows up in unsteady-state diffusion. Forward, backward, and centered difference formulas all approximate derivatives with different accuracy levels. When you compare methods, the truncation error tells you how quickly the approximation improves as the mesh is refined.

Numerical Stability

Truncation error and stability are related, but they are not the same thing. A stable method keeps errors from growing wildly as you step forward in time, while truncation error measures how accurate each approximation step is. You can have a stable method that is still not very accurate if the time step is too large.

Convergence

Convergence is what you look for when reducing truncation error works the way it should. If your solution converges, the numerical answer moves closer to the exact solution as the grid spacing or time step gets smaller. In diffusion problems, that is how you check whether the method is reliable.

Is truncation error on the Heat and Mass Transfer exam?

A problem set question usually asks you to identify where truncation error comes from, compare two finite difference schemes, or explain what happens when the time step or grid spacing changes. You might be given a diffusion equation and asked to say which approximation is first-order or why a more refined mesh gives a better temperature profile.

In calculation work, the move is to connect the formula to the accuracy order. If the method uses a forward difference in time or a one-sided spatial approximation, expect larger truncation error than a centered, higher-order formula. On quizzes, you may also need to explain the tradeoff: smaller steps reduce truncation error, but they increase the number of nodes and time steps you have to compute.

Truncation error vs rounding error

Truncation error comes from replacing an exact mathematical process with a finite approximation, like turning a derivative into a difference equation. Rounding error comes from the computer storing and operating on numbers with limited precision. In Heat and Mass Transfer, both can appear in the same numerical solution, but they have different causes and are reduced in different ways.

Key things to remember about truncation error

  • Truncation error is the error created when a continuous heat or mass transfer equation is approximated with a finite numerical method.

  • It shows up most clearly in finite difference solutions for unsteady-state diffusion, where derivatives are replaced by algebra on a grid.

  • Smaller grid spacing and time steps usually reduce truncation error, but they also increase the amount of computation.

  • Higher-order methods usually give smaller truncation error than low-order methods, which makes the numerical profile closer to the exact one.

  • Truncation error is not the same as rounding error, because it comes from the method itself rather than the computer's decimal precision.

Frequently asked questions about truncation error

What is truncation error in Heat and Mass Transfer?

It is the difference between the exact solution of a heat or mass transfer equation and the approximate result from a numerical method. The error appears because the method uses a finite grid or time step instead of the full continuous process. You see it a lot in diffusion problems solved with finite differences.

Is truncation error the same as rounding error?

No. Truncation error comes from the approximation method, like replacing a derivative with a finite difference. Rounding error comes from the computer's limited number of stored digits. A simulation can have both, but they are caused by different things.

How do you reduce truncation error in diffusion problems?

You usually reduce it by using smaller spatial steps, smaller time steps, or a higher-order numerical method. That makes the finite approximation closer to the exact derivative behavior. The tradeoff is more computation and, in some methods, tighter stability limits.

Why does truncation error matter in unsteady-state diffusion?

Because the temperature or concentration profile changes over time, even a small approximation error can build into a noticeable shift in the predicted profile. If the mesh is too coarse, the solution may lag, smear out gradients, or miss the true peak. That is why accuracy order matters when you choose a method.

Truncation Error in Heat and Mass Transfer | Fiveable