This work determines a new set of EUV/x-ray optical constants for aluminum (Al), one of the most important materials in science and technology. Absolute photoabsorption (transmittance) measurements in the 17-1300 eV spectral range were performed on freestanding Al films protected by carbon (C) layers, to prevent oxidation. The dispersive portion of the refractive index was obtained via the Kramers-Kronig transformation. Our data provide significant improvements in accuracy compared to previously tabulated values and reveal fine structure in the Al L1 and L2,3 regions, with photon energy step sizes as small as 0.02 eV. The implications of this work in the successful realization of EUV/x-ray instruments and in the validation of atomic and molecular physics models are also discussed.