One caveat to a simple calculation.
The cg "during loading" will be moving about as the cargo is actually loaded. There may also be (small) forces exerted by the motion of the cargo in the aircraft. I can certainly conceive of a situation where I think I'm loading the aircraft such that it cannot tip over in the final loaded configuration but where in fact there's a risk of tip-over during loading