Magnitude of Sobel filter result, vector or scalar?
Pretty much by definition, the magnitude of anything is a scalar value.  Though, since you are working on an image, the result is a 2D array of scalar values.

Given Kx and Ky, it's also possible to work out the directions of the edges, as well as the magnitudes, but that's a whole different bit of maths.