AP classes are designed to be much more challenging than grade-level classes, and a "B" in an AP class is typically equivalent to an "A" in a grade-level class.