Quality is the degree to which a set of inherent characteristics fulfil requirements (as per PMBoK v6)
Grade is a category assigned to products or services having the same functional use but different technical characteristics.
Important: while a quality level that fails to meet quality requirements is always a problem, low grade may not be.