Shortest path calculator for a weighted graph edge list

Your numbers

Vertex labels are 1 through the declared count. Use at most 200 rows; whole weights are within ±10⁶. Parallel rows retain identity. Blank means no edges.

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 ↗