There is a widely accepted consensus that component manufacturing precision is directly correlated with improved functional performance. However, this increase in precision comes at the expense of higher manufacturing costs, resulting in a trade-off between quality and affordability. In light of this opposing behavior, low-cost products typically exhibit lower quality, whereas high-quality products tend to be more expensive. This study introduces a novel approach for optimizing the dimensional tolerances of mechanical assembly components, taking into account both their manufacturing requirements and the associated costs of non-quality. Furthermore, the method considers the functional constraints imposed by interrelated tolerance chains within the product. Instead of relying on an exact mathematical solution, the proposed solution employs a heuristic approach through a simple and flexible algorithm. This enables practical implementation, as different cost-tolerance functions can be selected based on specific requirements. To provide a comprehensive evaluation of the proposed method, a concise review of the relevant literature in the field was conducted, allowing a comparison with other state-of-the-art approaches.