In eye aberrometry it is often necessary to transform the aberration coefficients in order to express them in a scaled, rotated, and/or displaced pupil. This is usually done by applying to the original coefficients vector a set of matrices accounting for each elementary transformation. We describe an equivalent algebraic approach that allows us to perform this conversion in a single step and in a straightforward way. This approach can be applied to any particular definition, normalization, and ordering of the Zernike polynomials, and can handle a wide range of pupil transformations, including, but not restricted to, anisotropic scalings. It may also be used to transform the aberration coefficients between different polynomial basis sets.