Connected and autonomous vehicles (CAVs) are capable of passing through an intersection in a lane-free order that significantly improves their throughput as compared to the human-driven vehicles (HVs) crossing a signalised intersection. However, it is challenging to quantify such an improvement because the available theoretical framework to analyse capacity (i.e., the maximum throughput) of the conventional intersections is not applicable to the lane-free intersections. This paper addresses this challenge by proposing a novel framework to consistently quantify and hence compare the capacity of lane-free and conventional intersections. The generated results by the developed framework show that the lane-free crossing improves the capacity of intersections by respectively, 607% and 743% as compared to a signalised crossing managed by the state-of-the-art max-pressure and Webster algorithms. Using the developed framework, a sensitivity analysis of the capacity of lane-free and signalised intersections in terms of variation of initial speed, maximum speed and maximum acceleration of vehicles is also provided.