Suggestion for Calculated forms and shop submission

If we could build a form that calculates sorta like UNI CPO WordPress Plugin. It has become a big thing in the market at the moment. Especially calculating width of an item x the height calculated out to a total then submitted to the cart.