The flow rate formula simulator is a free interactive lab built around the quantity that refuses to move. Set the inlet bore and the inlet mean speed — between them they fix the rate — then drag the downstream bore and watch the rate card hold one string while the speed card sweeps across two orders of magnitude. The pipe steps abruptly rather than tapering, the rate is labelled once on an arrow spanning the step, and no pressure is computed anywhere on this page.
The flow rate is the area times the mean speed: Q = A v, with A = pi d^2 / 4 for a round pipe. The inlet bore and the inlet mean speed are what set the rate; change the downstream bore and the rate card refuses to move while the speed card jumps, exactly reciprocally. The tracer marks are released at equal intervals, so the same volume of fluid passes between any two of them - which is why their gaps stretch where the flow runs faster. Their drift is slowed to read. No pressure is computed anywhere on this page.
The first seven buttons are the lab’s own presets, pressed by id and nothing else. The last four press one of those and then move a slider or two, which is what anyone does half a minute in. Taken in order they tell a story: one rate through three different downstream bores, then the bores made equal, then a change of fluid, then a change of vessel, and finally the two ends of what the sliders can reach.
Pick a pipe above, or drag the four sliders yourself.

The flow rate formula simulator is a free interactive physics lab that runs in your browser, with nothing to install and no sign-up. It draws a round pipe in side elevation which steps abruptly from one bore to another at mid-length, carries one steady rate through both sections, and labels that rate once, on a gold arrow spanning the step. The placement is the claim: the rate is the quantity that does not change where the bore does.
Four sliders drive it. Inlet diameter d1 and Downstream diameter d2 both run 10 to 500 mm in whole millimetres, Inlet mean speed v1 runs 0.10 to 8.00 m/s in steps of 0.05, and Vessel to fill V runs 1 to 1000 L in whole litres. Four buttons pick the fluid — Water, Air, Glycerine and SAE 30 oil — four more pick the unit the rate is printed in, seven presets load a published state, and Pause flow and Reset finish the panel.
Eight readouts answer. Four cards give Volume flow rate, Mean speed in the downstream section, Mass flow rate and Time to fill the vessel; a compact grid beneath them adds Areas, inlet and downstream, Area down, speed up, The same rate, four ways and a Verdict. On the state the lab opens in they read 11.7810 L/s, 6.00000 m/s, 11.7598 kg/s, 8.48826 s and Narrower bore - the same rate forces the flow faster.
Each of the three cards beside the rate answers to exactly one control that moves nothing else. Drag the downstream bore and the speed card sweeps while the rate card holds one string; press a fluid button and only the mass flow moves; drag the vessel and only the fill time moves. The rate itself answers to the inlet bore and the inlet speed, because those two are what set it.
The ratio row states the reciprocity rather than implying it: at the opening state it reads area 4.00000x smaller, speed 4.00000x faster - exactly reciprocal, and one factor is worked out once and printed twice, so the two figures cannot drift apart. Press Same bore all the way and that row reads same area, same speed while the drawing becomes a single uniform pipe with no step in it at all.
The tracer marks are released at equal intervals, so the same volume of fluid passes between any two of them — which makes their gaps wider in whichever section the flow is faster, never narrower. The caption under the drawing gives that volume in litres on every frame, and it also names the one scale the picture is drawn to, because that scale moves with the larger of the two bores.
What the panel will not do, it says. Q = A v is kinematics, so no pressure, no pressure drop and no pumping power is worked out anywhere here, and extreme slider positions reach speeds no real pipe could sustain: the verdict then reads Past the speed of sound in water - the incompressible rule has gone, or the same sentence naming air. Those are the only two fluids this site publishes a speed of sound for, so glycerine and SAE 30 oil never trigger that caveat — a stated gap rather than a clean bill of health.
| Control | Range | Step, default and the card it moves |
|---|---|---|
| Inlet bore d1 | 10 to 500 mm | step 1; opens at 100; sets the rate with the inlet speed |
| Inlet mean speed v1 | 0.10 to 8.00 m/s | step 0.05; opens at 1.50; sets the rate with the inlet bore |
| Downstream bore d2 | 10 to 500 mm | step 1; opens at 50; moves the speed card and never the rate card |
| Vessel to fill V | 1 to 1000 L | step 1; opens at 100; moves the fill-time card alone |
| Buttons | 4 fluids, 4 units, 7 presets | one press each; the fluid moves the mass flow alone, plus Pause flow and Reset |
Dragging is the right way to see which card answers to which control, and a poor way to hit an exact figure. When you already have two of the three quantities and want the third typed out, the flow rate formula calculator solves the same relation for whichever one is missing, with unit menus on every box. For the definition itself, the full unit table and the worked problems, read the guide to the flow rate formula.
Nothing in the four tables below was worked out here. Each row is a state the lab was put into on this page and then read back from, cell by cell, so every string in them is the panel’s own. The first table holds the inlet still and changes the downstream bore, then makes the bores equal, then changes the fluid.
| What was pressed | Downstream bore | Volume flow rate | Mean speed in the downstream section | Mass flow rate | Verdict |
|---|---|---|---|---|---|
| The default pipe: 100 mm at 1.50 metres per second | 50 mm | 11.7810 L/s | 6.00000 m/s | 11.7598 kg/s | Narrower bore - the same rate forces the flow faster |
| A nozzle: 100 mm down to 20 mm | 20 mm | 11.7810 L/s | 37.5000 m/s | 11.7598 kg/s | Narrower bore - the same rate forces the flow faster |
| Widen instead: 100 mm up to 200 mm | 200 mm | 11.7810 L/s | 0.375000 m/s | 11.7598 kg/s | Wider bore - the same rate lets the flow slow down |
| Same bore all the way | 100 mm | 11.7810 L/s | 1.50000 m/s | 11.7598 kg/s | Same bore all the way - one area, one speed, one rate |
| Air in a 200 mm duct | 200 mm | 157.080 L/s | 5.00000 m/s | 0.189124 kg/s | Same bore all the way - one area, one speed, one rate |
Rows one to three share every control but one, and that is the argument. Same inlet bore, same inlet speed, same fluid, same vessel — and one rate string, 11.7810 L/s, repeated down the column while the speed beside it goes from 6.00000 m/s to 37.5000 m/s to 0.375000 m/s. A hundredfold spread in one card and not a digit moved in the other.
Row four is the row worth pressing yourself. With the bores equal the downstream speed is the inlet speed to six figures, the drawing loses its step, and the verdict changes its wording rather than its arithmetic. It is the state that proves the speed card is reporting a consequence of the bore and not a second opinion about the rate.
Row five changes the fluid and the rate column barely notices. The duct carries 157.080 L/s — more than thirteen times the default pipe — and only 0.189124 kg/s of air with it. Anything metered, charged or burned by mass needs that second figure, and the fluid buttons are the only control that moves it.
The Area down, speed up row is where the panel states the reciprocity instead of leaving you to spot it. The factor is worked out once from the two bores and then printed on both halves of the sentence, so the two figures are byte-identical by construction rather than by luck. The hydraulic cylinder force calculator uses the same squared-diameter step on a piston, if you want to see the area arithmetic on its own.
| What was pressed | Areas, inlet and downstream | Area down, speed up |
|---|---|---|
| The default pipe: 100 mm at 1.50 metres per second | 0.00785398 m2 -> 0.00196350 m2 | area 4.00000x smaller, speed 4.00000x faster - exactly reciprocal |
| A nozzle: 100 mm down to 20 mm | 0.00785398 m2 -> 0.000314159 m2 | area 25.0000x smaller, speed 25.0000x faster - exactly reciprocal |
| Widen instead: 100 mm up to 200 mm | 0.00785398 m2 -> 0.0314159 m2 | area 4.00000x larger, speed 4.00000x slower - exactly reciprocal |
| Same bore all the way | 0.00785398 m2 -> 0.00785398 m2 | same area, same speed |
Halving the bore is the trap this row exists for. From 100 mm to 50 mm the area does not halve, it quarters, and the row says area 4.00000x smaller, speed 4.00000x faster. Take the bore down to a fifth, 100 mm to 20 mm, and the factor is 25.0000x: the square in the area does all the work, and most wrong answers in this topic come from forgetting it.
The fourth card divides the vessel by the rate, and its unit changes as the figure crosses sixty — decided on the rounded six-figure reading rather than on the raw float, so the value is never rounded twice. Rows two and three below are the same pipe with a different vessel, which is the cleanest way to see that only this card is listening.
| What was pressed or dialled | Vessel | Volume flow rate | Time to fill the vessel |
|---|---|---|---|
| A 500 mm water main | 1000 L | 392.699 L/s | 2.54648 s |
| A domestic 15 mm pipe | 10 L | 0.176715 L/s | 56.5884 s |
| The same 15 mm pipe, a bigger vessel | 100 L | 0.176715 L/s | 9.43140 min |
| Every slider at its floor | 1000 L | 0.00785398 L/s | 35.3678 h |
The rate unit is yours to choose, and the ladder row underneath is unmoved by the choice. Press each button in turn at the opening state and the card walks the third column of this table while the fourth stays exactly where it was, because that row is the whole ladder every time. A pump quoted in cubic metres per hour and a meter reading in litres per second are the same pipe, and this is the thirty-second check that says so.
| Button | What the rate card prints | What the ladder row prints |
|---|---|---|
| m3/s | 0.0117810 m3/s | 0.0117810 m3/s = 11.7810 L/s = 706.858 L/min = 42.4115 m3/h |
| L/s | 11.7810 L/s | 0.0117810 m3/s = 11.7810 L/s = 706.858 L/min = 42.4115 m3/h |
| L/min | 706.858 L/min | 0.0117810 m3/s = 11.7810 L/s = 706.858 L/min = 42.4115 m3/h |
| m3/h | 42.4115 m3/h | 0.0117810 m3/s = 11.7810 L/s = 706.858 L/min = 42.4115 m3/h |
The lab prints its five relations on itself, in a fixed line under the drawing: Q = A v, A = pi d^2 / 4, A1 v1 = A2 v2, mdot = rho Q and t = V / Q. The first two are the definition and the geometry; the third is the same definition written at two stations; the last two are readings that follow without new physics.
One warning about the letter before the table. Q here is a volume per second, in cubic metres per second, and the same letter stands for a quantity of heat in watts in Fourier's law of heat conduction. Same symbol, different quantity, and nothing on this panel is an energy. The density that turns the rate into kilograms is the subject of the density formula guide.
Ten rows follow and only four of them are things you drag. Two are readings with no control at all, one is pressed on a button, and the last is a factor the panel works out for itself. For the sliders the right-hand column gives the end stops and the step; for everything else it gives the strings the lab prints and the range it prints them over.
| Symbol | Meaning | SI unit | In this lab |
|---|---|---|---|
| Q | Volume flow rate — the area times the mean speed, and the first card. It is a volume per second on this page | cubic metre per second | six significant figures in whichever unit you pressed: 0.0117810 m3/s, 11.7810 L/s, 706.858 L/min, 42.4115 m3/h. Across the sliders the rate runs from 0.00785398 L/s to 1570.80 L/s. |
| A1, A2 | The two cross-sectional areas, each formed from its own bore as A = pi d^2 / 4. Neither has a control of its own |
square metre | the grid row prints both at once: 0.00785398 m2 -> 0.00196350 m2 at the opening state, and 0.0000785398 m2 at a 10 mm bore, which is the smallest area the panel can draw. |
| d1, d2 | The two internal diameters, in whole millimetres. The inlet one helps set the rate; the downstream one cannot touch it | metre, set in millimetres | 10 to 500 mm each, in steps of 1; they open at 100 mm and 50 mm. Every published diameter is a whole number, so the thumb reaches each of them exactly. |
| v1 | Inlet mean speed, the second slider. With the inlet bore it is what sets the rate, and it is a mean across the section | metre per second | 0.10 to 8.00 m/s, in steps of 0.05, echoed beside the slider as 1.50 m/s, 1.00 m/s, 0.10 m/s. Every published speed is a multiple of the step. |
| v2 | Mean speed in the downstream section, the second card. This is the reading the downstream bore moves, and it moves nothing else | metre per second | six significant figures: 1.50000 m/s when the two bores match, 6.00000 m/s at the opening step, 37.5000 m/s through the 20 mm nozzle and 0.375000 m/s when the pipe widens to 200 mm. |
| mdot | Mass flow rate, the third card: the density times the rate. It is proportional to the rate at a fixed fluid, which the card says rather than hides | kilogram per second | six significant figures: 11.7598 kg/s for water at the opening rate, 14.8558 kg/s for glycerine and 10.3201 kg/s for SAE 30 oil at that same rate. |
| rho | Fluid density — pressed on a button rather than typed, because the four figures are the ones this site already publishes | kilogram per cubic metre | four fixed values, shown on the buttons themselves: water 998.2, air 1.204, glycerine 1261 and SAE 30 oil 876 kg/m3. |
| V | The vessel the fourth slider fills. It appears in no other reading on the panel | cubic metre, set in litres | 1 to 1000 L, in steps of 1, echoed as 10 L, 100 L, 1000 L. It is the only control that moves the fill card and the only one the other three cards ignore. |
| t | Time to fill the vessel, the fourth card, as t = V / Q. It falls as the rate rises, which is why it is not the rate restated |
second | the unit climbs on its own, on the rounded figure: 2.54648 s down a 500 mm main, 8.48826 s at the opening state, 9.43140 min for a hundred litres through a 15 mm pipe, 35.3678 h with every slider at its floor. |
| k | The area ratio on the Area down, speed up row — worked out once from the two bores and printed on both halves of that sentence |
dimensionless | not a control and not a card. 4.00000 at the opening step, 25.0000 through the nozzle, and the row drops the factor altogether for same area, same speed when the two bores are equal. |
If you read one row twice, make it k. It is the only entry with no control and no card, and it is what keeps the ratio row from being the speed card restated: one factor, two halves of a sentence, and a claim of exact reciprocity that the panel is in a position to make.
The rate is the area times the mean speed, and that is a definition rather than a law. In one second a steady flow sweeps a cylinder of fluid past any fixed section, as wide as the pipe and as long as the distance travelled in that second. Put a step in the pipe and nothing can accumulate at it, so the volume arriving each second is the volume leaving each second.
That is the whole of continuity, and the panel is built so you can watch it rather than take it on trust. From the test harness rather than a card: the downstream slider was swept across all 491 of its whole-millimetre positions and the rate card printed one single string, 11.7810 L/s, at every one of them, while the speed card printed 491 different ones. The rate does not depend on the downstream bore to a tolerance; it does not depend on it at all.
The speed, though, must. If the rate is fixed and the area falls, the speed has to rise by exactly the factor the area fell by, which is why the ratio row prints one number twice. And because the area goes as the square of the diameter, a bore halved is an area quartered: the speed-up is the square of the diameter ratio, not the ratio itself.
The v in all of this is the mean speed across the section, which matters the moment you compare it with anything measured. A real pipe has faster fluid in the middle than at the wall, and the Reynolds number guide is where that distinction, and the character of the flow it belongs to, is set out properly. This panel takes the mean as given and discusses no profile.
Four cards, four different functions of the controls, and the panel is deliberately arranged so that each of the three beside the rate answers to exactly one control that moves nothing else. The downstream bore moves the speed, the fluid buttons move the mass flow, the vessel moves the fill time, and the inlet pair move all four because they are what set the rate. One correspondence is stated rather than hidden: the mass flow is the density times the rate, so at a fixed fluid the two are proportional.
That correspondence is worth one more sentence, because it is the only pair on the panel that could be mistaken for a repeated reading. The ratio of the mass card to the rate card is the density, and from the test harness rather than a card: the four buttons sweep it from 1.204 to 1261, a span of more than a thousandfold. Two cards whose digits are unrelated, carrying different units, with one printing kilograms and the other litres.
What none of it says is what the flow costs. Q = A v is kinematics: it counts volume past a point and is silent about the pressure, the viscosity and the energy needed to push it there, which is why this lab computes no pressure anywhere. Bernoulli's principle is where the pressure side of a moving fluid lives, and the pressure-at-a-throat lab is its panel — a smooth venturi taper read for its pressure drop, where this one is an abrupt step read for its rate.
The arithmetic here is exact to the last digit a double can hold, and the panel will answer every position its sliders can reach. What fails is the physics around the edges of that bargain: a relation that counts volume and not cost, a density assumed constant, a mean read as a maximum, and one drawing asked to show two bores at once.
A panel can show you which readings a control is allowed to move, and that is the end of what a panel is for. Flow Rate Formula (Q = Av) is where the subject itself is written out: what the rate is, the unit table in full, the area step, the mass flow rate, the fill time and the problems worked through from their own figures. The calculator that takes those figures typed heads the list of related tools below.
Three neighbouring subjects are deliberately absent from this panel, and each is written up on its own terms. Bernoulli's principle is where the pressure side of the story lives, the Reynolds number guide is where the mean speed meets laminar and turbulent flow, and the viscosity guide is where a pressure drop and a viscosity set the rate instead.
Further out, the density formula guide is where the mass card gets its density, the guide to pressure in physics and the Pascal law and hydraulics guide are the other two things an area does, and Fourier's law is where the other Q lives. Beyond that there is the whole simulation library to work through, an index of calculators for when typing beats dragging, and the blog for everything written out at length.
Because the rate is set at the inlet, and the inlet has not changed. Volume cannot pile up at a step, so whatever arrives each second has to leave each second: the card holds one string, 11.7810 L/s, across the whole of that slider. The speed card is what absorbs the change instead, and it does so exactly reciprocally.
Because they are released at equal time intervals, so the gap between two of them is the local speed times that interval. Multiply a gap by the area it sits in and you get the same volume in both sections, which is the point of the whole page. Equal volume per gap forces the longer gap where the flow is faster, and the caption prints that volume in litres.
Because Q = A v is kinematics. It counts the volume crossing a section each second and says nothing about what pushes it, so a pressure card here would be an answer the arithmetic cannot give. The boundary is deliberate rather than an omission, and the fixed line under the drawing states it: no pressure is computed anywhere on this page.
Because this site publishes a speed of sound for water and air only, 1480 m/s and 343 m/s, and inventing a figure for the other two fluids would be worse than leaving the gap visible. So the caveat can fire on water and on air and never on glycerine or SAE 30 oil. Read that silence as missing data, not as a clean bill of health.
Because an automatic switch would add a rounding boundary and teach nothing. Four buttons make the same rate in four units something you do rather than something you watch: one press moves the card between 0.0117810 m3/s, 11.7810 L/s, 706.858 L/min and 42.4115 m3/h. The ladder row underneath prints all four at once and never changes when you press one.
Both, because it is one time printed in two units. That card changes rung on the rounded six-figure reading rather than on the raw one, then prints six figures of the converted value: a hundred litres through the 15 mm pipe reads 9.43140 min rather than a rounded number of seconds. Drop every slider to its floor and it climbs again, to 35.3678 h.
That the bores and the length of the pipe are drawn to a single scale, and what one pixel of the picture is worth in millimetres. That scale is set by the larger of the two bores, so it moves as you drag, and the caption is reprinted on every frame. Without it a 10 mm pipe and a 500 mm pipe would look identical on screen.
That the two factors in that sentence are one number used twice. The area falls by some factor and the speed rises by the same factor, because their product is the rate and the rate has not moved. The lab works that factor out once and prints it on both halves of the row, so the two figures cannot drift apart in their sixth digit.