In this research, we undertake an extensive investigation focusing on masonry walls with aspect ratios of one and two, both confined and unconfined, while also accounting for a range of opening percentages. Employing a combination of finite element analysis and a simplified micro-modeling approach, we meticulously scrutinized and validated several masonry wall with an objective to investigate effects of aspect ratios and varying percentages of openings on key seismic characteristics such as lateral capacity, stiffness, and failure modes. Results reveal that with openings, wall lateral stiffness reduced by up to 54%. For a 4% opening, aspect ratio 1.0 walls saw reductions of 53.9% (unconfined) and 26.0% (confined). Aspect ratio 2.0 walls experienced 50.8% (unconfined) and 52.3% (confined) reductions. Notably, confined aspect ratio 2.0 walls showed significant stiffness reduction compared to aspect ratio 1.0 walls. Results highlight aspect ratio one walls’ superior performance over aspect ratio two walls in both confined and unconfined conditions. A four-parameter logistic regression quantifies opening percentages’ impact on lateral stiffness. This equation aids design professionals, enabling cost-effective and sustainable decision-making before construction.