Drake Equation Explorer (Monte Carlo)
How many civilisations? The Drake equation with sourced ranges, Monte Carlo and sensitivity.
How it works
Explore the Drake equation N = R* · fp · ne · fl · fi · fc · L with ranges instead of single guesses. The star formation rate, the fraction of stars with planets and the number of habitable-zone rocky planets default to published measurements; life, intelligence, detectability and lifetime are your assumptions. A seeded Monte Carlo gives the median N, the 90 % range, the share of draws with N < 1 and which factor drives the uncertainty. Part of the Proofline math notebook.
- N = R* · fp · ne · fl · fi · fc · L (Drake, 1961). The lowest and highest possible N multiply the range ends; the central estimate multiplies the geometric middles (log-uniform) or the midpoints (uniform).
- Monte Carlo: each factor is drawn independently from its range with a seeded mulberry32 generator; the median, the 5 % and 95 % quantiles and the share of draws with N < 1 come from the sorted draws.
- Sensitivity: log₁₀ N is the sum of the factors’ logarithms, so its variance is the sum of their variances; each factor’s share is exact (log-uniform: (log₁₀ high − log₁₀ low)²/12).
- Default ranges: R* 0.68–1.65 Sun-like stars per year (Milky Way star formation of 0.68–1.45 and 1.65 ± 0.19 solar masses per year, read as one Sun-like star per solar mass), fp 0.5–1 (microlensing finds about one or more planets per star), ne 0.37–0.88 (Kepler DR25 η⊕ for Sun-like stars); fl, fi, fc and L are wide assumptions because nothing has measured them.
The Drake equation organises ignorance; it does not measure anything. With unmeasured factors spanning many orders of magnitude, every result mostly mirrors the assumptions.
Sources
- SETI Institute: The Drake Equation (S. Shostak, updated July 2021) (SETI Institute)
- T. P. Robitaille, B. A. Whitney: The present-day star formation rate of the Milky Way determined from Spitzer-detected young stellar objects, ApJ 710 (2010) L11 — 0.68–1.45 M☉ per year (American Astronomical Society)
- T. C. Licquia, J. A. Newman: Improved estimates of the Milky Way’s stellar mass and star formation rate from hierarchical Bayesian meta-analysis, ApJ 806 (2015) 96 — 1.65 ± 0.19 M☉ per year (American Astronomical Society)
- A. Cassan et al.: One or more bound planets per Milky Way star from microlensing observations, Nature 481 (2012) 167–169 (Nature)
- S. Bryson et al.: The occurrence of rocky habitable-zone planets around solar-like stars from Kepler data, AJ 161 (2021) 36 — η⊕ 0.37–0.60 (conservative) and 0.58–0.88 (optimistic habitable zone) (American Astronomical Society)
Part of Proofline
-
Proofline Math notebook
Solve, graph, test and visualise in one notebook — with data, findings and a report.
Related tools
- Probability & Statistics Studio – Distributions, descriptive stats, confidence intervals and t, chi-square and z tests with p-values.
- N-Body & Three-Body Orbit Simulator – Three-body periodic orbits and your own planar n-body systems, with an energy-drift report.
- Mandelbrot & Julia Deep Zoom Renderer – Render the Mandelbrot or a Julia set anywhere, down to zoom 10²⁵⁰ with perturbation theory.
Explore the Drake equation with sourced ranges and a Monte Carlo
Estimate how many detectable civilisations the Milky Way might hold, with measured ranges for the astronomical factors, your own assumptions for the rest and the factor that drives the uncertainty.
What it is for
Frank Drake wrote his equation in 1961 as an agenda for a meeting, not as a measurement: N = R* · fp · ne · fl · fi · fc · L. N is the number of civilisations in our galaxy whose signals we could detect now. The first three factors have since been measured. The last four are still pure guesses.
This tool keeps that difference visible. Each factor takes a single value or a range written as "low - high". The defaults for R*, fp and ne come from published measurements: Milky Way star formation (Robitaille & Whitney 2010; Licquia & Newman 2015), microlensing planet counts (Cassan et al. 2012) and Kepler's habitable-zone rocky planets (Bryson et al. 2021). For fl, fi, fc and L the defaults are wide assumption ranges and are labelled as such.
The tool then draws 100,000 random combinations from the ranges (log-uniform by default, so each factor of ten is equally likely) and reports the median, the 5–95 % range, the share of outcomes with N < 1 and how much each factor contributes to the spread. The same engine runs in the Drake explorer of the Proofline Sim Gallery.
Worked example
With the defaults, the median N is 4.14 civilisations and the central estimate (the product of the geometric means) is 4.27. But 90 % of draws lie between 0.00101 and 17,100, and 40 % give N < 1, which means we would probably be alone. The full possible range runs from 1.26e-7 to 145 million.
The spread table shows why. L alone causes 61.7 % of the variance of log₁₀ N, fl and fi 15.4 % each and fc 6.9 %. The three measured factors together contribute less than 1 %. Better telescopes could narrow R*, fp and ne further, but that would hardly change the answer.
Now set every factor to 1 and L to 10000. All draws give exactly N = 10,000, as the formula says. If you instead assume that life is very rare, with fl 1e-10 to 1e-3 and fi 1e-6 to 0.01, the median falls to 1.27e-7 and 99.4 % of draws give N < 1.
How to read the result
The histogram shows the distribution of N on a logarithmic axis, with N = 1 and the median marked. Share of draws with N < 1 is the chance, under your ranges, that we are the only detectable civilisation. The sensitivity bars split the variance of log₁₀ N between the factors; with independent log-uniform factors the shares are exact up to sampling noise.
Mean N is dominated by a few huge outcomes and is usually far above the median, so the median says more.
Tips and common mistakes
- Write ranges with a spaced dash,
0.001 - 1. A single number fixes the factor. - Every factor must be above zero, and fractions can be at most 1. ne may exceed 1, and L is in years.
- Sampling of the ranges set to uniform gives far larger medians for wide ranges, because most of a uniform range from 0.001 to 1 lies above 0.1. That is a choice, not a finding.
- Random seed makes runs repeatable; change it to see the sampling noise.
FAQ
Is the answer evidence that aliens exist?
No. The result only restates your assumptions about fl, fi, fc and L, and the tool warns about this on every run.
Why does fp default to 0.5 - 1?
Microlensing surveys find on average at least one bound planet per star. The lower bound leaves room for stars without planets.
What is the central estimate?
The product of the geometric mean of each range, which is close to the median for log-uniform draws.
Can I save a scenario?
In Proofline, add the explorer to the notebook and use variants to compare scenarios side by side.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://prooflinedrake.usefulweb.app/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://prooflinedrake.usefulweb.app/mcp· tool nameproofline_drake
Example request
curl -s -X POST https://prooflinedrake.usefulweb.app/api/v1/calculate \
-H 'content-type: application/json' \
-d '{}'