Limitations
Gravitational Binding Energy only works as quantification for the destruction of things as long as they are not smaller than their own
Schwarzschild radius. In reality objects of such a nature would always be black holes, but in fiction one frequently finds giant celestial objects which have not collapsed into such despite being inside their own Schwarzschild radius.
The trouble with such objects is that, according to proper physics, dispersing them should be impossible. I.e. their gravitational binding energy would be considered either infinite or just simply undefined. Hence quantifying the energy to disperse them becomes more difficult.
In case of actual black holes one would do it as described on the
black hole feats in fiction page. In other cases there are several options to go through.
First, it is a good idea if there are other ends for the quantification of mass or size that are also valid and return physics-wise more reasonable results. The mass of rocky planets can, for example, be calculated by assuming they have a similar density to other rocky planets, like Earth or Mars. However, if the planet has a regular surface gravity another option is to quantify the planet's total mass via that. The
planetary parameter calculator can, for example, be used for that purpose or the formula mass = (9.81 m/s^2 /
gravitational constant) * (planet radius)^2. In some cases using density might give a very large result, while using surface gravity gives a more feasable one.
If all reasonable results still end of with the celestial body being inside its own Schwarzschild Radius, then two options remain. Either one quantifies the object like
a black hole creation feat or one uses regular
destruction values on the material the celestial object is made from.