The Calculate Geometry tool allows you to access the geometry of the features in a layer. The tool can calculate coordinate values, lengths, and areas, depending on the geometry of the input layer. You can only calculate the area, length, or perimeter of features if the coordinate system being used is projected. Keep in mind that different projections have different spatial properties and distortions. If the coordinate system of the data source and data frame are not the same, you may get a different result if you calculate geometry using the data frame's coordinate system than when you calculate using the data source's coordinate system. It is recommended that an equal-area projection be used when calculating areas.
If you want to calculate Xmin, Xmax, Ymin, or Ymax, you can do so using Python with the field calculator; see Calculate Field examples.
You can use the Calculate Geometry dialog box to update the area, length, or perimeter of shapefile features, since these properties are not automatically updated when you edit features in shapefiles.
You can only calculate z-coordinate values or 3D measurements if the feature is z aware. Z-coordinate values and 3D measurements can be calculated regardless of the chosen coordinate system. The units listed for z and 3D calculations are planar (miles, meters, and so on) as long as a vertical coordinate system has been defined for the layer. If the data does not have a vertical coordinate system defined, the units are listed as unknown. For more information on z-values and feature geometry types, see Feature class basics.
- Start an edit session.
You can make calculations without being in an editing session; however, in that case, there is no way to undo the results.
- Right-click the layer and click Open Attribute Table.
You can only perform geometric calculations on attribute tables.
- Right-click the field heading for which you want to make a calculation and click Calculate Geometry.
Optionally, you can press CTRL+SHIFT+G to open the Calculate Geometry dialog box.
- Click the geometric property you want to calculate.
Different properties are available depending on the type of layer you're using.
- Click to use either the coordinate system of the data source or the coordinate system of the data frame.
- Click the units of the output calculations.
- Optionally, if you have selected records in the table, choose whether to apply the calculations to all records or just the selected ones.
- Click OK.