ArcGIS
Data Management toolbox/Features/Add Geometry Attributes tool
Calculate Geometry Attributes (Data Management)
Summary
Adds information to a feature's attribute fields representing the spatial or geometric characteristics and location of each feature, such as length or area and x-, y-, z-, and m-coordinates.
A similar tool that adds multiple geometry attributes to new attribute fields is the Add Geometry Attributes tool.
https://pro.arcgis.com/en/pro-app/too...