Please don't ask
In BFDI there's a star sized cake that's destroyed, and I wanted to calc its GBE
GBE Formula: (3*6.67408*10^-11*M^2)/(5*R) = U
M = the Planet's Mass in Kilograms
R = the Planet's Radius in Meters
U = The Energy in Joules
For the mass of the Cake, I used the volume of the Sun (As the cake was said to be the size of a star), and the density of cake (Oil cake specifically) which I found to be 785 Kilograms/M^3
And for the Radius, I also used the radius of the sun
Cake Mass = 1.4*10^27 * 785 = 1.099*10^30 Kilograms
Cake Radius = 696,000,000 Meters
GBE = (3*6.67408*10^-11*1.099*10^30)/(5*696000000) = 63,231,154,482.8 Joules, or... 15.112608624 Tons of TNT... 8-B... Huh
Update[]
Forgot to square the mass in the original calc, should actually look like this:
(3*6.67408*10^-11*(1.099*10^30)^2)/(5*696000000) = 6.9491039*10^40 Joules, 16.6087568778 Quettatons of TNT, Low 4-C, Small Star level
Much better