Work Bench Clearance

I am in the early stages of purchasing my x carve. Before I order I want to build the workspace for it. I am looking at building a fold up torsion table against the wall. I will have the hinge come out from the wall and installed on a storage box so that I have the clearance for the x carve when mounted on the table will not hit the wall. I know it sounds confusing without a drawing to reference but I am inquiring as to what will be the max height of the CNC be on the “arm” so that I can ensure the table for the hinge is large enough. Here is a very simple picture of what I am inquiring about. Any help would be appreciated. Thanks.