Resistance Distance Calculator

electrical resistance on graphs

CalculatorsFreeNo Signup
4.4(193 reviews)
All Tools

Loading tool...

About Resistance Distance Calculator

A resistance distance calculator computing Ω(i,j) using the graph Laplacian pseudoinverse. Klein-Randić (1993). Each edge = 1Ω resistor. Ω(i,j) = L⁺(i,i) + L⁺(j,j) - 2L⁺(i,j). Kirchhoff index = Σ Ω(i,j). Interpolates between geodesic and graph distance. Client-side.

Resistance Distance Calculator Features

  • Ω(i,j)
  • L⁺ inverse
  • Electrical
  • Klein '93
  • Common graphs
Resistance distance Ω(i,j): treat graph as electrical network, each edge = 1Ω resistor. Ω(i,j) = effective resistance between i and j. Klein-Randić (1993). Ω ≤ d(i,j) always. Ω uses ALL paths, not just shortest. More robust than geodesic distance.

How to Use

Select graph:

  • Ω: Resistance dist.
  • vs d: Geodesic
  • Circuit: Network

Electrical Analogy

Each edge = 1Ω resistor. Apply voltage between i and j. Ω(i,j) = V/I = effective resistance. Parallel paths reduce resistance: more paths between i,j → lower Ω(i,j). Trees: Ω = d (no parallel paths).

Computation

Ω(i,j) = L⁺(i,i) + L⁺(j,j) - 2L⁺(i,j) where L⁺ = Moore-Penrose pseudoinverse of Laplacian. Can also use: Ω(i,j) = det(L[{i,j}])/det(L[{j}]). Elegant matrix formulas.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2Build Laplacian.
  3. 3Compute L⁺.
  4. 4Calculate Ω(i,j).
  5. 5Compare with d(i,j).

Resistance Distance Calculator — Frequently Asked Questions

Why is Ω ≤ d always?+

Parallel paths only reduce resistance. Geodesic d uses only one path. Ω uses all paths simultaneously. More connectivity → lower Ω. Trees: Ω = d (one path = only path).

Connection to Kirchhoff index?+

Kirchhoff index Kf(G) = Σ Ω(i,j) over all pairs. Total resistance distance. Kf = n·Σ 1/μᵢ where μᵢ are non-zero Laplacian eigenvalues.

Practical applications?+

Network robustness: low Ω = robust connections. Chemistry: molecular accessibility. Social networks: how many independent paths connect people. Electric circuits: literal resistance computation!

Share this tool: