Model. Galaxies are test particles ("tracers") in a Plummer potential Phi(r) = -G M / sqrt(r^2 + a^2) that stands in for the whole cluster, dark matter included. Positions and velocities are drawn from the exact Plummer equilibrium distribution (Aarseth sampling) and integrated with leapfrog in Mpc, Gyr and solar masses (G = 4.4985e-15 Mpc^3 / (Msun Gyr^2)).
3 sigma_los^2 = <v^2> = 3 pi G M / (32 a).a, so M = 32 a sigma_los^2 / (pi G). A single 300-galaxy cluster gives roughly +-10 % scatter, as the live readout shows.theta_E = 4 pi (sigma/c)^2 D_ds/D_s; D_ds/D_s = 0.5 is assumed here, giving about 14 arcsec for sigma = 1000 km/s. The Plummer cluster is not exactly an isothermal sphere, so this is an order-of-magnitude reading. The inset arcs are schematic.F = G M1 M2 d / (d^2 + a1^2 + a2^2)^(3/2); galaxies feel both potentials.Honest limits. Galaxies do not attract each other, dynamical friction and tidal stripping are not modelled (the sub-cluster potential never loses mass), and the hot gas picture is a schematic glow without hydrodynamics or ram-pressure physics. The "15 % visible baryons" is a typical illustrative fraction, not a measurement of any real cluster. Lens geometry is a fixed assumption.
Checks on the page. (1) Mean v^2 of 20,000 sampled galaxies vs the virial value. (2) The projected half-number radius vs a. (3) The mass estimator averaged over 40 clusters vs the true mass. (4) Per-galaxy energy conservation of the integrator over 2.1 Gyr.