How can I calculate an area on a CT image. I can calculate volumes (mm^3) but not areas (mm^2)

A single layer of the same dicom has different surface areas with different layers thickness (1mm,3mm,5mm), resulting in a large difference in surface area between the two.