You look it up. Or you can integrate to find the area, but that gets messy. "Steel Plate Engineering Data" by American Iron and Steel Institute gives the 1.084 D^2 formula. Head catalogs will give the weight directly if it's a standard size head. I assume the various pressure vessel handbooks would have the area factors also.