This page contains a JavaScript calculator of Hawking radiation and other parameters of a Schwarzschild black hole.

The original idea belongs to Jim Wisniewski, whose page from 2006 (link) appears to be no longer available available again, but since it is not archived by the Wayback Machine, I think my functional clone is still useful.

Wisniewski's original code included a fictitious unit of mass, the "standard industrial neuble", equivalent to a billion metric tons, from Will McCarthy's novel The Collapsium. I kept the unit, but decided to use instead the much more useful value of one solar mass as the initial mass.

As in Wisniewski's version, specifying any quantity causes the others to be recalculated accordingly (see source). The drop-down menus select the units of measure to be used for their corresponding input field.

An added feature is the calculation of the "peak photon" wavelength, corresponding frequency, and photon energy, representing the peak of the blackbody radiation curve per unit logarithm (of wavelength or frequency) that corresponds to the black hole temperature.

Mass $M$
Radius $R = M \dfrac{2G}{c^2}$
Surface area $A = M^2 \dfrac{16 \pi G^2}{c^4}$
Surface gravity $\kappa = \dfrac{1}{M} \dfrac{c^4}{4G}$
Surface tides $d\kappa_R = \dfrac{1}{M^2}\dfrac{c^6}{4G^2}$
Entropy(dimensionless)$S = M^2 \dfrac{4\pi G }{\hbar c}$
Temperature $T = \dfrac{1}{M}\dfrac{\hbar c^3}{8\pi k_BG}$
Peak photons $\lambda_{\rm logpeak}=\dfrac{hc}{k_BT[{\rm W}(-4e^{-4})+4]}$
Effective density $\rho = \dfrac{3c^6}{32\pi G^3M^2}$
Luminosity $L = \dfrac{1}{M^2}\dfrac{\hbar c^6}{15360\pi G^2}$
Time to singularity $t_S = \dfrac{\pi GM}{c^3}$
Lifetime $t = M^3 \dfrac{5120\pi G^2}{\hbar c^4}$


Wisniewski started his calculations with the standard formula for the Schwarzschild radius of a mass $M$:

$$R = \frac{2G}{c^2}M$$

As per [Hawking 1974], the thermodynamic temperature of such a black hole is

$$T = \frac{\kappa}{2\pi} = \frac{\hbar c^3}{8\pi k_BG}\frac{1}{M}.$$

Its surface area is

$$A = 4\pi R^2 = \frac{16\pi G^2}{c^4} M^2,$$

making the Hawking radiation luminosity at least

$$L = A\sigma T^4 = \frac{\hbar c^6}{15360\pi G^2 }\frac{1}{M^2}.$$

The dimensionless Bekenstein-Hawking entropy of the black hole is defined by

$$S = \frac{c^3A}{4G\hbar}=M^2\frac{4\pi G}{\hbar c}.$$

Multiply this value by the Boltzmann constant $k_B$ to get the entropy in conventional units.

At a distance $r$ from a black hole with mass $M$, the incident radiation flux is, therefore,

$$\Phi = \frac{L}{4\pi r^2} = \frac{\hbar c^6}{61440\pi^2 G^2r^2}\frac{1}{M^2} .$$

The amount of radiation actually intercepted by an object necessarily depends upon its exposed area.

The free-fall time $t_S$ from horizon to singularity is calculated as

$$t_s=\frac{1}{c}\int\frac{1}{\sqrt{\dfrac{2GM}{c^2r}-1}}~dr=\frac{\pi GM}{c^3}\simeq \frac{M}{M_\odot}\times 1.54\times 10^{-5}~{\rm s}.$$

The expression for $L$ makes it possible to calculate the lifetime of a black hole of given initial mass $M_0$, assuming no mass input. Luminosity means energy output, thus

$$-\frac{dE}{dt} = \frac{\hbar c^6}{15360\pi G^2}\frac{1}{M^2}.$$

Since $dE = dM c^2$,

$$-\frac{dM}{dt} = \frac{\hbar c^4}{15360 \pi G^2}\frac{1}{M^2}.$$

Separating variables and integrating, we obtain

$$t = \frac{5120\pi G^2}{\hbar c^4} M^3.$$

Plugging in the various constants, this works out to

$$t = \left(\frac{M}{M_\odot}\right)^3 \times 2.097 \times 10^{67}{\rm yr},$$

where $M_\odot=1.989\times 10^{30}~{\rm kg}$.

The lifetime of a $1~M_\odot$ black hole, therefore, is calculated as more than 57 orders of magnitude longer than the present age of the universe. But that does not take into account the fact that such a black hole is colder than the cosmic microwave background radiation bathing it. Therefore, whatever little energy it radiates, it actually receives more in the form of heat from the cosmos. So rather than shrinking, it would continue to grow. Indeed, any black hole with a mass greater than about 0.75% of the Earth's mass is colder than the cosmic background, and thus its mass increases for now. As the universe expands and cools, however, eventually the black hole may begin to lose mass-energy through Hawking radiation.