3D Experience Attributes Calculation

Hi,

I have a case where I need to calculate a physical product attribute (for example, "area") using a formula based on other attributes (for example, "length × width"). Where and how can we set up a formula for this type of calculation so that the attributes can be calculated directly within the web platform? We are working on a Cloud.

I am attaching an example image for reference.

Thank you,
Leon