Graph cutwidth calculator with an optimal vertex ordering

Your numbers

Vertices are labeled0 through n−1, including isolates.
One zero-based undirected edge per line; no loops or duplicate unordered pairs.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

QuickCalculators · Full calculator and methodology ↗