24.
This is because the equation you have presented is that of a circle, formulated like so:
x^2 + y^2 = r^2 or radius squared
With that information, you know the find the square of the presented radius which is 12 and the actual radius.
The radius is half of the diameter, which makes the diameter 12 x 2 or 24.
Hope this helps!