Calculate radius (phase 1)