This image shows the mean absolute percentage error formula.