Can you use an inserted variable in a default constraint
No, default constraints cannot depend on other columns.  Further, neither default constraints nor computed columns can reference other tables (unless you define a scalar udf - not recommended!).  As mentioned, you can achieve this constraint using triggers.

I'd recommend you create and use a view over these two tables.  Select from the tables joined together and compute the data you want.