Using the formula of hydrotalcite-like compounds Mg 1− x Al x (OH) 2 (NO 3 ) x ·nH 2 O, we followed the conformational changes for different models varying the ratio of Al 3+ . This is the first attempt to study these systems and the effects of counterion ratio on the interlayer rearrangement in water using computational methods. Faster than experimental methods, it allows selecting LDHs with superior properties from their morphology variations. We compared these deformations to crystallographic studies of LDH containing NO 3 − . There is an agreement with the crystallographic results showing a decrease of a and b and invariance of c cell parameters with the ratio of intercalated nitrate anions.