ipod calculations