Customize the software

Yes I can creat custom field to record transaction. Is there any way i can add funchions in custom fields.

eg, if i creat custom field “lenght” , “widht”, “Depth”, “Quantiy” and i can multiply these to get cubic meter (CBM) ?