Single file efficiency factor algorithm