We present a novel method to characterize dust depletion, namely, the depletion of metals into dust grains. We used observed correlations among relative abundances combining a total of 17 metals in diverse galactic environments, including the Milky Way (MW), Large Magellanic Cloud (LMC), Small Magellanic Cloud (SMC), and damped Lyman-alpha absorbers (DLAs) towards quasars and gamma-ray bursts (GRBs). We only considered the relative abundances of metals that qualify as tracers of dust and we used all available dust tracers. We find linear correlations among all studied dust tracers in a multidimensional space, where each dimension corresponds to an individual dust tracer. The fit to the linear correlations among the dust tracers describes the tendencies of different elements when depleting into dust grains. We determined the overall strength of dust depletion, Delta , along individual lines of sight, based on the correlations among different dust tracers. We avoided any preference for
specific dust tracers or any other assumptions by including all available dust tracers in this multidimensional space. We also determined the dust depletion of Kr, C, O, Cl, P, Zn, Ge, Mg, Cu, Si, Fe, Ni, and Ti.
Finally, we offer simple guidelines for the application of the method to the study of the observed patterns of abundances and relative abundances. This has allowed for a straightforward determination of the overall strength of depletion and the dust depletion of individual elements. We also obtained an estimate for the gas-phase metallicity and identified any additional deviations due to the nucleosynthesis of specific stellar populations. Thus, we have established a unified methodology for characterizing dust depletion across cosmic time and diverse galactic environments, offering a valuable new approach to the study of dust depletion in studies of the chemical evolution of galaxies.