API & MCP

Everything a person can do on Half-Life, Activity & Decay Chain Calculator, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Half-Life, Activity & Decay Chain Calculator

Work out radioactive decay the way textbooks and labs do: how much of a nuclide is left after a time and what its activity is (Bq or Ci, from a percentage, an activity, a mass or a number of atoms), how long it takes to fall to a given level, which half-life fits your measured count rates, and how the members of a decay chain such as Mo-99 → Tc-99m or radon and its progeny grow in and decay (Bateman equations with branching). Nineteen preset nuclides carry evaluated half-lives from ENSDF/NUBASE2020. Part of the Proofline math notebook.

Inputs of Half-Life, Activity & Decay Chain Calculator
FieldTypeDefaultDescription
modeselect (decay, time, fit, chain)"decay"Calculation
nuclideselect (custom, h3, c14, f18, p32, k40, co60, sr90, mo99, tc99m, i131, cs137, po210, rn222, ra226, th232, u235, u238, pu239, am241)"custom"Nuclide
halfLifetext—Half-life (own nuclide). A number with a time unit: s, min, h, d or y (365.2422 days).
initialtext—Starting amount. A percentage, an activity (Bq, kBq, MBq, GBq, Ci, mCi, µCi), a mass (g, mg; preset nuclides only) or a number of atoms. Empty: 100 % (chains: 1 MBq).
elapsedtext—Elapsed time
targettext—Remaining level (time mode). A percentage, or an activity or mass in the same kind of unit as the start.
measurementstextarea—Measurements (fit mode). One measurement per line: the time with its unit and the measured count rate or activity.
chainPresetselect (custom, mo99-tc99m, sr90-y90, rn222, ra226)"custom"Decay chain
chaintextarea—Chain members (own chain). One member per line: name, half-life (or “stable” for the last) and optionally the share of the previous member’s decays that feeds it.
durationtext—Follow the chain for. Empty: the preset chain’s own period.

Example request

Iodine-131: 100 MBq after 30 days

curl -X POST https://prooflinehalflife.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"decay","nuclide":"i131","initial":"100 MBq","elapsed":"30 d"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "proofline-half-life": { "type": "http", "url": "https://prooflinehalflife.usefulweb.app/mcp" }
  }
}