Skip to content
Allin

Network flow (max flow) calculator

Compute the maximum flow through a capacitated network. Enter directed arcs with capacities ("S -> A : 10"), a source and a sink, and the Edmonds-Karp algorithm returns the maximum flow value plus the flow on every arc, highlighting the saturated arcs that form the minimum cut (max-flow equals min-cut).

Bitwise CalculatorAND, OR, XOR, NOT and shifts in binary, decimal or hex, at 8, 16, 32 or 64 bits, with the bit-by-bit diagram and the result in all three bases. Computed with BigInt, so the 64-bit answers are right where JavaScript's own 32-bit operators would silently truncate.Delaunay triangulation generatorPaste a set of 2D points and it triangulates them the Delaunay way — the triangulation that avoids thin sliver triangles, where no point lies inside another triangle's circumcircle. It runs the Bowyer-Watson algorithm in your browser and draws the mesh, with point, triangle and edge counts.Dijkstra shortest path calculatorEnter a weighted graph as edges ("A, B, 4" per line) and a source node: Dijkstra's algorithm returns the shortest distance and the exact path from the source to every reachable vertex. Works for directed or undirected graphs, accepts many edge formats, and flags unreachable vertices — ideal for routing, networks and pathfinding.Graph coloring calculatorColor a graph so that no two adjacent vertices share a color. Enter an edge list and the DSATUR (or greedy) heuristic assigns a color to every vertex, shows the color classes, and reports an upper bound on the chromatic number χ. K4 needs 4 colors, an even cycle 2, an odd cycle 3 — see it instantly.Group theory order calculatorAnalyse the classic finite groups — cyclic Zₙ, direct products Zₘ×Zₙ, dihedral Dₙ and symmetric Sₙ. It gives the group order, whether it is abelian, its structure, the number of generators for cyclic groups, and the order of any element you enter, including a permutation in cycle notation for Sₙ.Hamiltonian path & cycle checkerCheck whether a graph has a Hamiltonian path (visits every vertex once) or a Hamiltonian cycle (also returns to the start). Enter an edge list, pick directed or undirected, and an exhaustive backtracking search either returns a concrete path and cycle or proves that none exists. Capped at 12 vertices for speed.Karnaugh Map (K-Map) SolverMinimize a boolean function with the Quine–McCluskey algorithm: enter minterms, maxterms or a truth table and get the minimal SOP or POS, prime implicants and literal count.Logic Gate SimulatorDraws the gate diagram for a boolean expression and lets you flip each input to watch the signal travel through. Half-adder, multiplexer, parity and majority circuits are one click away.

Network flow (max flow) calculator is free to use as often as you like, directly from this page. It covers 10"), a source and a sink, and the Edmonds-Karp algorithm returns the maximum flow value plus the flow on every arc, highlighting the saturated arcs that form the minimum cut (max-flow equals min-cut) — adjust any of them and the result follows immediately.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What is Network flow (max flow) calculator?

Compute the maximum flow through a capacitated network. Enter directed arcs with capacities ("S -> A : 10"), a source and a sink, and the Edmonds-Karp algorithm returns the maximum flow value plus the flow on every arc, highlighting the saturated arcs that form the minimum cut (max-flow equals min-cut).

What does a concrete case look like?

S→A 10, A→T 5, S→B 4, B→T 8 → max = 9 — the tool shows every step in between, not just the final figure.

What does it take into account?

It factors in 10"), a source and a sink, and the Edmonds-Karp algorithm returns the maximum flow value plus the flow on every arc, highlighting the saturated arcs that form the minimum cut (max-flow equals min-cut). Change any of them and the output follows immediately.

When would I actually use this?

Anything modelled as points and connections: a shortest route, a network's capacity, a schedule with dependencies, or a circuit reduced to its logic.

What is the most common mistake?

Assuming a shortest path stays shortest when a weight changes sign. Negative edges break the greedy argument Dijkstra rests on, and the algorithm returns a confident wrong answer rather than an error.

What else is filed next to it?

Bitwise Calculator, Delaunay triangulation generator and Dijkstra shortest path calculator share its section. They are not variants of it — being filed together is not the same as being alike — but that is where to look if this turned out not to be the tool you wanted.

Where do the figures come from?

The algorithms are the textbook ones and their results are exact for the graph you enter. What varies is cost: several of these problems have no known efficient solution, so large inputs are answered by heuristic and the tool says when that is the case.

Further reading

All guides