Is there a way to calculate magnitude based on a cylinder's radius?

The title says everything, I just want to know if it is possible to calculate the outer boundaries of a cylinder to get the magnitude from the center, without manually having to do it as if I need to manually do it, I’ll need to do it for each range in my game (which is a lot)