Three figures, one picture
Planned value is the budget of the work scheduled; earned value (EV) is the budget of the work actually done; actual cost (AC) is what that work cost. EV is compared with PV for schedule and with AC for cost, so EV must never be built from either.