In this paper we study the images of multilinear graded polynomials on the graded algebra of upper triangular matrices U Tn. For positive integers q ≤ n, we classify these images on U Tn endowed with a particular elementary Zq-grading. As a consequence, we obtain the images of multilinear graded polynomials on U Tn with the natural Zn-grading. We apply this classification in order to give a new condition for a multilinear polynomial in terms of graded identities so that to obtain the traceless matrices in its image on the full matrix algebra. We also describe the images of multilinear polynomials on the graded algebras U T 2 and U T 3 , for arbitrary gradings. We finish the paper by proving a similar result for the graded Jordan algebra U J 2 , and also for U J 3 endowed with the natural elementary Z 3 -grading.