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 that corresponds to the black hole temperature.

QuantityValueUnitsExpression
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 \ln 10}$
Temperature $T = \dfrac{1}{M}\dfrac{\hbar c^3}{8k\pi G}$
Peak photons $\lambda_{\rm peak}=\dfrac{2.898\times 10^{-3}~{\rm m}\cdot{\rm K}}{T}$
Luminosity $L = \dfrac{1}{M^2}\dfrac{\hbar c^6}{15360\pi G^2}$
Lifetime $t = M^3 \dfrac{5120\pi G^2}{\hbar c^4}$

Discussion

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}{8k\pi G}\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}.$$

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^2}{61440\pi^2 G^2}\frac{1}{M^2} r^2.$$

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

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.