calculate icon