In case the thickness of the interior walls varies from that of the exterior (perimeter) wall, and the automatic dimension calculation does not match the area, here’s how to resolve the issue:
Switch the “Dimensions and Area” (in the Properties menu) off, then use the “Dimension Wall Spacing” tool to measure the correct distance, and use the free text tool to type the surface area in the square.
.