MyVIPWebTools logo

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. 1

    Enter your directed, capacitated graph as a comma-separated edge list, e.g. A->B:10, B->C:5.

  2. 2

    Enter the source and sink node names.

  3. 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

Network Flow Calculator — Max Flow via Edmonds-Karp Online | MyVIPWebTools