Macroscopic ensembles of nanocarbons, such as fibres of carbon nanotubes (CNT), are characterised by a complex hierarchical structure combining coherent crystalline regions with a large porosity arising from imperfect packing of the large rigid building blocks. Such structure is at the centre of a wide range of charge storage and transfer processes when CNT fibres are used as electrodes and/or current collectors. This work introduces a method based on wide and small-angle X-ray scattering (WAXS/SAXS) to obtain structural descriptors of CNT fibres and which enables in situ characterisation during electrochemical processes. It enables accurate determination of parameters such as specific surface area, average pore size and average bundle size from SAXS data after correction for scattering from density fluctuations arising from imperfect packing of graphitic planes. In situ and ex situ WAXS/SAXS measurements during electrochemical swelling of CNT fibre electrodes in ionic liquid provide continuous monitoring of the increase in effective surface area caused by electrostatic separation of CNT bundles in remarkable agreement with capacitance changes measured independently. Relative contributions from quantum and Helmholtz capacitance to total capacitance remaining fairly constant. The WAXS/SAXS analysis is demonstrated for fibres of either multi- and single-walled CNTs, and is expected to be generally applicable to operando studies on nanocarbon-based electrodes used in batteries, actuators and other applications