arbitrary average calc