Pipe Volume, Fill & Flush Calculator
Build a liquid inventory from actual internal pipe diameters, lengths and item counts, then add known equipment volumes. This pipe volume calculator combines metric and US units on one page and preserves quantities when units change. Separate fill and replacement scenarios show how much liquid to add to a partly filled system and how much throughput two ideal models require to reduce original liquid in a full system. Contribution bars, remaining-liquid curves, target checkpoints, an exact-value inspector and a complete CSV make the assumptions and results inspectable. The replacement models illustrate system-average original liquid remaining; they do not predict outlet concentration, prove cleanliness or solve a hydraulic network.
Know your system’s volume. See what replacement takes.
Build a multi-section pipe inventory, estimate filling time and compare ideal liquid-replacement models in one workspace.
Build your liquid inventory
Use internal diameter and length per pipe. Add known equipment liquid volumes separately. Unit changes preserve quantity exactly; repeating conversions may appear as fractions.
Equipment and other known liquid volumes
Enter the working liquid volume per item, rather than its external size or nominal capacity. Zero-volume rows are allowed.
Set the fill and replacement scenarios
0–100%, up to six decimal places. This setting affects filling only.
0–100%, up to six decimal places. Replacement always starts with a full system; zero is asymptotic for complete mixing.
0–50 exchanges, up to six decimal places. The exact checkpoint is included in the chart and table.
Inventory updated: 255.619 L.
Full system liquid inventory
255.619 L
Pipes: 235.619 L
Equipment: 20 L
Where the volume is
Each row includes its item count. Bars show share of the total inventory.
- Main run × 1196.35 L · 76.8132%
- Branches × 439.2699 L · 15.3626%
- Equipment liquid volume × 120 L · 7.82413%
Fill the available space
This is the fill scenario only. It does not describe replacement of a full system.
- Already filled
- 0 L
- Liquid to add
- 255.619 L
- Fill duration
- 12.781 min
Replace original liquid in a full system
Start with the full inventory. Inflow contains no original liquid; outflow equals inflow. These ideal models do not bound real network performance.
Ideal displacement
253.063 L
0.99 inventory exchanges
12.6532 min
Complete mixing
1,177.17 L
4.60517 inventory exchanges
58.8586 min
Original liquid remaining
System-average original-liquid percentage, not outlet concentration. One exchange means throughput equal to the entire inventory.
- Solid blue + circle target: ideal displacement
- Dashed purple + square target: complete mixing
Markers show finite target checkpoints; the target cards give their exact throughput and duration. An exact-zero mixed target has no finite marker.
At 1 exchanges
Throughput: 255.619 L · 12.781 min
- Ideal displacement remaining
- 0%
- 0 L original liquid
- Complete mixing remaining
- 36.7879%
- 94.0371 L original liquid
Full replacement data (203 checkpoints)
| Exchanges | Throughput | Duration | Displacement remaining | Mixed remaining | Displacement original volume | Mixed original volume |
|---|---|---|---|---|---|---|
| 0 | 0 L | 0 min | 100% | 100% | 255.619 L | 255.619 L |
| 0.025 | 6.39049 L | 0.319524 min | 97.5% | 97.531% | 249.229 L | 249.308 L |
| 0.05 | 12.781 L | 0.639049 min | 95% | 95.1229% | 242.838 L | 243.153 L |
| 0.075 | 19.1715 L | 0.958573 min | 92.5% | 92.7743% | 236.448 L | 237.149 L |
| 0.1 | 25.5619 L | 1.2781 min | 90% | 90.4837% | 230.058 L | 231.294 L |
| 0.125 | 31.9524 L | 1.59762 min | 87.5% | 88.2497% | 223.667 L | 225.583 L |
| 0.15 | 38.3429 L | 1.91715 min | 85% | 86.0708% | 217.277 L | 220.014 L |
| 0.175 | 44.7334 L | 2.23667 min | 82.5% | 83.9457% | 210.886 L | 214.582 L |
| 0.2 | 51.1239 L | 2.55619 min | 80% | 81.8731% | 204.496 L | 209.284 L |
| 0.225 | 57.5144 L | 2.87572 min | 77.5% | 79.8516% | 198.105 L | 204.116 L |
| 0.25 | 63.9049 L | 3.19524 min | 75% | 77.8801% | 191.715 L | 199.077 L |
| 0.275 | 70.2953 L | 3.51477 min | 72.5% | 75.9572% | 185.324 L | 194.161 L |
| 0.3 | 76.6858 L | 3.83429 min | 70% | 74.0818% | 178.934 L | 189.368 L |
| 0.325 | 83.0763 L | 4.15382 min | 67.5% | 72.2527% | 172.543 L | 184.692 L |
| 0.35 | 89.4668 L | 4.47334 min | 65% | 70.4688% | 166.153 L | 180.132 L |
| 0.375 | 95.8573 L | 4.79286 min | 62.5% | 68.7289% | 159.762 L | 175.685 L |
| 0.4 | 102.248 L | 5.11239 min | 60% | 67.032% | 153.372 L | 171.347 L |
| 0.425 | 108.638 L | 5.43191 min | 57.5% | 65.377% | 146.981 L | 167.116 L |
| 0.45 | 115.029 L | 5.75144 min | 55% | 63.7628% | 140.591 L | 162.99 L |
| 0.475 | 121.419 L | 6.07096 min | 52.5% | 62.1885% | 134.2 L | 158.966 L |
| 0.5 | 127.81 L | 6.39049 min | 50% | 60.6531% | 127.81 L | 155.041 L |
| 0.525 | 134.2 L | 6.71001 min | 47.5% | 59.1555% | 121.419 L | 151.213 L |
| 0.55 | 140.591 L | 7.02953 min | 45% | 57.695% | 115.029 L | 147.48 L |
| 0.575 | 146.981 L | 7.34906 min | 42.5% | 56.2705% | 108.638 L | 143.838 L |
| 0.6 | 153.372 L | 7.66858 min | 40% | 54.8812% | 102.248 L | 140.287 L |
| 0.625 | 159.762 L | 7.98811 min | 37.5% | 53.5261% | 95.8573 L | 136.823 L |
| 0.65 | 166.153 L | 8.30763 min | 35% | 52.2046% | 89.4668 L | 133.445 L |
| 0.675 | 172.543 L | 8.62716 min | 32.5% | 50.9156% | 83.0763 L | 130.15 L |
| 0.7 | 178.934 L | 8.94668 min | 30% | 49.6585% | 76.6858 L | 126.937 L |
| 0.725 | 185.324 L | 9.26621 min | 27.5% | 48.4325% | 70.2953 L | 123.803 L |
| 0.75 | 191.715 L | 9.58573 min | 25% | 47.2367% | 63.9049 L | 120.746 L |
| 0.775 | 198.105 L | 9.90525 min | 22.5% | 46.0704% | 57.5144 L | 117.765 L |
| 0.8 | 204.496 L | 10.2248 min | 20% | 44.9329% | 51.1239 L | 114.857 L |
| 0.825 | 210.886 L | 10.5443 min | 17.5% | 43.8235% | 44.7334 L | 112.021 L |
| 0.85 | 217.277 L | 10.8638 min | 15% | 42.7415% | 38.3429 L | 109.256 L |
| 0.875 | 223.667 L | 11.1834 min | 12.5% | 41.6862% | 31.9524 L | 106.558 L |
| 0.9 | 230.058 L | 11.5029 min | 10% | 40.657% | 25.5619 L | 103.927 L |
| 0.925 | 236.448 L | 11.8224 min | 7.5% | 39.6531% | 19.1715 L | 101.361 L |
| 0.95 | 242.838 L | 12.1419 min | 5% | 38.6741% | 12.781 L | 98.8585 L |
| 0.975 | 249.229 L | 12.4614 min | 2.5% | 37.7192% | 6.39049 L | 96.4177 L |
| 0.99 | 253.063 L | 12.6532 min | 1% | 37.1577% | 2.55619 L | 94.9822 L |
| 1 | 255.619 L | 12.781 min | 0% | 36.7879% | 0 L | 94.0371 L |
| 1.025 | 262.01 L | 13.1005 min | 0% | 35.8796% | 0 L | 91.7154 L |
| 1.05 | 268.4 L | 13.42 min | 0% | 34.9938% | 0 L | 89.4509 L |
| 1.075 | 274.791 L | 13.7395 min | 0% | 34.1298% | 0 L | 87.2423 L |
| 1.1 | 281.181 L | 14.0591 min | 0% | 33.2871% | 0 L | 85.0883 L |
| 1.125 | 287.572 L | 14.3786 min | 0% | 32.4652% | 0 L | 82.9875 L |
| 1.15 | 293.962 L | 14.6981 min | 0% | 31.6637% | 0 L | 80.9385 L |
| 1.175 | 300.353 L | 15.0176 min | 0% | 30.8819% | 0 L | 78.9401 L |
| 1.2 | 306.743 L | 15.3372 min | 0% | 30.1194% | 0 L | 76.9911 L |
| 1.225 | 313.134 L | 15.6567 min | 0% | 29.3758% | 0 L | 75.0902 L |
| 1.25 | 319.524 L | 15.9762 min | 0% | 28.6505% | 0 L | 73.2362 L |
| 1.275 | 325.915 L | 16.2957 min | 0% | 27.9431% | 0 L | 71.428 L |
| 1.3 | 332.305 L | 16.6153 min | 0% | 27.2532% | 0 L | 69.6644 L |
| 1.325 | 338.696 L | 16.9348 min | 0% | 26.5803% | 0 L | 67.9444 L |
| 1.35 | 345.086 L | 17.2543 min | 0% | 25.924% | 0 L | 66.2669 L |
| 1.375 | 351.477 L | 17.5738 min | 0% | 25.284% | 0 L | 64.6307 L |
| 1.4 | 357.867 L | 17.8934 min | 0% | 24.6597% | 0 L | 63.035 L |
| 1.425 | 364.258 L | 18.2129 min | 0% | 24.0508% | 0 L | 61.4786 L |
| 1.45 | 370.648 L | 18.5324 min | 0% | 23.457% | 0 L | 59.9607 L |
| 1.475 | 377.039 L | 18.8519 min | 0% | 22.8779% | 0 L | 58.4803 L |
| 1.5 | 383.429 L | 19.1715 min | 0% | 22.313% | 0 L | 57.0364 L |
| 1.525 | 389.82 L | 19.491 min | 0% | 21.7621% | 0 L | 55.6282 L |
| 1.55 | 396.21 L | 19.8105 min | 0% | 21.2248% | 0 L | 54.2547 L |
| 1.575 | 402.601 L | 20.13 min | 0% | 20.7008% | 0 L | 52.9152 L |
| 1.6 | 408.991 L | 20.4496 min | 0% | 20.1897% | 0 L | 51.6087 L |
| 1.625 | 415.382 L | 20.7691 min | 0% | 19.6912% | 0 L | 50.3345 L |
| 1.65 | 421.772 L | 21.0886 min | 0% | 19.205% | 0 L | 49.0917 L |
| 1.675 | 428.163 L | 21.4081 min | 0% | 18.7308% | 0 L | 47.8796 L |
| 1.7 | 434.553 L | 21.7277 min | 0% | 18.2684% | 0 L | 46.6975 L |
| 1.725 | 440.944 L | 22.0472 min | 0% | 17.8173% | 0 L | 45.5445 L |
| 1.75 | 447.334 L | 22.3667 min | 0% | 17.3774% | 0 L | 44.42 L |
| 1.775 | 453.725 L | 22.6862 min | 0% | 16.9483% | 0 L | 43.3233 L |
| 1.8 | 460.115 L | 23.0058 min | 0% | 16.5299% | 0 L | 42.2536 L |
| 1.825 | 466.505 L | 23.3253 min | 0% | 16.1218% | 0 L | 41.2104 L |
| 1.85 | 472.896 L | 23.6448 min | 0% | 15.7237% | 0 L | 40.1929 L |
| 1.875 | 479.286 L | 23.9643 min | 0% | 15.3355% | 0 L | 39.2005 L |
| 1.9 | 485.677 L | 24.2838 min | 0% | 14.9569% | 0 L | 38.2326 L |
| 1.925 | 492.067 L | 24.6034 min | 0% | 14.5876% | 0 L | 37.2887 L |
| 1.95 | 498.458 L | 24.9229 min | 0% | 14.2274% | 0 L | 36.368 L |
| 1.975 | 504.848 L | 25.2424 min | 0% | 13.8761% | 0 L | 35.4701 L |
| 2 | 511.239 L | 25.5619 min | 0% | 13.5335% | 0 L | 34.5943 L |
| 2.025 | 517.629 L | 25.8815 min | 0% | 13.1994% | 0 L | 33.7402 L |
| 2.05 | 524.02 L | 26.201 min | 0% | 12.8735% | 0 L | 32.9071 L |
| 2.075 | 530.41 L | 26.5205 min | 0% | 12.5556% | 0 L | 32.0947 L |
| 2.1 | 536.801 L | 26.84 min | 0% | 12.2456% | 0 L | 31.3022 L |
| 2.125 | 543.191 L | 27.1596 min | 0% | 11.9433% | 0 L | 30.5294 L |
| 2.15 | 549.582 L | 27.4791 min | 0% | 11.6484% | 0 L | 29.7756 L |
| 2.175 | 555.972 L | 27.7986 min | 0% | 11.3608% | 0 L | 29.0405 L |
| 2.2 | 562.363 L | 28.1181 min | 0% | 11.0803% | 0 L | 28.3234 L |
| 2.225 | 568.753 L | 28.4377 min | 0% | 10.8067% | 0 L | 27.6241 L |
| 2.25 | 575.144 L | 28.7572 min | 0% | 10.5399% | 0 L | 26.9421 L |
| 2.275 | 581.534 L | 29.0767 min | 0% | 10.2797% | 0 L | 26.2769 L |
| 2.3 | 587.925 L | 29.3962 min | 0% | 10.0259% | 0 L | 25.6281 L |
| 2.325 | 594.315 L | 29.7158 min | 0% | 9.77834% | 0 L | 24.9954 L |
| 2.35 | 600.706 L | 30.0353 min | 0% | 9.53692% | 0 L | 24.3782 L |
| 2.375 | 607.096 L | 30.3548 min | 0% | 9.30145% | 0 L | 23.7763 L |
| 2.4 | 613.487 L | 30.6743 min | 0% | 9.0718% | 0 L | 23.1893 L |
| 2.425 | 619.877 L | 30.9939 min | 0% | 8.84781% | 0 L | 22.6167 L |
| 2.45 | 626.268 L | 31.3134 min | 0% | 8.62936% | 0 L | 22.0583 L |
| 2.475 | 632.658 L | 31.6329 min | 0% | 8.4163% | 0 L | 21.5137 L |
| 2.5 | 639.049 L | 31.9524 min | 0% | 8.2085% | 0 L | 20.9825 L |
| 2.525 | 645.439 L | 32.272 min | 0% | 8.00583% | 0 L | 20.4645 L |
| 2.55 | 651.83 L | 32.5915 min | 0% | 7.80817% | 0 L | 19.9592 L |
| 2.575 | 658.22 L | 32.911 min | 0% | 7.61538% | 0 L | 19.4664 L |
| 2.6 | 664.611 L | 33.2305 min | 0% | 7.42736% | 0 L | 18.9858 L |
| 2.625 | 671.001 L | 33.5501 min | 0% | 7.24398% | 0 L | 18.517 L |
| 2.65 | 677.392 L | 33.8696 min | 0% | 7.06512% | 0 L | 18.0598 L |
| 2.675 | 683.782 L | 34.1891 min | 0% | 6.89068% | 0 L | 17.6139 L |
| 2.7 | 690.173 L | 34.5086 min | 0% | 6.72055% | 0 L | 17.179 L |
| 2.725 | 696.563 L | 34.8281 min | 0% | 6.55462% | 0 L | 16.7549 L |
| 2.75 | 702.953 L | 35.1477 min | 0% | 6.39279% | 0 L | 16.3412 L |
| 2.775 | 709.344 L | 35.4672 min | 0% | 6.23495% | 0 L | 15.9377 L |
| 2.8 | 715.734 L | 35.7867 min | 0% | 6.08101% | 0 L | 15.5442 L |
| 2.825 | 722.125 L | 36.1062 min | 0% | 5.93087% | 0 L | 15.1604 L |
| 2.85 | 728.515 L | 36.4258 min | 0% | 5.78443% | 0 L | 14.7861 L |
| 2.875 | 734.906 L | 36.7453 min | 0% | 5.64161% | 0 L | 14.4211 L |
| 2.9 | 741.296 L | 37.0648 min | 0% | 5.50232% | 0 L | 14.065 L |
| 2.925 | 747.687 L | 37.3843 min | 0% | 5.36647% | 0 L | 13.7177 L |
| 2.95 | 754.077 L | 37.7039 min | 0% | 5.23397% | 0 L | 13.379 L |
| 2.975 | 760.468 L | 38.0234 min | 0% | 5.10474% | 0 L | 13.0487 L |
| 3 | 766.858 L | 38.3429 min | 0% | 4.97871% | 0 L | 12.7265 L |
| 3.025 | 773.249 L | 38.6624 min | 0% | 4.85578% | 0 L | 12.4123 L |
| 3.05 | 779.639 L | 38.982 min | 0% | 4.73589% | 0 L | 12.1059 L |
| 3.075 | 786.03 L | 39.3015 min | 0% | 4.61896% | 0 L | 11.807 L |
| 3.1 | 792.42 L | 39.621 min | 0% | 4.50492% | 0 L | 11.5155 L |
| 3.125 | 798.811 L | 39.9405 min | 0% | 4.39369% | 0 L | 11.2311 L |
| 3.15 | 805.201 L | 40.2601 min | 0% | 4.28521% | 0 L | 10.9538 L |
| 3.175 | 811.592 L | 40.5796 min | 0% | 4.17941% | 0 L | 10.6834 L |
| 3.2 | 817.982 L | 40.8991 min | 0% | 4.07622% | 0 L | 10.4196 L |
| 3.225 | 824.373 L | 41.2186 min | 0% | 3.97558% | 0 L | 10.1624 L |
| 3.25 | 830.763 L | 41.5382 min | 0% | 3.87742% | 0 L | 9.91144 L |
| 3.275 | 837.154 L | 41.8577 min | 0% | 3.78169% | 0 L | 9.66673 L |
| 3.3 | 843.544 L | 42.1772 min | 0% | 3.68832% | 0 L | 9.42805 L |
| 3.325 | 849.935 L | 42.4967 min | 0% | 3.59725% | 0 L | 9.19528 L |
| 3.35 | 856.325 L | 42.8163 min | 0% | 3.50844% | 0 L | 8.96824 L |
| 3.375 | 862.716 L | 43.1358 min | 0% | 3.42181% | 0 L | 8.74682 L |
| 3.4 | 869.106 L | 43.4553 min | 0% | 3.33733% | 0 L | 8.53086 L |
| 3.425 | 875.497 L | 43.7748 min | 0% | 3.25493% | 0 L | 8.32023 L |
| 3.45 | 881.887 L | 44.0944 min | 0% | 3.17456% | 0 L | 8.1148 L |
| 3.475 | 888.278 L | 44.4139 min | 0% | 3.09618% | 0 L | 7.91445 L |
| 3.5 | 894.668 L | 44.7334 min | 0% | 3.01974% | 0 L | 7.71904 L |
| 3.525 | 901.059 L | 45.0529 min | 0% | 2.94518% | 0 L | 7.52845 L |
| 3.55 | 907.449 L | 45.3725 min | 0% | 2.87246% | 0 L | 7.34258 L |
| 3.575 | 913.84 L | 45.692 min | 0% | 2.80154% | 0 L | 7.16129 L |
| 3.6 | 920.23 L | 46.0115 min | 0% | 2.73237% | 0 L | 6.98447 L |
| 3.625 | 926.621 L | 46.331 min | 0% | 2.66491% | 0 L | 6.81203 L |
| 3.65 | 933.011 L | 46.6505 min | 0% | 2.59911% | 0 L | 6.64384 L |
| 3.675 | 939.401 L | 46.9701 min | 0% | 2.53494% | 0 L | 6.4798 L |
| 3.7 | 945.792 L | 47.2896 min | 0% | 2.47235% | 0 L | 6.31981 L |
| 3.725 | 952.182 L | 47.6091 min | 0% | 2.41131% | 0 L | 6.16378 L |
| 3.75 | 958.573 L | 47.9286 min | 0% | 2.35177% | 0 L | 6.01159 L |
| 3.775 | 964.963 L | 48.2482 min | 0% | 2.29371% | 0 L | 5.86317 L |
| 3.8 | 971.354 L | 48.5677 min | 0% | 2.23708% | 0 L | 5.7184 L |
| 3.825 | 977.744 L | 48.8872 min | 0% | 2.18184% | 0 L | 5.57722 L |
| 3.85 | 984.135 L | 49.2067 min | 0% | 2.12797% | 0 L | 5.43951 L |
| 3.875 | 990.525 L | 49.5263 min | 0% | 2.07543% | 0 L | 5.30521 L |
| 3.9 | 996.916 L | 49.8458 min | 0% | 2.02419% | 0 L | 5.17423 L |
| 3.925 | 1,003.31 L | 50.1653 min | 0% | 1.97421% | 0 L | 5.04647 L |
| 3.95 | 1,009.7 L | 50.4848 min | 0% | 1.92547% | 0 L | 4.92188 L |
| 3.975 | 1,016.09 L | 50.8044 min | 0% | 1.87793% | 0 L | 4.80035 L |
| 4 | 1,022.48 L | 51.1239 min | 0% | 1.83156% | 0 L | 4.68183 L |
| 4.025 | 1,028.87 L | 51.4434 min | 0% | 1.78634% | 0 L | 4.56624 L |
| 4.05 | 1,035.26 L | 51.7629 min | 0% | 1.74224% | 0 L | 4.4535 L |
| 4.075 | 1,041.65 L | 52.0825 min | 0% | 1.69922% | 0 L | 4.34354 L |
| 4.1 | 1,048.04 L | 52.402 min | 0% | 1.65727% | 0 L | 4.2363 L |
| 4.125 | 1,054.43 L | 52.7215 min | 0% | 1.61635% | 0 L | 4.1317 L |
| 4.15 | 1,060.82 L | 53.041 min | 0% | 1.57644% | 0 L | 4.02969 L |
| 4.175 | 1,067.21 L | 53.3606 min | 0% | 1.53752% | 0 L | 3.9302 L |
| 4.2 | 1,073.6 L | 53.6801 min | 0% | 1.49956% | 0 L | 3.83316 L |
| 4.225 | 1,079.99 L | 53.9996 min | 0% | 1.46253% | 0 L | 3.73852 L |
| 4.25 | 1,086.38 L | 54.3191 min | 0% | 1.42642% | 0 L | 3.64622 L |
| 4.275 | 1,092.77 L | 54.6387 min | 0% | 1.3912% | 0 L | 3.55619 L |
| 4.3 | 1,099.16 L | 54.9582 min | 0% | 1.35686% | 0 L | 3.46839 L |
| 4.325 | 1,105.55 L | 55.2777 min | 0% | 1.32336% | 0 L | 3.38275 L |
| 4.35 | 1,111.94 L | 55.5972 min | 0% | 1.29068% | 0 L | 3.29923 L |
| 4.375 | 1,118.34 L | 55.9168 min | 0% | 1.25881% | 0 L | 3.21777 L |
| 4.4 | 1,124.73 L | 56.2363 min | 0% | 1.22773% | 0 L | 3.13833 L |
| 4.425 | 1,131.12 L | 56.5558 min | 0% | 1.19742% | 0 L | 3.06084 L |
| 4.45 | 1,137.51 L | 56.8753 min | 0% | 1.16786% | 0 L | 2.98527 L |
| 4.475 | 1,143.9 L | 57.1949 min | 0% | 1.13902% | 0 L | 2.91156 L |
| 4.5 | 1,150.29 L | 57.5144 min | 0% | 1.1109% | 0 L | 2.83968 L |
| 4.525 | 1,156.68 L | 57.8339 min | 0% | 1.08347% | 0 L | 2.76956 L |
| 4.55 | 1,163.07 L | 58.1534 min | 0% | 1.05672% | 0 L | 2.70118 L |
| 4.575 | 1,169.46 L | 58.4729 min | 0% | 1.03063% | 0 L | 2.63449 L |
| 4.6 | 1,175.85 L | 58.7925 min | 0% | 1.00518% | 0 L | 2.56944 L |
| 4.60517 | 1,177.17 L | 58.8586 min | 0% | 1% | 0 L | 2.55619 L |
| 4.625 | 1,182.24 L | 59.112 min | 0% | 0.980366% | 0 L | 2.506 L |
| 4.65 | 1,188.63 L | 59.4315 min | 0% | 0.95616% | 0 L | 2.44413 L |
| 4.675 | 1,195.02 L | 59.751 min | 0% | 0.932553% | 0 L | 2.38379 L |
| 4.7 | 1,201.41 L | 60.0706 min | 0% | 0.909528% | 0 L | 2.32493 L |
| 4.725 | 1,207.8 L | 60.3901 min | 0% | 0.887071% | 0 L | 2.26753 L |
| 4.75 | 1,214.19 L | 60.7096 min | 0% | 0.86517% | 0 L | 2.21154 L |
| 4.775 | 1,220.58 L | 61.0291 min | 0% | 0.843808% | 0 L | 2.15694 L |
| 4.8 | 1,226.97 L | 61.3487 min | 0% | 0.822975% | 0 L | 2.10368 L |
| 4.825 | 1,233.36 L | 61.6682 min | 0% | 0.802655% | 0 L | 2.05174 L |
| 4.85 | 1,239.75 L | 61.9877 min | 0% | 0.782838% | 0 L | 2.00109 L |
| 4.875 | 1,246.14 L | 62.3072 min | 0% | 0.763509% | 0 L | 1.95168 L |
| 4.9 | 1,252.54 L | 62.6268 min | 0% | 0.744658% | 0 L | 1.90349 L |
| 4.925 | 1,258.93 L | 62.9463 min | 0% | 0.726273% | 0 L | 1.85649 L |
| 4.95 | 1,265.32 L | 63.2658 min | 0% | 0.708341% | 0 L | 1.81066 L |
| 4.975 | 1,271.71 L | 63.5853 min | 0% | 0.690852% | 0 L | 1.76595 L |
| 5 | 1,278.1 L | 63.9049 min | 0% | 0.673795% | 0 L | 1.72235 L |
Keep the complete plan
CSV includes inputs, assumptions, every inventory row, targets and all replacement checkpoints. Canonical volumes are in litres.
What these models assume
- Use measured internal bore, not nominal pipe size or outside diameter. Length and equipment volume apply to each item before count.
- Inventory assumes rigid circular pipes with constant bore and the entered equipment liquid volumes. No fittings volume is inferred.
- Filling uses the initial filled percentage. Replacement is a separate scenario starting with the entire system full of original liquid.
- Replacement assumes constant inventory, equal inflow and outflow, constant flow, and incoming liquid containing none of the original tracer.
- Ideal displacement and complete mixing are illustrative models, not bounds on real network behavior. Dead legs, short circuits and dispersion are not modeled.
- Remaining fraction is the system-average amount of original liquid, not outlet concentration or proof of cleanliness, disinfection or chemical safety.
- Complete mixing reaches exactly zero original liquid only asymptotically. Positive throughput at zero flow has no finite duration.
- US gallons are US liquid gallons (3.785411784 L), not Imperial gallons. Exports preserve unrounded numeric values.
Pipe volume is πd²L/4. Replacement uses max(0, 1 − n) for ideal displacement and exp(−n) for complete mixing, where n is throughput divided by full inventory.
How to use this calculator
- Choose Metric branch network or US half-filled system for an editable example. Enter each pipe’s name, item count, actual internal diameter and length per item. Add up to twenty pipe rows; use measured bore rather than nominal trade size.
- Add equipment rows for known working liquid volumes, such as a filled vessel or heat exchanger. Enter volume per item and item count. Omit volumes already included in pipe rows to avoid double counting.
- Set Constant flow and Result volume unit. Changing an input unit preserves the quantity exactly when the draft is valid; a fraction may appear. Correct a blank or malformed value before changing its unit.
- Set Initially filled (%) for the separate fill scenario, then set Target original liquid remaining (%) for replacement starting from a full system. Compare required throughput and duration for ideal displacement and complete mixing.
- Enter Inspect inventory exchanges to inspect a precise point on both curves. Review the inventory contribution bars, finite target markers and full replacement data table. Original-liquid percentages are system averages, not outlet samples.
- Use Download CSV or Show copyable CSV to retain the complete input, inventory, assumptions, targets and all curve checkpoints. Check actual flow and system behavior separately; this calculator does not establish cleaning or disinfection performance.
The Formula
The mathematical logic powering this calculation is:
For each pipe row, liquid volume V = πd²Lk/4, where d is actual internal diameter, L is length per item and k is item count. With d and L in metres, V is in cubic metres; multiply by 1000 for litres. Equipment volume is entered per item and multiplied by its count. Sum all rows to obtain full-system inventory. Nominal pipe size, outside diameter and pressure-loss equivalent length are not substitutes for internal geometry.
Unit definitions are exact: 1 inch = 25.4 mm, 1 foot = 0.3048 m, 1 US liquid gallon = 3.785411784 L, 1 m³ = 1000 L. Unit switching uses exact reduced rational values, displaying a fraction when a decimal would require rounding. Geometric calculations still use floating-point π and arithmetic. Results are shown to six significant digits, with scientific notation for small nonzero values; CSV retains unrounded model values.
For filling without outflow, initial liquid = V f/100 and required added volume = V(100−f)/100, where f is Initially filled (%). Duration = required added volume / Q for constant flow Q. Zero added volume takes zero time even at zero flow. Positive added volume at zero flow has no finite duration.
Replacement is a separate scenario: the system starts full of original liquid, incoming liquid contains none of the original tracer, and inflow equals outflow so inventory stays constant. Let n = throughput/V, the number of inventory exchanges. Ideal displacement leaves system-average original-liquid fraction max(0,1−n). Complete mixing leaves exp(−n). Original liquid remaining = fraction × V; original liquid removed = V minus original liquid remaining. The displacement fraction is an inventory average, not an outlet concentration.
For target fraction p = Target original liquid remaining (%)/100, displacement requires n = 1−p and complete mixing requires n = −ln(p) when p > 0. Throughput = nV; duration = nV/Q at positive flow. A 100% target is already met. A 0% target for complete mixing is asymptotic, with no finite volume or time. Zero flow keeps inventory and required replacement volumes available but leaves positive-throughput duration unavailable.
The curves include 201 evenly spaced points from zero through max(5, inspection exchanges, finite mixed-target exchanges), plus one exchange, the exact inspector and finite target checkpoints. These checkpoints come from the formulas, not a root estimated from a plotted line. The two ideal models are not proven bounds for real systems; dead legs, short circuits, dispersion, branch flow splits, reactions and stagnant volumes are not solved. Hydraulic feasibility and cleanliness require separate assessment.
Supported inputs are 1–20 pipe rows and 0–20 equipment rows, each with a unique printable name and whole item count 1–1000. Internal diameter is 0.1–10000 mm equivalent; length is zero or 0.000001–100000 m equivalent; equipment volume is zero or 0.000001–1000000000 L equivalent; flow is zero or 0.000001–1000000000 L/min equivalent. Total inventory must be positive. Percentages are 0–100 and inspection exchanges 0–50, each accepting at most six decimal places. Quantities accept nonnegative decimals with up to 12 decimal places or numerator/positive denominator fractions; commas, exponents and blank required fields are invalid. These are software limits, not operating recommendations.Worked Example
If you input:
- Main run: 50 mm internal diameter × 100 m × 1
- Branches: 25 mm internal diameter × 20 m × 4
- Equipment liquid volume: 20 L × 1
- Constant flow / initially filled: 20 L/min / 0%
- Target original liquid / inspection: 1% remaining / 1 exchange
Result:
The main run holds 62.5π L and the branches hold 12.5π L. With equipment, total inventory is 75π + 20 = 255.619449 L. Starting empty requires that full volume and 12.780972 min at 20 L/min. To leave 1% original liquid, ideal displacement needs 0.99 exchanges, or 253.063255 L and 12.653163 min. Complete mixing needs 4.605170 exchanges, or 1177.171066 L and 58.858553 min. At one exchange, displacement leaves 0% and complete mixing leaves 36.787944% original liquid. These are ideal inventory balances, not field guarantees.
Frequently Asked Questions
Should I enter nominal pipe size or inside diameter?
Enter the actual internal bore. Nominal trade size and outside diameter can differ substantially from the fluid passage, and schedules or wall thicknesses change it. Volume scales with diameter squared, so a 10% diameter increase produces 21% more pipe volume at the same length.
Can I mix metres, feet, litres and gallons?
Yes. Each dimensional input has its own unit selector, and result volumes can use litres, US liquid gallons or cubic metres. US gallons are not Imperial gallons. Valid unit changes preserve the entered physical quantity; repeating decimals are shown as exact fractions rather than silently rounded.
Why are filling and flushing different scenarios?
Filling adds liquid to empty space without concurrent outflow. Replacement starts with the system already full and holds volume constant through equal inlet and outlet flow. The initially filled percentage affects only filling, so a partially filled starting state is not silently treated as a completely mixed full system.
What does one inventory exchange mean?
It means delivering a liquid volume equal to the full-system inventory. Ideal displacement has removed all original liquid after one exchange in its mathematical model. Complete mixing still contains exp(−1), about 36.7879%, of its original liquid. This does not describe the outlet concentration of a real branched network.
How much throughput does complete mixing need for 1% remaining?
It needs −ln(0.01), about 4.60517 inventory exchanges. Multiply that by your system volume for required throughput and divide by constant flow for minutes. This is 1% original liquid remaining, not a 1% concentration of any particular chemical unless the tracer assumptions apply.
Why is exact zero unavailable for complete mixing?
The exponential remaining fraction is positive at every finite exchange count. It approaches zero asymptotically. The calculator therefore reports no finite volume or duration for an exact-zero mixed target rather than treating a chart endpoint or rounding threshold as success.
What happens when the entered flow is zero?
Inventory, filling volume and replacement throughput requirements remain useful. A positive-volume operation has no finite duration at zero flow. If the required volume is already zero, the duration is zero. Flow is an entered assumption; pipe dimensions alone do not determine it.
Does this establish a safe flushing or disinfection procedure?
No. The models do not account for stagnant branches, short circuits, dispersion, hydraulic limits, reactions or contamination thresholds. They are illustrative inventory balances, not guaranteed upper and lower bounds. Use applicable procedures, measured conditions and field verification for an actual system.
Similar Calculators
Pipe Weight Calculator & Contents Planner
Compare empty, partly filled and full pipe weights from measured outside diameter and wall thickness, listed dry mass and separate fittings.
Pipe Pressure Drop Calculator
Compare pipe pressure loss across inside diameters. Calculate Darcy friction, fitting losses, velocity and Reynolds number with explicit transition limits.
Drainage Pipe Slope & Gravity Flow Calculator
Compare drainage pipe diameters, slope, flow depth and required fall. Explore Manning capacity curves, near-full depth branches, pipe sections and complete CSV data.
Tank Volume & Dip Chart Calculator
Find tank volume from liquid depth or solve depth from volume. Compare fill levels and export dip charts for horizontal cylinders, upright cylinders and boxes.
