Stellar-mass black holes: death of massive stars
Black holes with masses between ~3 and ~100 solar masses form when massive stars — those above ~25 M☉ — exhaust their nuclear fuel. When the iron core collapses (the "iron catastrophe"), the core bounces and a shock wave propagates outward. In successful supernovae, this shock expels the stellar envelope. If the shock stalls, the entire star may collapse directly into a black hole with little or no optical brightening — a "failed supernova." The precise mass boundary between forming a neutron star versus a black hole depends on the stellar structure and rotation, and is still an active area of research.
Mergers of neutron stars can also produce black holes. The 2017 event GW170817 detected by LIGO involved two merging neutron stars; the merger remnant is thought to have collapsed into a black hole within milliseconds. Binary black hole mergers — detected by LIGO and Virgo regularly since 2015 — produce more massive black holes from already-compact objects. For the supernova context, see our supernova guide. For gravitational wave detection, see our gravitational wave dictionary entry.
Intermediate and supermassive black holes
Between stellar-mass (~3–100 M☉) and supermassive (>10⁶ M☉) black holes lies the poorly understood intermediate mass black hole (IMBH) range (10²–10⁵ M☉). IMBHs may form in dense globular clusters via runaway stellar mergers. At the high end, supermassive black holes at galactic centres grew from early seeds over billions of years through accretion and mergers. See our Milky Way guide and Sgr A* jet image article.