Network Flow Calculator — Find the Maximum Flow Through a Network
Our Network Flow Calculator finds the maximum amount of flow that can be pushed from a source node to a sink node through a directed graph where each edge has a limited capacity, using the Edmonds-Karp algorithm (BFS-based Ford-Fulkerson), given your network as a simple text edge list (e.g. A->B:10, B->C:5).
Quick Answer
Enter your capacitated directed graph and a source/sink pair to instantly find the maximum flow via the Edmonds-Karp algorithm.
Enter edges as NodeA->NodeB:capacity, e.g. A->B:10, B->C:5.
How to Use the Network Flow Calculator — Max Flow via Edmonds-Karp Online
- 1
Enter your directed, capacitated graph as a comma-separated edge list, e.g. A->B:10, B->C:5.
- 2
Enter the source and sink node names.
- 3
Click 'Calculate' to find the maximum flow via Edmonds-Karp.
Why Use Network Flow Calculator — Max Flow via Edmonds-Karp Online?
Maximum flow asks how much total 'stuff' (data, water, traffic) can move from a source to a sink through a network where every edge has a limited capacity. The Edmonds-Karp algorithm solves this exactly: repeatedly find any shortest augmenting path from source to sink using BFS in the residual graph (the graph of remaining capacity, including 'undo' edges for flow already sent), push the maximum possible flow along that path, and repeat until no augmenting path remains — at which point the total flow pushed equals the maximum possible flow, a fact guaranteed by the max-flow min-cut theorem.
Frequently Asked Questions
Related Tools
Dijkstra's Shortest Path Calculator — Weighted Graphs Online
Find the shortest path and total distance between two nodes in a weighted graph using Dijkstra's algorithm. Free calculator with a simple edge-list input.
Minimum Spanning Tree Calculator — Kruskal's Algorithm Online
Find the minimum spanning tree of a weighted graph using Kruskal's algorithm. Free calculator with a simple edge-list input and union-find cycle detection.
Linear Programming Solver — 2-Variable Corner-Point Method Online
Solve a 2-variable linear program by finding and evaluating every corner point of the feasible region. Free calculator, maximize or minimize with linear constraints.