Activity of a radionuclide after decay, or the time to reach a target activity
radio_decay_correction
Works out the activity of a nuclide at another time, or the time to reach a target activity.
- Runs
- On the server
- Level
- Checked against a reference: the project's exact arithmetic; a second implementation in Python by a separate agent of the same model family; radioactivedecay 0.6.1 InventoryHP and MARLAP's printed decay factors
What it is
Returns one nuclide's activity at another time, or the time to a target activity, by A = A0·2^(−Δt/T½). Use when correcting a tracer's activity, or any quantity proportional to it such as a net count rate, for decay by a half-life you supply. Not for the volume of a stock to take: use `radio_stock_volume`; not for fitting a half-life to counts: use `relate_curve_fit`; not for a growth doubling time: use `growth_rate`. Refuses beyond 1000 half-lives; every activity and time needs its unit; the year is only a (Julian, 365.25 d).
Field: Radiochemistry.
What it does
You give
solveFor(required): What to solve for: the activity after an elapsed time, or the elapsed time to a target activity.initialActivity(required): The activity at the reference time t0.halfLife(required): The nuclide's half-life, as you supply it (no half-life table is used).elapsedTime: For solveFor = activity: t − t0; negative corrects back to an earlier time. Optional.targetActivity: For solveFor = elapsed_time: the activity to reach. Optional.outputTimeUnit: For solveFor = elapsed_time: the unit of the returned time. Optional.
No request is recorded for this tool.
Limits
- Research arithmetic for laboratory radiotracers on half-lives, activities and counts you supply; not a dosing, clinical, dosimetry, radiation-protection, animal-welfare or diagnostic authority.
- Laboratory tracer arithmetic on values you supply, including every half-life.
- Research and education software: not for diagnosis or treatment decisions, and not a dosing, dosimetry, radiation-protection or animal-welfare authority.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- the time between the two activities, given or computed, is more than one thousand half-lives (exactly one thousand is accepted), decided exactly on the stated values as rationals, each value read as its shortest decimal times its unit's exact factor (|Δt| against 1000·T½, or A0/A against 2^1000 and 2^-1000): a numeric guard, not a physical limit; checked after the kit's reading of the arguments, NOT_POSITIVE, and the route's UNKNOWN_ARGUMENT and MISSING_ARGUMENT (an outputTimeUnit missing on elapsed_time is MISSING_ARGUMENT; one outside s, min, h, d and a is INVALID_OPTION).
- a result (activity, activity concentration, volume or decay factor) would overflow or fall below the smallest normal double.
- halfLife outside above 0 s.
Every input, with its units6 inputs
solveFor(required): What to solve for: the activity after an elapsed time, or the elapsed time to a target activity.initialActivity(required): The activity at the reference time t0.halfLife(required): The nuclide's half-life, as you supply it (no half-life table is used).elapsedTime: For solveFor = activity: t − t0; negative corrects back to an earlier time. Optional.targetActivity: For solveFor = elapsed_time: the activity to reach. Optional.outputTimeUnit: For solveFor = elapsed_time: the unit of the returned time. Optional.
Every refusal, with its code3 refusals
| Code | When |
|---|---|
BEYOND_1000_HALF_LIVES | the time between the two activities, given or computed, is more than one thousand half-lives (exactly one thousand is accepted), decided exactly on the stated values as rationals, each value read as its shortest decimal times its unit's exact factor (|Δt| against 1000·T½, or A0/A against 2^1000 and 2^-1000): a numeric guard, not a physical limit; checked after the kit's reading of the arguments, NOT_POSITIVE, and the route's UNKNOWN_ARGUMENT and MISSING_ARGUMENT (an outputTimeUnit missing on elapsed_time is MISSING_ARGUMENT; one outside s, min, h, d and a is INVALID_OPTION). |
RESULT_OUTSIDE_DOUBLE_RANGE | a result (activity, activity concentration, volume or decay factor) would overflow or fall below the smallest normal double. |
NOT_POSITIVE | halfLife outside above 0 s. |
The calculation
The method's equations, constants and worked example.
Equation 1
λ = ln 2 / T½ (at the locator in MARLAP's worked line only
the Green Book §2.5 defines λ by A = λN_B and the half-life by N_B(t½) = N_B(0)/2, from which it follows)
| Symbol | Meaning |
|---|---|
λ | decay constant, in the reciprocal of the half-life's time unit (s⁻¹ shown), 1/s |
T½ | half-life (argument halfLife), s |
Source 1.
Equation 2
A = A0 · exp(−λ·Δt), as MARLAP's decay factor
= A0 · 2^(−Δt/T½), the same law rewritten (our derivation)
DF = A/A0 = 2^(−Δt/T½) (solveFor = activity)
| Symbol | Meaning |
|---|---|
A | activity at t, returned as activity in the unit of initialActivity, Bq |
A0 | activity at t0 (argument initialActivity), Bq |
λ | decay constant, 1/s |
Δt | t − t0 (argument elapsedTime; negative: back-correction); Δt and T½ are taken in one time unit, so only their ratio, the number of half-lives, enters, s |
T½ | half-life (argument halfLife), s |
DF | decay factor, returned as decayFactor |
Source 1.
Equation 3
Δt = (T½ / ln 2) · ln(A0 / A) = T½ · log₂(A0 / A), the activity equation solved for Δt (our derivation)
DF = A/A0 (solveFor = elapsed_time)
| Symbol | Meaning |
|---|---|
Δt | elapsed time to the target, returned as elapsedTime in outputTimeUnit (T½ is converted to outputTimeUnit first and returned so), s |
T½ | half-life (argument halfLife), s |
A0 | activity at t0 (argument initialActivity), Bq |
A | target activity (argument targetActivity), in the same unit as A0 for the ratio, Bq |
DF | decay factor, returned as decayFactor |
Source 1.
| Constant | Value | From |
|---|---|---|
minute min | 60 s | Source 2 |
hour h | 3600 s | Source 2 |
day d | 86400 s | Source 2 |
Julian year, 365.25 d (the only year accepted: y is invalid input AMBIGUOUS_YEAR, and yr and year the kit's UNIT_SPELLING; MARLAP's own worked line uses 365.2422 d, so an unqualified year has more than one length) a | 31557600 s | Source 3 |
curie Ci | 37000000000 Bq | Source 2 |
SI prefix kilo, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram kilo (k) | 1000 | Source 2 |
SI prefix mega, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram mega (M) | 1000000 | Source 2 |
SI prefix giga, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram giga (G) | 1000000000 | Source 2 |
SI prefix tera, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram tera (T) | 1000000000000 | Source 2 |
SI prefix milli, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram milli (m) | 0.001 | Source 2 |
SI prefix micro, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram micro (µ, written u) | 0.000001 | Source 2 |
SI prefix nano, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram nano (n) | 1e-9 | Source 2 |
SI prefix pico, exact; applied in this domain to the becquerel, the curie, the litre, the mole and the gram pico (p) | 1e-12 | Source 2 |
disintegrations per minute: one per minute, so the minute's sixtieth of a becquerel dpm | 0.016666666666666666 Bq | Source 2 |
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of radio-decay@1.0.2, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- solveFor = activity
- initialActivity = 100 MBq
- elapsedTime = 220 min
- halfLife = 110 min
Steps
- lambda = 0.006301338 1/min, from halfLife; by equation 1.
- df = 0.25, from lambda, elapsedTime; by equation 2; gives decayFactor.
- a = 25 MBq, from initialActivity, df; by equation 2; gives activity.
The working, as the case writes it:
220 min / 110 min = 2 half-lives
100 × 2⁻² = 25 MBq
DF = 0.25
Answer
decayFactor = 0.25
activity = 25 MBq
Where these values came from: our own exact-arithmetic script and a hand-worked case; stored reference values, decay_activity (60-digit decimal).
At build the tool returned this answer within the tolerance the file states: Activity and decay factor relative 1e-12 (near-zero floors: activity absolute 1e-312 GBq below 1e-300 GBq, decay factor absolute 1e-312 below 1e-300); echoed inputs exact; statuses, codes, units and counts exact; near-zero floor absolute 1e-312 1 below 1e-300 1; this case's near-zero floors restated in its own output units (nominal, as in the file).
Sources
MARLAP, Multi-Agency Radiological Laboratory Analytical Protocols Manual (July 2004), NUREG-1576 / EPA 402-B-04-001C, chapter 19, Measurement Uncertainty
Used for: Decay correction of one radionuclide's activity by its half-life. At: p. 19-79, section Attachment 19B, §19B.3, The Measurement Model (the decay-correction factor D, λ the decay constant, and the worked D for ²³⁸Pu with λ = ln 2/T½).
Read in full, 14 November 2026BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update)
Used for: Decay correction of one radionuclide's activity by its half-life. At: table 8, section non-SI units accepted for use with the SI: the minute; table 8, section the hour; table 8, section the day; section Appendix 1, 12th CGPM (1964): the curie retained outside the SI; table 7, section the SI prefixes: kilo; table 7, section the SI prefixes: mega; table 7, section the SI prefixes: giga; table 7, section the SI prefixes: tera; table 7, section the SI prefixes: milli; table 7, section the SI prefixes: micro; table 7, section the SI prefixes: nano; table 7, section the SI prefixes: pico; table 8, section the minute.
Read in full, 10 November 2026NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition
Used for: Decay correction of one radionuclide's activity by its half-life. At: section Appendix B.8, footnote 18 (the Julian century); 8.1 (the symbol a for the year, after ISO 80000-3).
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case; a reference program this project wrote itself, second implementation by a fresh agent (Python 3.13), 2026-11-14, exact rationals on each value's shortest decimal times its unit's exact factor, transcendental steps at 256 bits or more, rounded once; not an outside program.
- Cases
No case set is linked to this version.
- Not checked
Any half-life value (the caller's); daughter in-growth and branching (not handled); a decay-corrected radiochemical yield (described in words only, not computed); the meaning of digits beyond the inputs' precision.
Changes to its methods0 changes
No change is logged for these method versions.