Boron-containing materials exhibit a unique combination of ceramic and metallic properties that are sensitively dependent on their given chemical bonding and elemental compositions. However, determining the composition, let alone bonding, with sufficient accuracy is cumbersome with respect to boron, being a light element that bonds in various coordination.Here, we report on the comprehensive compositional analysis of transition-metal diboride (TMBx) thin films (TM = Ti, Zr, and Hf) by energy-dispersive X-ray spectroscopy (EDX), X-ray photoelectron spectroscopy (XPS), time-of-flight elastic recoil detection analysis (ToF-ERDA), Rutherford backscattering spectrometry (RBS), and nuclear reaction analysis (NRA). The films are grown on Si and C substrates by dc magnetron sputtering (DCMS) from stoichiometric TMB2 targets and have hexagonal AlB2-type columnar structures. EDX considerably overestimates B/TM ratios, x, compared to the other techniques, particularly for ZrBx. The B concentrations obtained by XPS strongly depend on the energy of Ar + ions used for removing surface oxides and