Courant Number Calculator
- The Courant number counts how many grid cells a signal crosses in one time step: C equals velocity times the time step, divided by the cell size. It is the CFL condition that keeps explicit time-marching schemes honest.
- With a velocity of 2.50 m/s, a time step of 0.01 s and cells of 0.05 m, C is 0.50.
- The largest stable step on this grid is 0.02 s, and keeping this time step would need cells of at least 0.025 m - the two knobs trade against each other through the velocity.
- Cross C of 1 with an explicit scheme and information outruns the numerics: errors amplify step after step until the solution blows up, which is why CFD and weather codes watch this number every run.
The Courant Number Calculator tells you how many grid cells a signal crosses in a single time step. The Courant number C equals velocity times time step divided by cell size, and explicit schemes need it at or below 1 to stay stable. Enter your flow velocity, time step and cell size, and the calculator returns C along with a clear stable-or-unstable reading. For example, a 2.5 m/s flow with a 0.01 s step on 0.05 m cells gives a Courant number of 0.50 - comfortably stable. Push the step to 0.02 s at 10 m/s and the Courant number is 2.00 - an explicit solver would blow up. A slow river model at 0.8 m/s with a 0.25 s step on 0.4 m cells gives 0.50.
This direct ratio is the accepted standard because it captures the core stability limit of explicit schemes in one number: keep C at or below 1. It also exposes the real cost driver in CFD. The largest stable step on a grid is the cell size divided by the velocity, so refining a mesh by two forces the time step down by two. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every result by hand rather than trusting a black box.
Worked examples
Stable CFD cell
A 2.5 m/s flow with a 0.01 s step on 0.05 m cells gives a Courant number of 0.50 - comfortably stable. (2.5 m/s · 0.01 s · 0.05 m)
| Courant number | 0.50 |
| Maximum stable time step | 0.02 s |
| Minimum cell size for this step | 0.025 m |
| Stability | Stable - within the CFL limit of 1 |
Oversized time step
Pushing the step to 0.02 s at 10 m/s gives 2.00 - an explicit solver would blow up. (10 m/s · 0.02 s · 0.1 m)
| Courant number | 2.00 |
| Maximum stable time step | 0.01 s |
| Minimum cell size for this step | 0.2 m |
| Stability | Unstable for explicit schemes - cut the time step or coarsen the grid |
Slow river model
A slow river model at 0.8 m/s gives 0.50, stable with room to spare. (0.8 m/s · 0.25 s · 0.4 m)
| Courant number | 0.50 |
| Maximum stable time step | 0.5 s |
| Minimum cell size for this step | 0.2 m |
| Stability | Stable - within the CFL limit of 1 |
What the Courant number is
The Courant number is a single dimensionless figure that tells you how far information travels across a computational grid in one time step, measured in cells. You get it by multiplying the flow velocity by the size of the time step and dividing by the size of a grid cell: C = u dt/dx. A Courant number of 0.25 means a signal moves a quarter of a cell per step; a value of 1.00 means it moves exactly one cell. This is the quantity a courant number calculator reports, and it is the first thing to check before running an explicit simulation.
The number matters because of the CFL condition. In an explicit time-marching scheme, the solution at each new step is built only from values at the previous step, so the numerics can only pass information one cell per step. If the physical signal moves faster than that, the solver is trying to compute with data it does not yet have, and the result is not just inaccurate but unstable — errors grow instead of fading. Keeping the Courant number at or below 1 keeps the physics inside the reach of the numerics.
Concrete cases show how quickly the figure moves. A flow at 2.5 m/s with a 0.01 s time step on 0.05 m cells gives a Courant number of 0.50, comfortably stable. Keep the same grid and push the step to 0.02 s at 10 m/s and the Courant number becomes 2.00 — an explicit solver would blow up. A slow river model at 0.8 m/s with a 0.25 s step on 0.4 m cells lands back at 0.50, a safe operating point. The pattern is consistent: velocity and time step in the numerator, cell size in the denominator, and 1.00 as the ceiling for explicit work.
That ceiling has a direct cost. The largest stable step on a grid is the cell size divided by the velocity, so refining a mesh by two forces the time step down by two. Twice the cells and half the step means roughly four times the work for the same simulated period — the real cost driver in CFD. This is why mesh resolution and time step are chosen together rather than separately, and why checking the Courant number early saves hours of debugging a run that was never going to hold together.
Stability in practice
The Courant number is a stability gauge, not just a descriptive statistic. When C is at or below 1, information travels no farther than one cell per time step, and an explicit scheme can track it. When C crosses 1, the numerical update at a cell can no longer see everything that influences it within a single step. The error introduced at each step is not damped; it feeds into the next step and grows. That is why an explicit solver does not merely lose accuracy past the limit — it blows up. Running a courant number calculator before you commit to a time step is the cheapest way to avoid discovering this the hard way.
The three worked examples show where that line sits. A 2.5 m/s flow with a 0.01 s step on 0.05 m cells gives a Courant number of 0.50 — comfortably stable, with room to spare. A slow river model at 0.8 m/s with a 0.25 s step on 0.4 m cells also gives a Courant number of 0.50, a reminder that stability depends on the ratio of velocity, step and cell size, not on any one of them alone. The third case is the cautionary one: pushing the step to 0.02 s at 10 m/s gives a Courant number of 2.00, and an explicit solver would blow up. Same kind of arithmetic, very different outcome.
The reason the 2.00 case fails so decisively is that the excess compounds. Each step, the scheme advances the solution using neighboring values that are already out of date relative to the physics; the mismatch is amplified rather than smoothed, step after step, until the numbers are meaningless. A Courant number of 0.50 leaves margin for the scheme's own numerical behavior, while a value at the limit of 1 offers none.
There is a practical consequence hidden in the definition. The largest stable step on a grid is the cell size divided by the velocity, so refining a mesh by two forces the time step down by two. Halve the cells and you double the number of steps; the two effects multiply, and that is the real cost driver in CFD. It is worth checking the Courant number whenever you change either the mesh or the step, because the pair, not either one, determines whether the run stays stable.
Trading step size against cell size
The Courant number ties together the two settings you control most directly in an explicit simulation: how far the fluid moves in each time step, and how far apart the grid points sit. A courant number calculator applies C = velocity × time step ÷ cell size, and explicit schemes need C at or below 1. That single condition links the two knobs, because changing either one moves the number. You can shrink the step, refine the cells, or adjust both, and the Courant number responds in kind.
Start with step size. For a given velocity and cell size, the largest stable step is the cell size divided by the velocity, since that is the point where C reaches 1. A 2.5 m/s flow with a 0.01 s step on 0.05 m cells gives a Courant number of 0.50 — comfortably stable, with room to spare. Push the step to 0.02 s at 10 m/s and the Courant number becomes 2.00; an explicit solver would blow up. The step is the easy knob to turn, but it is not free: every halving of the step doubles the number of steps needed to cover the same simulated time.
Now look at the other side, cell size. A slow river model at 0.8 m/s with a 0.25 s step on 0.4 m cells gives a Courant number of 0.50 — stable, and with cells large enough that the step can stay generous. The inverse question matters just as much: for a chosen step, what is the smallest cell you can afford? Rearranging the same relation, the minimum cell size is velocity × time step, the size at which C would reach 1. Go smaller than that and the Courant number climbs above 1, and an explicit scheme becomes unstable.
The two knobs are not symmetric in cost. The largest stable step on a grid is the cell size divided by the velocity, so refining a mesh by two forces the time step down by two — the real cost driver in CFD. Halving cell size in each direction means more cells, and the stable step shrinks along with them, so the total work grows on both counts at once. Coarsening the mesh buys a larger step, but at the price of resolving less detail.
That is the trade the heading names. A courant number calculator lets you test a velocity, step, and cell size together before committing, so you can see whether C sits safely below 1 or whether one setting has to give. Choose the step and cell size as a pair, not one at a time, and check the Courant number each time either one changes.
Beyond simple CFD
The basic Courant number rule assumes a single signal speed, but real models often carry more than one. In acoustics, the relevant speed is the speed of sound, which can be hundreds of meters per second even when the fluid itself barely moves. In shallow-water and river models, the governing wave speed includes the gravity-wave term, so a fast-moving flood wave sets the limit rather than the bulk current. A slow river model at 0.8 m/s with a 0.25 s step on 0.4 m cells gives a Courant number of 0.50 — stable, but only because the wave speed used in the calculation matches the physics being simulated. Pick the wrong speed and the number you get from a courant number calculator will be reassuring and wrong.
The limit of 1 applies to explicit schemes. Implicit time-stepping relaxes it: because the solution at the new time level is solved for simultaneously across the grid, information can travel further than one cell per step without the computation becoming unstable. That does not make large steps free. Accuracy, the resolution of moving features, and the behavior of the iterative solver all degrade as the step grows, so implicit methods trade a hard stability ceiling for softer error penalties. The Courant number remains a useful diagnostic even when it is no longer a strict constraint.
Multi-dimensional grids complicate the picture further. The one-dimensional form C equals velocity times time step divided by cell size extends to each coordinate direction separately, and the stability condition in two or three dimensions depends on how those directional numbers combine. In practice, modelers check the Courant number in every direction and treat the largest as the governing value, since a signal crossing several cells diagonally per step is the case most likely to cause trouble. Anisotropic cells — long and thin — make this check essential, because a step that is comfortable along one axis can be far too large along another.
The cost consequences are unavoidable. The largest stable step on a grid is the cell size divided by the velocity, so refining a mesh by two forces the time step down by two — the real cost driver in CFD. Halving cell size doubles the number of cells in each direction and halves the step, so a three-dimensional refinement by two multiplies the work by a factor of sixteen. That is why mesh resolution decisions are rarely made on accuracy grounds alone. A quick check with a courant number calculator before refining tells you what the time step will become, and therefore what the run will cost, before any of the computing is spent.
FAQs
What is the Courant number?
The Courant number is velocity times time step over cell size. It tells you the number of cells a signal crosses per step. In practical terms, it compares how far information travels in one time step with the size of the cells in your mesh, giving a simple measure of how well the simulation tracks moving signals.
What Courant number is stable?
For explicit schemes, the Courant number should be at or below 1 to stay stable. Many codes target 0.5 or less, because that lower value helps with accuracy as well as stability. Staying under 1 keeps a signal from skipping past whole cells in a single step, which is what the stability condition requires.
What happens if the Courant number is too high?
When the Courant number is too high, errors amplify every step until the solution diverges. This is the classic CFD blow-up: small numerical errors feed on themselves and grow instead of fading, so the computed values eventually run off to unusable results. Keeping the number within the stable range prevents this runaway growth.
How do I fix a Courant number of 2.00?
With a Courant number of 2.00, you have three practical options. Halve the time step, double the cell size, or switch to an implicit scheme. Each change brings the number back toward the stable range, though halving the time step and doubling the cell size affect resolution and cost differently, so choose based on what your simulation needs.
Does the CFL condition apply to implicit solvers?
Implicit schemes stay stable above 1, so the strict limit that governs explicit methods does not apply in the same way. However, accuracy still degrades as the Courant number grows. You can run implicit solvers at higher Courant numbers without divergence, but the results become less reliable, so watch accuracy as well as stability.
Who were Courant, Friedrichs and Lewy?
They were the authors of the 1928 paper that first proved the condition is necessary for convergence. Their names give us the CFL condition, the stability requirement that links velocity, time step and cell size. That early proof established why the Courant number matters for numerical solutions.