Question: what is the formula to calculate height in physics?
Answer: The potential energy of an object of mass m at height h in a gravitational field g is mgh. Thus 1/2 mv^2 = mgh and we solve for h. m cancels from both sides then divide through by g and you get v^2/2g = h. Let's check the units.