It is derived using an equation involving Planck 's constant , the speed of light in a vacuum , and the gravitational constant . where c is the speed of light in a vacuum , G is the gravitational constant , and Ä is the reduced Planck constant .